Join with aliencode
[ntk/apt.git] / test / makefile
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
43 SLIBS = -lapt-pkg
44 SOURCE = conf.cc
45 include $(PROGRAM_H)
46
47 # Program for testing the tar/deb extractor
48 PROGRAM=testdeb
49 SLIBS = -lapt-pkg -lapt-inst
50 SOURCE = testdeb.cc
51 include $(PROGRAM_H)
52
53 # Program for testing tar extraction
54 PROGRAM=extract-control
55 SLIBS = -lapt-pkg -lapt-inst
56 SOURCE = extract-control.cc
57 include $(PROGRAM_H)
58