blob: 2224118c18ba989361a6e22c0e08bd01c4378a98 (
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
|
# Generated automatically from Makefile.in by configure.
#CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
#LIBS=$(EXTRA_LIBS) $(LIBS1)
#INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXTRA_INCLUDES)
#LDFLAGS=$(LDFLAGS1) $(EXTRA_LDFLAGS)
RM=@RM@
CC=@CC@
RANLIB=@RANLIB@
CFLAGS=@CFLAGS@ @OPTIM@
LIBS=-L../network_io -lnetwork -L../threadproc -lthreadproc -L../file_io -lfile -L../misc -lmisc -L../lib -lapr -L../time -ltime -L../locks -llock -L../signal -lsig -lcrypt @LIBS@
LDFLAGS=@LDFLAGS@ $(LIBS)
INCDIR=../include
INCDIR1=../../inc
INCLUDES=-I$(INCDIR) -I$(INCDIR1)
TARGETS= testfile@EXEEXT@ \
testproc@EXEEXT@ \
testsock@EXEEXT@ \
testthread@EXEEXT@ \
testtime@EXEEXT@ \
testsig@EXEEXT@ \
testargs@EXEEXT@ \
ab@EXEEXT@ \
htdigest@EXEEXT@
OBJS= testfile.o \
testproc.o \
testsock.o \
testthread.o \
testtime.o \
testsig.o \
testargs.o \
ab_apr.o \
htdigest.o
.c.o:
$(CC) -c $(CFLAGS) $(INCLUDES) $<
all: $(TARGETS)
testfile@EXEEXT@: testfile.o
$(CC) $(CFLAGS) testfile.o -o testfile@EXEEXT@ $(LDFLAGS)
testargs@EXEEXT@: testargs.o
$(CC) $(CFLAGS) testargs.o -o testargs@EXEEXT@ $(LDFLAGS)
ab@EXEEXT@: ab_apr.o
$(CC) $(CFLAGS) ab_apr.o -o ab@EXEEXT@ $(LDFLAGS)
htdigest@EXEEXT@: htdigest.o
$(CC) $(CFLAGS) htdigest.o -o htdigest@EXEEXT@ $(LDFLAGS)
testproc@EXEEXT@: testproc.o
$(CC) $(CFLAGS) testproc.o -o testproc@EXEEXT@ $(LDFLAGS)
testthread@EXEEXT@: testthread.o
$(CC) $(CFLAGS) testthread.o -o testthread@EXEEXT@ $(LDFLAGS)
testsock@EXEEXT@: testsock.o client.o server.o
$(CC) $(CFLAGS) testsock.o -o testsock@EXEEXT@ $(LDFLAGS)
$(CC) $(CFLAGS) server.o -o server@EXEEXT@ $(LDFLAGS)
$(CC) $(CFLAGS) client.o -o client@EXEEXT@ $(LDFLAGS)
testtime@EXEEXT@: testtime.o
$(CC) $(CFLAGS) testtime.o -o testtime@EXEEXT@ $(LDFLAGS)
testsig@EXEEXT@: testsig.o
$(CC) $(CFLAGS) testsig.o -o testsig@EXEEXT@ $(LDFLAGS)
clean:
$(RM) -f *.o *.a *.so $(TARGETS)
distclean: clean
-$(RM) -f Makefile
$(OBJS): Makefile
#
# We really don't expect end users to use this rule. It works only with
# gcc, and rebuilds Makefile.tmpl. You have to re-run Configure after
# using it.
#
depend:
cp Makefile.in Makefile.in.bak \
&& sed -ne '1,/^# DO NOT REMOVE/p' Makefile.in > Makefile.new \
&& gcc -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \
&& sed -e '1,$$s: $(INCDIR)/: $$(INCDIR)/:g' \
-e '1,$$s: $(OSDIR)/: $$(OSDIR)/:g' Makefile.new \
> Makefile.in \
&& rm Makefile.new
# DO NOT REMOVE
ab_apr.o: ab_apr.c $(INCDIR)/apr_network_io.h \
$(INCDIR)/apr_general.h $(INCDIR)/apr_config.h \
$(INCDIR)/apr_errno.h $(INCDIR)/apr_file_io.h $(INCDIR)/apr_time.h
abc.o: abc.c $(INCDIR)/apr_file_io.h $(INCDIR)/apr_general.h \
$(INCDIR)/apr_config.h $(INCDIR)/apr_errno.h
client.o: client.c $(INCDIR)/apr_network_io.h \
$(INCDIR)/apr_general.h $(INCDIR)/apr_config.h \
$(INCDIR)/apr_errno.h
htdigest.o: htdigest.c $(INCDIR)/apr_lib.h $(INCDIR)/apr_general.h \
$(INCDIR)/apr_config.h $(INCDIR)/apr_errno.h \
$(INCDIR)/apr_file_io.h $(INCDIR)/hsregex.h $(INCDIR)/apr_md5.h
htpasswd.o: htpasswd.c $(INCDIR)/apr_signal.h \
$(INCDIR)/apr_general.h $(INCDIR)/apr_config.h \
$(INCDIR)/apr_errno.h $(INCDIR)/apr_lib.h $(INCDIR)/apr_file_io.h \
$(INCDIR)/hsregex.h
logresolve.o: logresolve.c $(INCDIR)/apr_config.h
rotatelogs.o: rotatelogs.c $(INCDIR)/apr_config.h
server.o: server.c $(INCDIR)/apr_network_io.h \
$(INCDIR)/apr_general.h $(INCDIR)/apr_config.h \
$(INCDIR)/apr_errno.h
suexec.o: suexec.c $(INCDIR)/apr_config.h suexec.h
testargs.o: testargs.c $(INCDIR)/apr_file_io.h \
$(INCDIR)/apr_general.h $(INCDIR)/apr_config.h \
$(INCDIR)/apr_errno.h $(INCDIR)/apr_lib.h $(INCDIR)/hsregex.h
testfile.o: testfile.c $(INCDIR)/apr_file_io.h \
$(INCDIR)/apr_general.h $(INCDIR)/apr_config.h \
$(INCDIR)/apr_errno.h $(INCDIR)/apr_lib.h $(INCDIR)/hsregex.h
testproc.o: testproc.c $(INCDIR)/apr_thread_proc.h \
$(INCDIR)/apr_file_io.h $(INCDIR)/apr_general.h \
$(INCDIR)/apr_config.h $(INCDIR)/apr_errno.h $(INCDIR)/apr_win.h \
$(INCDIR)/apr_lib.h $(INCDIR)/hsregex.h
testsig.o: testsig.c $(INCDIR)/apr_thread_proc.h \
$(INCDIR)/apr_file_io.h $(INCDIR)/apr_general.h \
$(INCDIR)/apr_config.h $(INCDIR)/apr_errno.h $(INCDIR)/apr_win.h \
$(INCDIR)/apr_lib.h $(INCDIR)/hsregex.h
testsock.o: testsock.c $(INCDIR)/apr_thread_proc.h \
$(INCDIR)/apr_file_io.h $(INCDIR)/apr_general.h \
$(INCDIR)/apr_config.h $(INCDIR)/apr_errno.h $(INCDIR)/apr_win.h \
$(INCDIR)/apr_lib.h $(INCDIR)/hsregex.h
testthread.o: testthread.c $(INCDIR)/apr_thread_proc.h \
$(INCDIR)/apr_file_io.h $(INCDIR)/apr_general.h \
$(INCDIR)/apr_config.h $(INCDIR)/apr_errno.h $(INCDIR)/apr_win.h \
$(INCDIR)/apr_lock.h
testtime.o: testtime.c $(INCDIR)/apr_time.h $(INCDIR)/apr_general.h \
$(INCDIR)/apr_config.h $(INCDIR)/apr_errno.h
|