diff options
author | wollman <wollman@FreeBSD.org> | 1993-12-21 18:36:48 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1993-12-21 18:36:48 +0000 |
commit | 8e51e9f1429efc498f923bce8b25b20f47d7c075 (patch) | |
tree | 9db10264d45dc397a38276190303093a450d769e /usr.sbin/xntpd/parse/util/Makefile.tmpl | |
download | FreeBSD-src-8e51e9f1429efc498f923bce8b25b20f47d7c075.zip FreeBSD-src-8e51e9f1429efc498f923bce8b25b20f47d7c075.tar.gz |
xntpd 3.3b from UDel
Diffstat (limited to 'usr.sbin/xntpd/parse/util/Makefile.tmpl')
-rw-r--r-- | usr.sbin/xntpd/parse/util/Makefile.tmpl | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/usr.sbin/xntpd/parse/util/Makefile.tmpl b/usr.sbin/xntpd/parse/util/Makefile.tmpl new file mode 100644 index 0000000..a72100f --- /dev/null +++ b/usr.sbin/xntpd/parse/util/Makefile.tmpl @@ -0,0 +1,49 @@ +# +# /src/NTP/REPOSITORY/v3/parse/util/Makefile.tmpl,v 3.11 1993/11/17 13:34:12 kardel Exp +# +COMPILER= cc +DEFS= +DEFS_OPT= +DEFS_LOCAL= +CLOCKDEFS= +INCL= +COPTS= -O +INSTALL= install +BINDIR= +# +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 |