summaryrefslogtreecommitdiff
path: root/test/makefile
blob: 52adb96a297c6d47435a6bb4234cde6e0709c7e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# -*- make -*-
BASE=..
SUBDIR=test

# Bring in the default rules
include ../buildlib/defaults.mak

# Program for testing methods
PROGRAM=mthdcat
SLIBS = 
SOURCE = mthdcat.cc
include $(PROGRAM_H)

# Program for testing methods
PROGRAM=uritest
SLIBS = -lapt-pkg
SOURCE = uri.cc
include $(PROGRAM_H)

# Scratch program to test incomplete code fragments in
PROGRAM=scratch-test
SLIBS = -lapt-inst -lapt-pkg
LIB_MAKES = apt-pkg/makefile apt-inst/makefile
SOURCE = scratch.cc
include $(PROGRAM_H)

# Version compare tester
PROGRAM=testextract
SLIBS = -lapt-pkg -lapt-inst
LIB_MAKES = apt-pkg/makefile apt-inst/makefile
SOURCE = testextract.cc
include $(PROGRAM_H)

# Program for testing the config file parser
PROGRAM=conftest_clear
SLIBS = -lapt-pkg
SOURCE = conf_clear.cc
include $(PROGRAM_H)

# Program for testing the config file parser
PROGRAM=conftest
SLIBS = -lapt-pkg
SOURCE = conf.cc
include $(PROGRAM_H)

# Program for testing the tar/deb extractor
PROGRAM=testdeb
SLIBS = -lapt-pkg -lapt-inst
SOURCE = testdeb.cc
include $(PROGRAM_H)

# Program for testing tar extraction
PROGRAM=extract-control
SLIBS = -lapt-pkg -lapt-inst
SOURCE = extract-control.cc
include $(PROGRAM_H)

# Program for testing hashes
PROGRAM=hash
SLIBS = -lapt-pkg 
SOURCE = hash.cc
include $(PROGRAM_H)

# Program for testing udevcdrom
PROGRAM=test_udevcdrom
SLIBS = -lapt-pkg 
SOURCE = test_udevcdrom.cc
include $(PROGRAM_H)

# Program for checking rpm versions
#PROGRAM=rpmver
#SLIBS = -lapt-pkg -lrpm
#SOURCE = rpmver.cc
#include $(PROGRAM_H)