blob: 6270d87db1ee053a477cb88cf9eb8a2d9027a3f6 (
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
|
###############
# Platform: OpenBSD
# Final Rules:
# Rule WANTHSREGEX=no
###############
CC=gcc
OPTIM=-O2
CFLAGS1=
INCLUDES1=
LIBS1=
LFLAGS1=
BROKEN_BPRINTF_FLAGS=
REGLIB=
RANLIB=ranlib
SHELL=/bin/sh
#### End of Configure created section ####
# Apache makefile template (well, suffix).
# This is combined with the information in the "Configuration" file
# by the configure script to make the actual Makefile.
CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
LIBS=$(EXTRA_LIBS) $(LIBS1)
INCLUDES=-I../src -I../src/regex $(INCLUDES1) $(EXTRA_INCLUDES)
LFLAGS=$(LFLAGS1) $(EXTRA_LFLAGS)
.c.o:
$(CC) -c $(CFLAGS) $(INCLUDES) $<
TARGETS=htpasswd htdigest httpd_monitor rotatelogs logresolve
all: $(TARGETS)
htpasswd: htpasswd.c
$(CC) $(CFLAGS) htpasswd.c -o htpasswd $(LIBS)
htdigest: htdigest.c
$(CC) $(CFLAGS) htdigest.c -o htdigest
httpd_monitor: httpd_monitor.c
$(CC) $(INCLUDES) $(CFLAGS) httpd_monitor.c -o httpd_monitor
rotatelogs: rotatelogs.c
$(CC) $(INCLUDES) $(CFLAGS) rotatelogs.c -o rotatelogs
logresolve: logresolve.c
$(CC) $(INCLUDES) $(CFLAGS) logresolve.c -o logresolve $(LIBS)
clean:
rm -f $(TARGETS)
|