1130b656e5
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
25 lines
439 B
Makefile
25 lines
439 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../include
|
|
CFLAGS+= -DNTP_POSIX_SOURCE -DUSE_PROTOTYPES
|
|
CFLAGS+= -DSYS_FREEBSD -DBOEDER -DHAVE_TERMIOS -DHAVE_BSD_NICE
|
|
|
|
.if exists(${.OBJDIR}/../../lib)
|
|
LDADD+= -L${.OBJDIR}/../../lib
|
|
DPADD+= -L${.OBJDIR}/../../lib/libntp.a
|
|
.else
|
|
LDADD+= -L${.CURDIR}/../../lib
|
|
DPADD+= -L${.CURDIR}/../../lib/libntp.a
|
|
.endif
|
|
|
|
LDADD+= -lntp
|
|
BINDIR= /usr/sbin
|
|
PROG= dcfd
|
|
|
|
SRCS= dcfd.c
|
|
NOMAN=
|
|
|
|
.include <bsd.prog.mk>
|