PageRenderTime 29ms CodeModel.GetById 20ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

/contrib/ntp/ntpdate/Makefile.am

https://bitbucket.org/freebsd/freebsd-head/
Makefile | 28 lines | 18 code | 7 blank | 3 comment | 2 complexity | c8b47b4317929c1ea38c7b4c330734aa MD5 | raw file
 1#AUTOMAKE_OPTIONS=	../util/ansi2knr
 2
 3bindir=		${exec_prefix}/${BINSUBDIR}
 4#bin_PROGRAMS=	ntpdate ntptimeset
 5bin_PROGRAMS=	ntpdate
 6EXTRA_PROGRAMS=	ntptimeset
 7
 8ntptimeset_SOURCES=	ntptimeset.c ntptime_config.c
 9AM_CPPFLAGS=	-I$(top_srcdir)/include
10# LDADD might need RESLIB and ADJLIB
11LDADD=		version.o ../libntp/libntp.a
12DISTCLEANFILES=	.version version.c stamp-v
13noinst_HEADERS=	ntpdate.h
14ETAGS_ARGS=	Makefile.am
15
16$(PROGRAMS): $(LDADD)
17
18../libntp/libntp.a:
19	cd ../libntp && $(MAKE)
20
21$(top_srcdir)/version :
22	cd $(top_srcdir) && $(MAKE) version
23
24version.o: $(ntpdate_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/version
25	env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpdate
26	$(COMPILE) -c version.c
27
28include ../bincheck.mf