]>
Commit | Line | Data |
---|---|---|
1 | # -*- make -*- | |
2 | BASE=.. | |
3 | SUBDIR=test | |
4 | ||
5 | # Bring in the default rules | |
6 | include ../buildlib/defaults.mak | |
7 | ||
8 | # Program for testing methods | |
9 | PROGRAM=mthdcat | |
10 | SLIBS = | |
11 | SOURCE = mthdcat.cc | |
12 | include $(PROGRAM_H) | |
13 | ||
14 | # Program for testing methods | |
15 | PROGRAM=uritest | |
16 | SLIBS = -lapt-pkg | |
17 | SOURCE = uri.cc | |
18 | include $(PROGRAM_H) | |
19 | ||
20 | # Scratch program to test incomplete code fragments in | |
21 | PROGRAM=scratch-test | |
22 | SLIBS = -lapt-inst -lapt-pkg | |
23 | LIB_MAKES = apt-pkg/makefile apt-inst/makefile | |
24 | SOURCE = scratch.cc | |
25 | include $(PROGRAM_H) | |
26 | ||
27 | # Version compare tester | |
28 | PROGRAM=versiontest | |
29 | SLIBS = -lapt-pkg | |
30 | LIB_MAKES = apt-pkg/makefile | |
31 | SOURCE = versiontest.cc | |
32 | include $(PROGRAM_H) | |
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 | ||
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 | ||
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 | ||
65 | # Program for testing hashes | |
66 | PROGRAM=hash | |
67 | SLIBS = -lapt-pkg | |
68 | SOURCE = hash.cc | |
69 | include $(PROGRAM_H) | |
70 | ||
71 | # Program for testing udevcdrom | |
72 | PROGRAM=test_udevcdrom | |
73 | SLIBS = -lapt-pkg | |
74 | SOURCE = test_udevcdrom.cc | |
75 | include $(PROGRAM_H) | |
76 | ||
77 | # Program for checking rpm versions | |
78 | PROGRAM=rpmver | |
79 | SLIBS = -lapt-pkg -lrpm | |
80 | SOURCE = rpmver.cc | |
81 | include $(PROGRAM_H) |