diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1993-12-21 18:36:48 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1993-12-21 18:36:48 +0000 |
commit | e7c996d95e438eb882cfb523ba6e047f12adb01f (patch) | |
tree | 726a343c62286ac7f6753b0f898e58cdcf285af6 /usr.sbin/xntpd/parse/util/Makefile |
xntpd 3.3b from UDelvendor/ntpd/udel_33B
Notes
Notes:
svn path=/cvs2svn/branches/UDEL/; revision=893
svn path=/vendor/ntpd/udel_33B/; revision=895; tag=vendor/ntpd/udel_33B
Diffstat (limited to 'usr.sbin/xntpd/parse/util/Makefile')
-rw-r--r-- | usr.sbin/xntpd/parse/util/Makefile | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/usr.sbin/xntpd/parse/util/Makefile b/usr.sbin/xntpd/parse/util/Makefile new file mode 100644 index 000000000000..99caacffa6df --- /dev/null +++ b/usr.sbin/xntpd/parse/util/Makefile @@ -0,0 +1,49 @@ +# +# /src/NTP/REPOSITORY/v3/parse/util/Makefile.tmpl,v 3.11 1993/11/17 13:34:12 kardel Exp +# +COMPILER= gcc +DEFS= -DSYS_FREEBSD -DSYS_386BSD +DEFS_OPT=-DDEBUG +DEFS_LOCAL= $(DEFS_OPT) -DREFCLOCK -DPPSPPS -DKERNEL_PLL +CLOCKDEFS= -DLOCAL_CLOCK -DAS2201PPS -DCHU -DGOES -DIRIG -DMX4200PPS -DOMEGA -DPSTCLK -DTPRO -DWWVBCLK -DMSFEESPPS -DLEITCH +INCL= +COPTS= -O2 +INSTALL= install +BINDIR= /usr/local/bin +# +CFLAGS= $(COPTS) $(DEFS) $(DEFS_LOCAL) $(INCL) -I../../include +CC= $(COMPILER) +TOP=../../ +# +EXECS=parsetest testdcf dcfd + +all: + @echo $(DEFS) $(DEFS_LOCAL) $(CLOCKDEFS) | \ + awk '/-DSTREAM/ && /-DPARSE/ && /-DCLOCK_RAWDCF/ && ( /-DSYS_SUNOS/ || /-DSYS_SOLARIS/ ) { makeit = 1 } \ + END { if (makeit) \ + { print "$(MAKE) $(MFLAGS) MFLAGS=\"$(MFLAGS)\" parsetest"; } \ + }' | \ + sh + @echo $(DEFS) $(DEFS_LOCAL) $(CLOCKDEFS) | \ + awk '/-DPARSE/ && /-DCLOCK_RAWDCF/ && ( /-DSYS_SUNOS/ || /-DSYS_SOLARIS/ ) { makeit = 1 } \ + END { if (makeit) \ + { print "$(MAKE) $(MFLAGS) MFLAGS=\"$(MFLAGS)\" testdcf"; } \ + }' | \ + sh + @echo $(DEFS) $(DEFS_LOCAL) $(CLOCKDEFS) | \ + awk '/-DPARSE/ && /-DCLOCK_RAWDCF/ && ( /-DSYS_SUNOS/ || /-DSYS_SOLARIS/ ) { makeit = 1 } \ + END { if (makeit) \ + { print "$(MAKE) $(MFLAGS) MFLAGS=\"$(MFLAGS)\" dcfd"; } \ + }' | \ + sh + +clean: + -@rm -f $(EXECS) *.o + +distclean: clean + -@rm -f *.orig *.rej .version Makefile + +install: + @echo "--- DCF77 utilities should be installed manually" + @#[ -f testdcf ] && $(INSTALL) -c -m 0755 testdcf $(BINDIR) || true + @#[ -f dcfd ] && $(INSTALL) -c -m 0755 dcfd $(BINDIR) || true |