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