freebsd-skq/usr.sbin/ntp/Makefile.inc
Ollivier Robert ef7b1083bb These two patches makes it easier to compile custom versions of
NTP on FreeBSD:

The first one allows one to avoid installing the html files.

The second one allows one to override the CLOCKDEFS on the
make command line.

Submitted by:	phk
2002-11-16 08:06:43 +00:00

26 lines
592 B
Makefile

# $FreeBSD$
MAINTAINER= roberto
DEFS_LOCAL= -DPARSE -DHAVE_CONFIG_H
NTPDEFS= -DSYS_FREEBSD
# CLOCKDEFS=
# -DLOCAL_CLOCK -DPST -DWWVB -DAS2201 -DGOES -DGPSTM -DOMEGA \
# -DLEITCH -DTRAK -DACTS -DATOM -DDATUM -DHEATH -DMSFEES \
# -DMX4200 -DNMEA -DBOEDER
CFLAGS+= ${NTPDEFS} ${DEFS_LOCAL} ${CLOCKDEFS}
.if exists(${.OBJDIR}/../libparse)
LIBPARSE= ${.OBJDIR}/../libparse/libparse.a
.else
LIBPARSE= ${.CURDIR}/../libparse/libparse.a
.endif
.if exists(${.OBJDIR}/../libntp)
LIBNTP= ${.OBJDIR}/../libntp/libntp.a
.else
LIBNTP= ${.CURDIR}/../libntp/libntp.a
.endif
.include "../Makefile.inc"