Blame


1 2b0eee35 2021-09-21 thomas.ad SUBDIRS = compat libexec got tog gotadmin
2 dd038bc6 2021-09-21 thomas.ad
3 d328e5f0 2021-10-08 thomas include $(top_builddir)/Makefile.common
4 d328e5f0 2021-10-08 thomas
5 0b2bb718 2021-09-21 thomas.ad EXTRA_DIST = CHANGES CHANGELOG
6 0b2bb718 2021-09-21 thomas.ad
7 dd038bc6 2021-09-21 thomas.ad LDADD = $(LIBOBJS)
8 b9f899df 2021-10-08 thomas if HOST_FREEBSD
9 b9f899df 2021-10-08 thomas LDADD += -lmd
10 b9f899df 2021-10-08 thomas LIBS += -lmd
11 b9f899df 2021-10-08 thomas endif
12 dd038bc6 2021-09-21 thomas.ad
13 b9f899df 2021-10-08 thomas TEST_TARGETS=regress-delta regress-deltify regress-fetch regress-idset \
14 b9f899df 2021-10-08 thomas regress-path regress-cmdline
15 b9f899df 2021-10-08 thomas GOT_TEST_ROOT=/tmp
16 b9f899df 2021-10-08 thomas
17 b9f899df 2021-10-08 thomas tests: $(TEST_TARGETS)
18 b9f899df 2021-10-08 thomas
19 b9f899df 2021-10-08 thomas regress-cmdline:
20 b9f899df 2021-10-08 thomas (cd $(top_builddir)/regress/cmdline || exit $$?; \
21 b9f899df 2021-10-08 thomas ./checkout.sh -r "$(GOT_TEST_ROOT)"; \
22 b9f899df 2021-10-08 thomas ./update.sh -r "$(GOT_TEST_ROOT)"; \
23 b9f899df 2021-10-08 thomas ./status.sh -r "$(GOT_TEST_ROOT)"; \
24 b9f899df 2021-10-08 thomas ./log.sh -r "$(GOT_TEST_ROOT)"; \
25 b9f899df 2021-10-08 thomas ./add.sh -r "$(GOT_TEST_ROOT)"; \
26 b9f899df 2021-10-08 thomas ./rm.sh -r "$(GOT_TEST_ROOT)"; \
27 b9f899df 2021-10-08 thomas ./diff.sh -r "$(GOT_TEST_ROOT)"; \
28 b9f899df 2021-10-08 thomas ./blame.sh -r "$(GOT_TEST_ROOT)"; \
29 b9f899df 2021-10-08 thomas ./branch.sh -r "$(GOT_TEST_ROOT)"; \
30 b9f899df 2021-10-08 thomas ./tag.sh -r "$(GOT_TEST_ROOT)"; \
31 b9f899df 2021-10-08 thomas ./ref.sh -r "$(GOT_TEST_ROOT)"; \
32 b9f899df 2021-10-08 thomas ./commit.sh -r "$(GOT_TEST_ROOT)"; \
33 b9f899df 2021-10-08 thomas ./revert.sh -r "$(GOT_TEST_ROOT)"; \
34 b9f899df 2021-10-08 thomas ./cherrypick.sh -r "$(GOT_TEST_ROOT)"; \
35 b9f899df 2021-10-08 thomas ./backout.sh -r "$(GOT_TEST_ROOT)"; \
36 b9f899df 2021-10-08 thomas ./rebase.sh -r "$(GOT_TEST_ROOT)"; \
37 b9f899df 2021-10-08 thomas ./import.sh -r "$(GOT_TEST_ROOT)"; \
38 b9f899df 2021-10-08 thomas ./histedit.sh -r "$(GOT_TEST_ROOT)"; \
39 b9f899df 2021-10-08 thomas ./integrate.sh -r "$(GOT_TEST_ROOT)"; \
40 b9f899df 2021-10-08 thomas ./stage.sh -r "$(GOT_TEST_ROOT)"; \
41 b9f899df 2021-10-08 thomas ./unstage.sh -r "$(GOT_TEST_ROOT)"; \
42 b9f899df 2021-10-08 thomas ./cat.sh -r "$(GOT_TEST_ROOT)"; \
43 b9f899df 2021-10-08 thomas ./clone.sh -r "$(GOT_TEST_ROOT)"; \
44 b9f899df 2021-10-08 thomas ./fetch.sh -r "$(GOT_TEST_ROOT)"; \
45 b9f899df 2021-10-08 thomas ./send.sh -r "$(GOT_TEST_ROOT)"; \
46 b9f899df 2021-10-08 thomas ./tree.sh -r "$(GOT_TEST_ROOT)"; \
47 b9f899df 2021-10-08 thomas ./pack.sh -r "$(GOT_TEST_ROOT)"; \
48 b9f899df 2021-10-08 thomas ./cleanup.sh -r "$(GOT_TEST_ROOT)")
49 b9f899df 2021-10-08 thomas
50 b9f899df 2021-10-08 thomas regress-delta:
51 b9f899df 2021-10-08 thomas $(CC) $(DEFS) $(AM_CFLAGS) $(AM_CPPFLAGS) \
52 b9f899df 2021-10-08 thomas -o $(top_builddir)/regress/delta/delta_test \
53 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/delta.c \
54 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/error.c \
55 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/opentemp.c \
56 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/path.c \
57 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/inflate.c \
58 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/sha1.c \
59 b9f899df 2021-10-08 thomas $(top_srcdir)/regress/delta/delta_test.c \
60 b9f899df 2021-10-08 thomas -L$(top_builddir)/compat -lopenbsd-compat $(LIBS) && \
61 b9f899df 2021-10-08 thomas $(top_builddir)/regress/delta/delta_test
62 b9f899df 2021-10-08 thomas
63 b9f899df 2021-10-08 thomas regress-deltify:
64 b9f899df 2021-10-08 thomas $(CC) $(DEFS) $(AM_CFLAGS) $(AM_CPPFLAGS) \
65 b9f899df 2021-10-08 thomas -o $(top_builddir)/regress/deltify/deltify_test \
66 b9f899df 2021-10-08 thomas $(top_srcdir)/regress/deltify/deltify_test.c \
67 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/deltify.c \
68 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/error.c \
69 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/opentemp.c \
70 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/sha1.c \
71 b9f899df 2021-10-08 thomas -L$(top_builddir)/compat -lopenbsd-compat $(LIBS) && \
72 b9f899df 2021-10-08 thomas $(top_builddir)/regress/deltify/deltify_test
73 b9f899df 2021-10-08 thomas
74 b9f899df 2021-10-08 thomas regress-fetch:
75 b9f899df 2021-10-08 thomas $(CC) $(DEFS) $(AM_CFLAGS) $(AM_CPPFLAGS) \
76 b9f899df 2021-10-08 thomas -o $(top_builddir)/regress/fetch/fetch_test \
77 b9f899df 2021-10-08 thomas $(top_srcdir)/regress/fetch/fetch_test.c \
78 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/error.c \
79 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/privsep.c \
80 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/reference.c \
81 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/sha1.c \
82 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/object.c \
83 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/object_parse.c \
84 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/path.c \
85 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/opentemp.c \
86 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/repository.c \
87 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/lockfile.c \
88 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/object_cache.c \
89 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/pack.c \
90 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/inflate.c \
91 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/deflate.c \
92 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/delta.c \
93 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/delta_cache.c \
94 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/object_idset.c \
95 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/object_create.c \
96 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/fetch.c \
97 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/gotconfig.c \
98 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/dial.c \
99 b9f899df 2021-10-08 thomas -L$(top_builddir)/compat -lopenbsd-compat $(LIBS) && \
100 b9f899df 2021-10-08 thomas $(top_builddir)/regress/fetch/fetch_test
101 b9f899df 2021-10-08 thomas
102 b9f899df 2021-10-08 thomas regress-idset:
103 b9f899df 2021-10-08 thomas $(CC) $(DEFS) $(AM_CFLAGS) $(AM_CPPFLAGS) \
104 b9f899df 2021-10-08 thomas -o $(top_builddir)/regress/idset/idset_test \
105 b9f899df 2021-10-08 thomas $(top_srcdir)/regress/idset/idset_test.c \
106 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/error.c \
107 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/sha1.c \
108 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/object_idset.c \
109 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/inflate.c \
110 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/path.c \
111 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/object_parse.c \
112 b9f899df 2021-10-08 thomas -L$(top_builddir)/compat -lopenbsd-compat $(LIBS) && \
113 b9f899df 2021-10-08 thomas $(top_builddir)/regress/idset/idset_test
114 b9f899df 2021-10-08 thomas
115 b9f899df 2021-10-08 thomas regress-path:
116 b9f899df 2021-10-08 thomas $(CC) $(DEFS) $(AM_CFLAGS) $(AM_CPPFLAGS) \
117 b9f899df 2021-10-08 thomas -o $(top_builddir)/regress/path/path_test \
118 b9f899df 2021-10-08 thomas $(top_srcdir)/regress/path/path_test.c \
119 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/error.c \
120 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/sha1.c \
121 b9f899df 2021-10-08 thomas $(top_srcdir)/lib/path.c \
122 b9f899df 2021-10-08 thomas -L$(top_builddir)/compat -lopenbsd-compat $(LIBS) && \
123 b9f899df 2021-10-08 thomas $(top_builddir)/regress/path/path_test