]>
Commit | Line | Data |
---|---|---|
024835dc AL |
1 | # -*- make -*- |
2 | BASE=.. | |
3 | SUBDIR=test | |
4 | ||
5 | # Bring in the default rules | |
6 | include ../buildlib/defaults.mak | |
7 | ||
8bb5959b AL |
8 | # Program for testing methods |
9 | PROGRAM=mthdcat | |
10 | SLIBS = | |
11 | SOURCE = mthdcat.cc | |
12 | include $(PROGRAM_H) | |
13 | ||
67ff87bf AL |
14 | # Program for testing methods |
15 | PROGRAM=uritest | |
16 | SLIBS = -lapt-pkg | |
17 | SOURCE = uri.cc | |
18 | include $(PROGRAM_H) | |
19 | ||
024835dc AL |
20 | # Scratch program to test incomplete code fragments in |
21 | PROGRAM=scratch-test | |
421c8d10 AL |
22 | SLIBS = -lapt-inst -lapt-pkg |
23 | LIB_MAKES = apt-pkg/makefile apt-inst/makefile | |
024835dc AL |
24 | SOURCE = scratch.cc |
25 | include $(PROGRAM_H) | |
8c515d62 AL |
26 | |
27 | # Version compare tester | |
28 | PROGRAM=versiontest | |
29 | SLIBS = -lapt-pkg | |
f760b7d2 | 30 | LIB_MAKES = apt-pkg/makefile |
8c515d62 AL |
31 | SOURCE = versiontest.cc |
32 | include $(PROGRAM_H) | |
b2e465d6 AL |
33 | |
34 | # Version compare tester | |
35 | PROGRAM=testextract | |
36 | SLIBS = -lapt-pkg -lapt-inst | |
37 | LIB_MAKES = apt-pkg/makefile apt-inst/makefile | |
38 | SOURCE = testextract.cc | |
39 | include $(PROGRAM_H) | |
40 | ||
7aee90b6 MV |
41 | # Program for testing the config file parser |
42 | PROGRAM=conftest_clear | |
43 | SLIBS = -lapt-pkg | |
44 | SOURCE = conf_clear.cc | |
45 | include $(PROGRAM_H) | |
46 | ||
b2e465d6 AL |
47 | # Program for testing the config file parser |
48 | PROGRAM=conftest | |
49 | SLIBS = -lapt-pkg | |
50 | SOURCE = conf.cc | |
51 | include $(PROGRAM_H) | |
52 | ||
53 | # Program for testing the tar/deb extractor | |
54 | PROGRAM=testdeb | |
55 | SLIBS = -lapt-pkg -lapt-inst | |
56 | SOURCE = testdeb.cc | |
57 | include $(PROGRAM_H) | |
58 | ||
59 | # Program for testing tar extraction | |
60 | PROGRAM=extract-control | |
61 | SLIBS = -lapt-pkg -lapt-inst | |
62 | SOURCE = extract-control.cc | |
63 | include $(PROGRAM_H) | |
64 | ||
784202a2 AL |
65 | # Program for testing hashes |
66 | PROGRAM=hash | |
67 | SLIBS = -lapt-pkg | |
68 | SOURCE = hash.cc | |
69 | include $(PROGRAM_H) | |
70 | ||
c0a00c82 AL |
71 | # Program for checking rpm versions |
72 | PROGRAM=rpmver | |
73 | SLIBS = -lapt-pkg -lrpm | |
74 | SOURCE = rpmver.cc | |
75 | include $(PROGRAM_H) |