]> git.saurik.com Git - apt.git/blame - test/makefile
fix "apt-get source pkg" if there is a binary package and
[apt.git] / test / makefile
CommitLineData
024835dc
AL
1# -*- make -*-
2BASE=..
3SUBDIR=test
4
5# Bring in the default rules
6include ../buildlib/defaults.mak
7
8bb5959b
AL
8# Program for testing methods
9PROGRAM=mthdcat
10SLIBS =
11SOURCE = mthdcat.cc
12include $(PROGRAM_H)
13
67ff87bf
AL
14# Program for testing methods
15PROGRAM=uritest
16SLIBS = -lapt-pkg
17SOURCE = uri.cc
18include $(PROGRAM_H)
19
024835dc
AL
20# Scratch program to test incomplete code fragments in
21PROGRAM=scratch-test
421c8d10
AL
22SLIBS = -lapt-inst -lapt-pkg
23LIB_MAKES = apt-pkg/makefile apt-inst/makefile
024835dc
AL
24SOURCE = scratch.cc
25include $(PROGRAM_H)
8c515d62
AL
26
27# Version compare tester
28PROGRAM=versiontest
29SLIBS = -lapt-pkg
f760b7d2 30LIB_MAKES = apt-pkg/makefile
8c515d62
AL
31SOURCE = versiontest.cc
32include $(PROGRAM_H)
b2e465d6
AL
33
34# Version compare tester
35PROGRAM=testextract
36SLIBS = -lapt-pkg -lapt-inst
37LIB_MAKES = apt-pkg/makefile apt-inst/makefile
38SOURCE = testextract.cc
39include $(PROGRAM_H)
40
75ef8f14
MV
41# Program for testing the config file parser
42PROGRAM=conftest_clear
43SLIBS = -lapt-pkg
44SOURCE = conf_clear.cc
45include $(PROGRAM_H)
46
b2e465d6
AL
47# Program for testing the config file parser
48PROGRAM=conftest
49SLIBS = -lapt-pkg
50SOURCE = conf.cc
51include $(PROGRAM_H)
52
53# Program for testing the tar/deb extractor
54PROGRAM=testdeb
55SLIBS = -lapt-pkg -lapt-inst
56SOURCE = testdeb.cc
57include $(PROGRAM_H)
58
59# Program for testing tar extraction
60PROGRAM=extract-control
61SLIBS = -lapt-pkg -lapt-inst
62SOURCE = extract-control.cc
63include $(PROGRAM_H)
64
784202a2
AL
65# Program for testing hashes
66PROGRAM=hash
67SLIBS = -lapt-pkg
68SOURCE = hash.cc
69include $(PROGRAM_H)
70
c0a00c82
AL
71# Program for checking rpm versions
72PROGRAM=rpmver
73SLIBS = -lapt-pkg -lrpm
74SOURCE = rpmver.cc
75include $(PROGRAM_H)