[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / dig

Annotation of src/usr.bin/dig/Makefile, Revision 1.4

1.4     ! florian     1: #      $OpenBSD: Makefile,v 1.3 2020/02/24 17:57:54 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/isccfg/include
                     21: CFLAGS+= -I ${.CURDIR}/lib/lwres/include
                     22: CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
                     23: CFLAGS+= -Wmissing-declarations
                     24: CFLAGS+= -Wshadow -Wpointer-arith
                     25: CFLAGS+= -Wsign-compare
                     26: CFLAGS+= -DVERSION=\"9.10.8-P1\"
                     27: YFLAGS=
                     28: LDADD+=        -lcrypto
                     29: DPADD+= ${LIBCRYPTO}
                     30:
1.3       florian    31: BUILDFIRST = code.h
1.1       florian    32:
                     33: gen: lib/dns/gen.c
                     34:        ${HOSTCC} ${CFLAGS} ${.CURDIR}/lib/dns/gen.c -o $@
                     35:
                     36: code.h:        gen
                     37:        ./gen -s ${.CURDIR}/lib/dns > code.h
                     38:
                     39: .include <bsd.prog.mk>