Annotation of src/usr.bin/dig/Makefile, Revision 1.3
1.3 ! florian 1: # $OpenBSD: Makefile,v 1.2 2020/02/24 12:05:37 florian Exp $
1.1 florian 2:
3: PROG= dig
4: SRCS= dig.c dighost.c host.c nslookup.c
5: MAN= dig.1 host.1 nslookup.1
6: LINKS= ${BINDIR}/dig ${BINDIR}/host \
7: ${BINDIR}/dig ${BINDIR}/nslookup
1.3 ! florian 8: CLEANFILES+= code.h gen gen.d
1.1 florian 9:
10: .include "${.CURDIR}/lib/dns/Makefile.inc"
11: .include "${.CURDIR}/lib/isc/Makefile.inc"
12: .include "${.CURDIR}/lib/isc/unix/Makefile.inc"
13: .include "${.CURDIR}/lib/isccfg/Makefile.inc"
14: .include "${.CURDIR}/lib/lwres/Makefile.inc"
15:
16: CFLAGS+= -Wall -I${.CURDIR} -I${.OBJDIR}
17: CFLAGS+= -I ${.CURDIR}/bin/dig/include
18: CFLAGS+= -I ${.CURDIR}/lib/dns/include
19: CFLAGS+= -I ${.CURDIR}/lib/isc/include
20: CFLAGS+= -I ${.CURDIR}/lib/isc/unix/include
21: CFLAGS+= -I ${.CURDIR}/lib/isccfg/include
22: CFLAGS+= -I ${.CURDIR}/lib/lwres/include
23: CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
24: CFLAGS+= -Wmissing-declarations
25: CFLAGS+= -Wshadow -Wpointer-arith
26: CFLAGS+= -Wsign-compare
27: CFLAGS+= -DVERSION=\"9.10.8-P1\"
28: YFLAGS=
29: LDADD+= -lcrypto
30: DPADD+= ${LIBCRYPTO}
31:
1.3 ! florian 32: BUILDFIRST = code.h
1.1 florian 33:
34: gen: lib/dns/gen.c
35: ${HOSTCC} ${CFLAGS} ${.CURDIR}/lib/dns/gen.c -o $@
36:
37: code.h: gen
38: ./gen -s ${.CURDIR}/lib/dns > code.h
39:
40: .include <bsd.prog.mk>