]>
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 | |
b2e465d6 AL |
28 | PROGRAM=testextract |
29 | SLIBS = -lapt-pkg -lapt-inst | |
30 | LIB_MAKES = apt-pkg/makefile apt-inst/makefile | |
31 | SOURCE = testextract.cc | |
32 | include $(PROGRAM_H) | |
33 | ||
75ef8f14 MV |
34 | # Program for testing the config file parser |
35 | PROGRAM=conftest_clear | |
36 | SLIBS = -lapt-pkg | |
37 | SOURCE = conf_clear.cc | |
38 | include $(PROGRAM_H) | |
39 | ||
b2e465d6 AL |
40 | # Program for testing the config file parser |
41 | PROGRAM=conftest | |
42 | SLIBS = -lapt-pkg | |
43 | SOURCE = conf.cc | |
44 | include $(PROGRAM_H) | |
45 | ||
46 | # Program for testing the tar/deb extractor | |
47 | PROGRAM=testdeb | |
48 | SLIBS = -lapt-pkg -lapt-inst | |
49 | SOURCE = testdeb.cc | |
50 | include $(PROGRAM_H) | |
51 | ||
52 | # Program for testing tar extraction | |
53 | PROGRAM=extract-control | |
54 | SLIBS = -lapt-pkg -lapt-inst | |
55 | SOURCE = extract-control.cc | |
56 | include $(PROGRAM_H) | |
57 | ||
784202a2 AL |
58 | # Program for testing hashes |
59 | PROGRAM=hash | |
60 | SLIBS = -lapt-pkg | |
61 | SOURCE = hash.cc | |
62 | include $(PROGRAM_H) | |
63 | ||
cbc9bed8 MV |
64 | # Program for testing udevcdrom |
65 | PROGRAM=test_udevcdrom | |
66 | SLIBS = -lapt-pkg | |
67 | SOURCE = test_udevcdrom.cc | |
68 | include $(PROGRAM_H) | |
69 | ||
c0a00c82 AL |
70 | # Program for checking rpm versions |
71 | PROGRAM=rpmver | |
72 | SLIBS = -lapt-pkg -lrpm | |
73 | SOURCE = rpmver.cc | |
74 | include $(PROGRAM_H) |