]> git.saurik.com Git - apt.git/blob - test/makefile
add 'dirs' target to the 'all' target to ensure that for e.g. the tests
[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 # Scratch program to test incomplete code fragments in
15 PROGRAM=scratch-test
16 SLIBS = -lapt-inst -lapt-pkg
17 LIB_MAKES = apt-pkg/makefile apt-inst/makefile
18 SOURCE = scratch.cc
19 include $(PROGRAM_H)
20
21 # Version compare tester
22 PROGRAM=testextract
23 SLIBS = -lapt-pkg -lapt-inst
24 LIB_MAKES = apt-pkg/makefile apt-inst/makefile
25 SOURCE = testextract.cc
26 include $(PROGRAM_H)
27
28 # Program for testing the tar/deb extractor
29 PROGRAM=testdeb
30 SLIBS = -lapt-pkg -lapt-inst
31 SOURCE = testdeb.cc
32 include $(PROGRAM_H)
33
34 # Program for testing tar extraction
35 PROGRAM=extract-control
36 SLIBS = -lapt-pkg -lapt-inst
37 SOURCE = extract-control.cc
38 include $(PROGRAM_H)
39
40 # Program for testing hashes
41 PROGRAM=hash
42 SLIBS = -lapt-pkg
43 SOURCE = hash.cc
44 include $(PROGRAM_H)
45
46 # Program for testing udevcdrom
47 PROGRAM=test_udevcdrom
48 SLIBS = -lapt-pkg
49 SOURCE = test_udevcdrom.cc
50 include $(PROGRAM_H)
51
52 # Program for checking rpm versions
53 #PROGRAM=rpmver
54 #SLIBS = -lapt-pkg -lrpm
55 #SOURCE = rpmver.cc
56 #include $(PROGRAM_H)