]> git.saurik.com Git - apt.git/blob - test/makefile
merged from davids branch
[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=testextract
29 SLIBS = -lapt-pkg -lapt-inst
30 LIB_MAKES = apt-pkg/makefile apt-inst/makefile
31 SOURCE = testextract.cc
32 include $(PROGRAM_H)
33
34 # Program for testing the config file parser
35 PROGRAM=conftest_clear
36 SLIBS = -lapt-pkg
37 SOURCE = conf_clear.cc
38 include $(PROGRAM_H)
39
40 # Program for testing the config file parser
41 PROGRAM=conftest
42 SLIBS = -lapt-pkg
43 SOURCE = conf.cc
44 include $(PROGRAM_H)
45
46 # Program for testing the tar/deb extractor
47 PROGRAM=testdeb
48 SLIBS = -lapt-pkg -lapt-inst
49 SOURCE = testdeb.cc
50 include $(PROGRAM_H)
51
52 # Program for testing tar extraction
53 PROGRAM=extract-control
54 SLIBS = -lapt-pkg -lapt-inst
55 SOURCE = extract-control.cc
56 include $(PROGRAM_H)
57
58 # Program for testing hashes
59 PROGRAM=hash
60 SLIBS = -lapt-pkg
61 SOURCE = hash.cc
62 include $(PROGRAM_H)
63
64 # Program for testing udevcdrom
65 PROGRAM=test_udevcdrom
66 SLIBS = -lapt-pkg
67 SOURCE = test_udevcdrom.cc
68 include $(PROGRAM_H)
69
70 # Program for checking rpm versions
71 #PROGRAM=rpmver
72 #SLIBS = -lapt-pkg -lrpm
73 #SOURCE = rpmver.cc
74 #include $(PROGRAM_H)