summaryrefslogtreecommitdiff
path: root/test/Makefile.in
blob: 3a06fd400385464436ca7643b4958be610232ec2 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189

PROGRAMS = \
	client@EXEEXT@ \
	sendfile@EXEEXT@ \
	server@EXEEXT@ \
	testfile@EXEEXT@ \
	testdir@EXEEXT@ \
	testnames@EXEEXT@ \
	testflock@EXEEXT@ \
	testfmt@EXEEXT@ \
	testproc@EXEEXT@ \
	testsock@EXEEXT@ \
	testthread@EXEEXT@ \
	testlock@EXEEXT@ \
	testlockperf@EXEEXT@ \
	testtime@EXEEXT@ \
	testargs@EXEEXT@ \
	testud@EXEEXT@ \
	testmmap@EXEEXT@ \
	testshm@EXEEXT@ \
	testshmproducer@EXEEXT@ \
	testshmconsumer@EXEEXT@ \
	testpipe@EXEEXT@ \
	testoc@EXEEXT@ \
	testuuid@EXEEXT@ \
	testsockopt@EXEEXT@ \
	testipsub@EXEEXT@ \
	testmd5@EXEEXT@ \
	testpoll@EXEEXT@ \
	testhash@EXEEXT@ \
	occhild@EXEEXT@ \
	teststr@EXEEXT@ \
	testuser@EXEEXT@ \
	testsockets@EXEEXT@ \
	testprocmutex@EXEEXT@ \
	testglobalmutex@EXEEXT@ \
	testvsn@EXEEXT@ \
	testsleep@EXEEXT@ \
	testrand@EXEEXT@ \
	testdup@EXEEXT@ \
	testatomic@EXEEXT@ \
	testregex@EXEEXT@ \
	testpools@EXEEXT@


TARGETS = $(PROGRAMS)

# bring in rules.mk for standard functionality
@INCLUDE_RULES@

LOCAL_LIBS=../libapr.la

CLEAN_TARGETS = testfile.tmp testdso@EXEEXT@ mod_test.so

INCDIR=../include
INCLUDES=-I$(INCDIR)


testfile@EXEEXT@: testfile.lo $(LOCAL_LIBS)
	$(LINK) testfile.lo $(LOCAL_LIBS) $(ALL_LIBS)

testdir@EXEEXT@: testdir.lo $(LOCAL_LIBS)
	$(LINK) testdir.lo $(LOCAL_LIBS) $(ALL_LIBS)

testnames@EXEEXT@: testnames.lo $(LOCAL_LIBS)
	$(LINK) testnames.lo $(LOCAL_LIBS) $(ALL_LIBS)

testflock@EXEEXT@: testflock.lo $(LOCAL_LIBS)
	$(LINK) testflock.lo $(LOCAL_LIBS) $(ALL_LIBS)

testfmt@EXEEXT@: testfmt.lo $(LOCAL_LIBS)
	$(LINK) testfmt.lo $(LOCAL_LIBS) $(ALL_LIBS)

### why the export-dynamic?
testdso@EXEEXT@: testdso.lo mod_test.so $(LOCAL_LIBS)
	$(LINK) -export-dynamic testdso.lo $(LOCAL_LIBS) $(ALL_LIBS)

testoc@EXEEXT@: testoc.lo occhild@EXEEXT@ $(LOCAL_LIBS)
	$(LINK) testoc.lo $(LOCAL_LIBS) $(ALL_LIBS)

occhild@EXEEXT@: occhild.lo $(LOCAL_LIBS)
	$(LINK) occhild.lo $(LOCAL_LIBS) $(ALL_LIBS)

mod_test.so: mod_test.lo $(LOCAL_LIBS)
	$(LINK) -shared mod_test.o $(LOCAL_LIBS) $(ALL_LIBS)

testargs@EXEEXT@: testargs.lo $(LOCAL_LIBS)
	$(LINK) testargs.lo $(LOCAL_LIBS) $(ALL_LIBS)

testud@EXEEXT@: testud.lo $(LOCAL_LIBS)
	$(LINK) testud.lo $(LOCAL_LIBS) $(ALL_LIBS)

testproc@EXEEXT@: testproc.lo $(LOCAL_LIBS)
	$(LINK) testproc.lo $(LOCAL_LIBS) $(ALL_LIBS)

testthread@EXEEXT@: testthread.lo $(LOCAL_LIBS)
	$(LINK) testthread.lo $(LOCAL_LIBS) $(ALL_LIBS)

testlock@EXEEXT@: testlock.lo $(LOCAL_LIBS)
	$(LINK) testlock.lo $(LOCAL_LIBS) $(ALL_LIBS)

testlockperf@EXEEXT@: testlockperf.lo $(LOCAL_LIBS)
	$(LINK) testlockperf.lo $(LOCAL_LIBS) $(ALL_LIBS)

testsock@EXEEXT@: testsock.lo client@EXEEXT@ server@EXEEXT@ sendfile@EXEEXT@ $(LOCAL_LIBS)
	$(LINK) testsock.lo $(LOCAL_LIBS) $(ALL_LIBS)

client@EXEEXT@: client.lo $(LOCAL_LIBS)
	$(LINK) client.lo $(LOCAL_LIBS) $(ALL_LIBS)

server@EXEEXT@: server.lo $(LOCAL_LIBS)
	$(LINK) server.lo $(LOCAL_LIBS) $(ALL_LIBS)

sendfile@EXEEXT@: sendfile.lo $(LOCAL_LIBS)
	$(LINK) sendfile.lo $(LOCAL_LIBS) $(ALL_LIBS)

testtime@EXEEXT@: testtime.lo $(LOCAL_LIBS)
	$(LINK) testtime.lo $(LOCAL_LIBS) $(ALL_LIBS)

testmmap@EXEEXT@: testmmap.lo $(LOCAL_LIBS)
	$(LINK) testmmap.lo $(LOCAL_LIBS) $(ALL_LIBS)

testshm@EXEEXT@: testshm.lo $(LOCAL_LIBS) testshmproducer@EXEEXT@ testshmconsumer@EXEEXT@
	$(LINK) testshm.lo $(LOCAL_LIBS) $(ALL_LIBS)

testshmproducer@EXEEXT@: testshmproducer.lo $(LOCAL_LIBS)
	$(LINK) testshmproducer.lo $(LOCAL_LIBS) $(ALL_LIBS)

testshmconsumer@EXEEXT@: testshmconsumer.lo $(LOCAL_LIBS)
	$(LINK) testshmconsumer.lo $(LOCAL_LIBS) $(ALL_LIBS)

testpipe@EXEEXT@: testpipe.lo $(LOCAL_LIBS)
	$(LINK) testpipe.lo $(LOCAL_LIBS) $(ALL_LIBS)

testuuid@EXEEXT@: testuuid.lo $(LOCAL_LIBS)
	$(LINK) testuuid.lo $(LOCAL_LIBS) $(ALL_LIBS)

testsockopt@EXEEXT@: testsockopt.lo $(LOCAL_LIBS)
	$(LINK) testsockopt.lo $(LOCAL_LIBS) $(ALL_LIBS)

testipsub@EXEEXT@: testipsub.lo $(LOCAL_LIBS)
	$(LINK) testipsub.lo $(LOCAL_LIBS) $(ALL_LIBS)

testmd5@EXEEXT@: testmd5.lo $(LOCAL_LIBS)
	$(LINK) testmd5.lo $(LOCAL_LIBS) $(ALL_LIBS)

testpoll@EXEEXT@: testpoll.lo $(LOCAL_LIBS)
	$(LINK) testpoll.lo $(LOCAL_LIBS) $(ALL_LIBS)

testhash@EXEEXT@: testhash.lo $(LOCAL_LIBS)
	$(LINK) testhash.lo $(LOCAL_LIBS) $(ALL_LIBS)

teststr@EXEEXT@: teststr.lo $(LOCAL_LIBS)
	$(LINK) teststr.lo $(LOCAL_LIBS) $(ALL_LIBS)

testsockets@EXEEXT@: testsockets.lo $(LOCAL_LIBS)
	$(LINK) testsockets.lo $(LOCAL_LIBS) $(ALL_LIBS)

testuser@EXEEXT@: testuser.lo $(LOCAL_LIBS)
	$(LINK) testuser.lo $(LOCAL_LIBS) $(ALL_LIBS)

testprocmutex@EXEEXT@: testprocmutex.lo $(LOCAL_LIBS)
	$(LINK) testprocmutex.lo $(LOCAL_LIBS) $(ALL_LIBS)

testglobalmutex@EXEEXT@: testglobalmutex.lo $(LOCAL_LIBS)
	$(LINK) testglobalmutex.lo $(LOCAL_LIBS) $(ALL_LIBS)

testvsn@EXEEXT@: testvsn.lo $(LOCAL_LIBS)
	$(LINK) testvsn.lo $(LOCAL_LIBS) $(ALL_LIBS)

testsleep@EXEEXT@: testsleep.lo $(LOCAL_LIBS)
	$(LINK) testsleep.lo $(LOCAL_LIBS) $(ALL_LIBS)

testatomic@EXEEXT@: testatomic.lo $(LOCAL_LIBS)
	$(LINK) testatomic.lo $(LOCAL_LIBS) $(ALL_LIBS)

testregex@EXEEXT@: testregex.lo $(LOCAL_LIBS)
	$(LINK) testregex.lo $(LOCAL_LIBS) $(ALL_LIBS)

testdup@EXEEXT@: testdup.lo $(LOCAL_LIBS)
	$(LINK) testdup.lo $(LOCAL_LIBS) $(ALL_LIBS)

testrand@EXEEXT@: testrand.lo $(LOCAL_LIBS)
	$(LINK) testrand.lo $(LOCAL_LIBS) $(ALL_LIBS)

testpools@EXEEXT@: testpools.lo $(LOCAL_LIBS)
	$(LINK) testpools.lo $(LOCAL_LIBS) $(ALL_LIBS)

# DO NOT REMOVE