]> git.saurik.com Git - apt.git/blame - test/makefile
* Use isatty rather than ttyname for checking if stdin ...
[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
41# Program for testing the config file parser
42PROGRAM=conftest
43SLIBS = -lapt-pkg
44SOURCE = conf.cc
45include $(PROGRAM_H)
46
47# Program for testing the tar/deb extractor
48PROGRAM=testdeb
49SLIBS = -lapt-pkg -lapt-inst
50SOURCE = testdeb.cc
51include $(PROGRAM_H)
52
53# Program for testing tar extraction
54PROGRAM=extract-control
55SLIBS = -lapt-pkg -lapt-inst
56SOURCE = extract-control.cc
57include $(PROGRAM_H)
58
784202a2
AL
59# Program for testing hashes
60PROGRAM=hash
61SLIBS = -lapt-pkg
62SOURCE = hash.cc
63include $(PROGRAM_H)
64
c0a00c82
AL
65# Program for checking rpm versions
66PROGRAM=rpmver
67SLIBS = -lapt-pkg -lrpm
68SOURCE = rpmver.cc
69include $(PROGRAM_H)