]>
Commit | Line | Data |
---|---|---|
45df0ad2 DK |
1 | # -*- make -*- |
2 | BASE=../.. | |
3 | SUBDIR=test/libapt | |
4 | BASENAME=_libapt_test | |
5 | ||
6 | # Bring in the default rules | |
7 | include ../../buildlib/defaults.mak | |
8 | ||
9 | # Program for testing getLanguageCode | |
10 | PROGRAM = getLanguages${BASENAME} | |
11 | SLIBS = -lapt-pkg | |
12 | SOURCE = getlanguages_test.cc | |
13 | include $(PROGRAM_H) | |
41c81fd8 | 14 | |
3152f4aa DK |
15 | PROGRAM = getArchitectures${BASENAME} |
16 | SLIBS = -lapt-pkg | |
17 | SOURCE = getarchitectures_test.cc | |
18 | include $(PROGRAM_H) | |
19 | ||
41c81fd8 DK |
20 | # Program for testing ParseDepends |
21 | PROGRAM = ParseDepends${BASENAME} | |
22 | SLIBS = -lapt-pkg | |
23 | SOURCE = parsedepends_test.cc | |
24 | include $(PROGRAM_H) | |
e29a6bb1 DK |
25 | |
26 | # Program for testing GetListOfFilesInDir | |
27 | PROGRAM = GetListOfFilesInDir${BASENAME} | |
28 | SLIBS = -lapt-pkg | |
29 | SOURCE = getlistoffilesindir_test.cc | |
30 | include $(PROGRAM_H) | |
2bb25574 DK |
31 | |
32 | # Program for testing CommandLine reconstruction | |
c4ba7c44 | 33 | PROGRAM = CommandlineAsString${BASENAME} |
2bb25574 DK |
34 | SLIBS = -lapt-pkg |
35 | SOURCE = commandlineasstring_test.cc | |
36 | include $(PROGRAM_H) | |
ea5624c3 DK |
37 | |
38 | # Program for testing debians version comparing | |
c4ba7c44 | 39 | PROGRAM = CompareVersion${BASENAME} |
ea5624c3 DK |
40 | SLIBS = -lapt-pkg |
41 | SOURCE = compareversion_test.cc | |
42 | include $(PROGRAM_H) | |
c4ba7c44 DK |
43 | |
44 | # test the GlobalError stack class | |
45 | PROGRAM = GlobalError${BASENAME} | |
46 | SLIBS = -lapt-pkg | |
47 | SOURCE = globalerror_test.cc | |
48 | include $(PROGRAM_H) |