b85c7169a7
will update usr.sbin/ntp to match this. MFC after: 2 weeks
29 lines
749 B
Makefile
29 lines
749 B
Makefile
#AUTOMAKE_OPTIONS= ../util/ansi2knr
|
|
|
|
bindir= ${exec_prefix}/${BINSUBDIR}
|
|
#bin_PROGRAMS= ntpdate ntptimeset
|
|
bin_PROGRAMS= ntpdate
|
|
EXTRA_PROGRAMS= ntptimeset
|
|
|
|
ntptimeset_SOURCES= ntptimeset.c ntptime_config.c
|
|
AM_CPPFLAGS= -I$(top_srcdir)/include
|
|
# LDADD might need RESLIB and ADJLIB
|
|
LDADD= version.o ../libntp/libntp.a
|
|
DISTCLEANFILES= .version version.c stamp-v
|
|
noinst_HEADERS= ntpdate.h
|
|
ETAGS_ARGS= Makefile.am
|
|
|
|
$(PROGRAMS): $(LDADD)
|
|
|
|
../libntp/libntp.a:
|
|
cd ../libntp && $(MAKE)
|
|
|
|
$(top_srcdir)/version :
|
|
cd $(top_srcdir) && $(MAKE) version
|
|
|
|
version.o: $(ntpdate_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/version
|
|
env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpdate
|
|
$(COMPILE) -c version.c
|
|
|
|
include ../bincheck.mf
|