merged from lp:~donkult/apt/sid
[ntk/apt.git] / test / libapt / makefile
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)
14
15 # Program for testing ParseDepends
16 PROGRAM = ParseDepends${BASENAME}
17 SLIBS = -lapt-pkg
18 SOURCE = parsedepends_test.cc
19 include $(PROGRAM_H)
20
21 # Program for testing GetListOfFilesInDir
22 PROGRAM = GetListOfFilesInDir${BASENAME}
23 SLIBS = -lapt-pkg
24 SOURCE = getlistoffilesindir_test.cc
25 include $(PROGRAM_H)
26
27 # Program for testing CommandLine reconstruction
28 PROGRAM = commandlineasstring${BASENAME}
29 SLIBS = -lapt-pkg
30 SOURCE = commandlineasstring_test.cc
31 include $(PROGRAM_H)
32
33 # Program for testing debians version comparing
34 PROGRAM = compareversion${BASENAME}
35 SLIBS = -lapt-pkg
36 SOURCE = compareversion_test.cc
37 include $(PROGRAM_H)