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