NetBSD/distrib/utils/x_dhclient/Makefile

45 lines
892 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.10 2001/10/05 01:17:30 jmc Exp $
PROG= dhclient
MKMAN= no
CPPFLAGS+= -DCLIENT_PATH='"PATH=/usr/bin:/usr/sbin:/bin:/sbin"'
LDSTATIC?= -static
2001-08-03 18:15:48 +04:00
RSRCDIR= ${.CURDIR}/../../../dist/dhcp
.PATH: ${RSRCDIR}/client ${RSRCDIR}/common ${RSRCDIR}/dst ${RSRCDIR}/omapip
.NOPATH: ${PROG}
SRCS= dhclient.c clparse.c
2001-04-06 22:53:33 +04:00
#.include "Src-dst"
#DSTOBJS+= ${DSTSRCS:N*.h:N*.sh:N*.fth:R:S/$/.o/g}
#SRCS+= ${DSTSRCS}
.include "Src-omapip"
OMOBJS+= ${OMSRCS:N*.h:N*.sh:N*.fth:R:S/$/.o/g}
SRCS+= ${OMSRCS}
.include "Src-common"
COMOBJS+= ${COMSRCS:N*.h:N*.sh:N*.fth:R:S/$/.o/g}
SRCS+= ${COMSRCS}
2000-06-26 16:34:05 +04:00
CPPFLAGS+=-DSMALL -I${RSRCDIR} -I${RSRCDIR}/includes
.if ${MACHINE} != "sparc64"
DBG= -Os
.endif
all: ${PROG}
${DSTOBJS}:
${CC} ${CFLAGS} ${CPPFLAGS} -DMINIRES_LIB -c ${.IMPSRC}
.SUFFIXES: .OM.c
.c.OM.c:
cp ${RSRCDIR}/omapip/$*.c $@
CLEANFILES+= ${SRCS:M*.OM.c}
.include <bsd.prog.mk>