freebsd-nq/usr.sbin/ntp/libparse/Makefile
Enji Cooper af6a5351a1 Simplify/improve idioms in usr.sbin/ntp Makefiles
- Use SRCTOP-relative paths to other directories instead of
  .CURDIR-relative ones. This simplifies pathing in make/displayed output.
- Also, use :H where possible/sensical to manipulate .CURDIR-relative
  paths
- Remove superfluous bsd.own.mk .includes which are already handled via
  src.opts.mk .includes

MFC after:	1 week
Sponsored by:	Dell EMC Isilon
2017-03-01 04:54:06 +00:00

20 lines
542 B
Makefile

# $FreeBSD$
.PATH: ${SRCTOP}/contrib/ntp/libparse
LIB= parse
INTERNALLIB=
SRCS= binio.c clk_computime.c clk_dcf7000.c clk_hopf6021.c \
clk_meinberg.c clk_rawdcf.c clk_rcc8000.c clk_schmid.c \
clk_sel240x.c clk_trimtaip.c clk_trimtsip.c clk_varitext.c \
clk_wharton.c data_mbg.c gpstolfp.c ieee754io.c \
info_trimble.c mfp_mul.c parse.c parse_conf.c \
trim_info.c
CFLAGS+= -I${SRCTOP}/contrib/ntp/include \
-I${SRCTOP}/contrib/ntp/lib/isc/unix/include \
-I${SRCTOP}/contrib/ntp/lib/isc/include -I${.CURDIR:H}
.include <bsd.lib.mk>