Blame


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