xref: /minix3/external/bsd/dhcp/lib/common/Makefile (revision 03ac74ede908465cc64c671bbd209e761dc765dc)
183ee113eSDavid van Moolenbroek# $NetBSD: Makefile,v 1.1 2013/03/24 15:54:31 christos Exp $
283ee113eSDavid van Moolenbroek
383ee113eSDavid van MoolenbroekLIBISPRIVATE=	yes
483ee113eSDavid van Moolenbroek
583ee113eSDavid van MoolenbroekLIB    = dhcp
683ee113eSDavid van MoolenbroekSRCS   = raw.c parse.c nit.c icmp.c dispatch.c conflex.c upf.c bpf.c socket.c \
783ee113eSDavid van Moolenbroek	 lpf.c dlpi.c packet.c tr.c ethernet.c memory.c print.c options.c \
883ee113eSDavid van Moolenbroek	 inet.c tree.c tables.c alloc.c fddi.c ctrace.c \
983ee113eSDavid van Moolenbroek	 dns.c resolv.c execute.c discover.c comapi.c ns_name.c
1083ee113eSDavid van MoolenbroekMAN    = dhcp-options.5 dhcp-eval.5
1183ee113eSDavid van Moolenbroek
1283ee113eSDavid van MoolenbroekDHCPSRCDIR=	common
1383ee113eSDavid van Moolenbroek
1483ee113eSDavid van Moolenbroek.include <bsd.lib.mk>
15*03ac74edSLionel Sambuc
16*03ac74edSLionel Sambuc.if defined(__MINIX)
17*03ac74edSLionel Sambuc.if !empty(DBG:M-Og) || !empty(CFLAGS:M-Og) || \
18*03ac74edSLionel Sambuc	!empty(DBG:M-g) || !empty(CFLAGS:M-g)
19*03ac74edSLionel Sambuc#LSC: -Wno-maybe-uninitialized while compiling with -DNDEBUG -Og
20*03ac74edSLionel SambucCWARNFLAGS.gcc+=	-Wno-maybe-uninitialized
21*03ac74edSLionel Sambuc.endif
22*03ac74edSLionel Sambuc.endif # defined(__MINIX)
23