Blob


1 PROG=wildcarddnsd
2 CC=gcc
3 CFLAGS=-I/opt/local/include/db48 -L/opt/local/lib/db48 -D__APPLE_USE_RFC_3542=1 -DDEFAULT_PRIVILEGE='"nobody"'
4 LDADD=-ldb -lssl -lcrypto -DDEFAULT_PRIVILEGE='"nobody"'
5 YACC=bison
7 build:
8 $(YACC) -y -d parse.y
9 mv -f y.tab.c parse.c
10 $(CC) $(CFLAGS) -c parse.c
11 $(CC) $(CFLAGS) -c additional.c
12 $(CC) $(CFLAGS) -c main.c
13 $(CC) $(CFLAGS) -c reply.c
14 $(CC) $(CFLAGS) -c region.c
15 $(CC) $(CFLAGS) -c wildcard.c
16 $(CC) $(CFLAGS) -c log.c
17 $(CC) $(CFLAGS) -c recurse.c
18 $(CC) $(CFLAGS) -c axfr.c
19 $(CC) $(CFLAGS) -c filter.c
20 $(CC) $(CFLAGS) -c ratelimit.c
21 $(CC) $(CFLAGS) -c whitelist.c
22 $(CC) $(CFLAGS) -o wildcarddnsd additional.o main.o parse.o reply.o region.o wildcard.o log.o recurse.o axfr.o filter.o ratelimit.o whitelist.o $(LDADD)
24 clean:
25 rm -f *.o wildcarddnsd config.h Makefile