HardenedBSD/usr.sbin/xntpd/kernel/Makefile.tmpl

39 lines
963 B
Cheetah
Raw Normal View History

1993-12-21 19:36:48 +01:00
#
1994-02-03 23:09:07 +01:00
# /src/NTP/REPOSITORY/v3/kernel/Makefile.tmpl,v 3.6 1994/01/25 19:04:35 kardel Exp
1993-12-21 19:36:48 +01:00
#
# parse routine that could be used in two places
#
COMPILER= cc
COPTS= -O
AUTHDEFS=-DDES
LIBDEFS= -DBIG_ENDIAN
RANLIB= ranlib
INSTALL= install
CLOCKDEFS=
DEFS=
DEFS_OPT=
DEFS_LOCAL=
#
INCL=-I../include
CFLAGS= $(COPTS) $(DEFS) $(DEFS_LOCAL) $(INCL)
CC= $(COMPILER)
#
all:
@echo $(DEFS) $(DEFS_LOCAL) $(CLOCKDEFS) | \
awk '/-DREFCLOCK/ && ( /-D.*CLK/ || /-D.*PPS/ ) { makeit=1; }\
END { if (makeit) \
{ print ""; \
print "### STREAMS kernel modules ppsclock, ppsclocd or line disciplines must"; \
print "### be installed manually if needed"; \
print "### see kernel/README* for details"; \
1994-02-03 23:09:07 +01:00
print "### The parse refclock implementation has their own support in"; \
1993-12-21 19:36:48 +01:00
print "### parse/*."; } }'
clean:
-@rm -f *~ *.o *.out *.ln make.log Makefile.bak \
lintlib.errs lint.errs
distclean: clean
-@rm -f *.orig *.rej .version Makefile