]>
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) | |
67dc3830 DK |
49 | |
50 | # test the different Hashsum classes | |
51 | PROGRAM = HashSums${BASENAME} | |
52 | SLIBS = -lapt-pkg | |
53 | SOURCE = hashsums_test.cc | |
54 | include $(PROGRAM_H) | |
0b7d641c | 55 | |
a513ace2 MV |
56 | # test the strutils stuff |
57 | PROGRAM = StrUtil${BASENAME} | |
58 | SLIBS = -lapt-pkg | |
59 | SOURCE = strutil_test.cc | |
60 | include $(PROGRAM_H) |