File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / ntpq / Makefile.am
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:08:38 2012 UTC (12 years ago) by misho
Branches: ntp, MAIN
CVS tags: v4_2_6p5p0, v4_2_6p5, HEAD
ntp 4.2.6p5

    1: NULL=
    2: AUTOMAKE_OPTIONS=	
    3: 
    4: if NTP_BINSUBDIR_IS_BIN
    5: bin_PROGRAMS=	ntpq
    6: else
    7: sbin_PROGRAMS=	ntpq
    8: endif
    9: 
   10: AM_CPPFLAGS= -I$(top_srcdir)/include -I$(top_srcdir)/lib/isc/include \
   11: 	-I$(top_srcdir)/lib/isc/nothreads/include \
   12: 	-I$(top_srcdir)/lib/isc/unix/include $(LIBOPTS_CFLAGS)
   13: 
   14: # LDADD might need RESLIB and ADJLIB
   15: ntpq_LDADD=	version.o $(LIBOPTS_LDADD) ../libntp/libntp.a \
   16: 		@EDITLINE_LIBS@ @LCRYPTO@
   17: noinst_HEADERS=	ntpq.h
   18: noinst_LIBRARIES=	libntpq.a
   19: libntpq_a_CFLAGS=	-DNO_MAIN_ALLOWED -DBUILD_AS_LIB
   20: CLEANFILES=
   21: DISTCLEANFILES=	.version version.c
   22: ETAGS_ARGS=	Makefile.am
   23: EXTRA_DIST=	ntpq-opts.def ntpq.1 ntpq-opts.texi ntpq-opts.menu
   24: BUILT_SOURCES=	ntpq-opts.c ntpq-opts.h
   25: man_MANS=	$(srcdir)/ntpq.1
   26: noinst_DATA=	$(srcdir)/ntpq-opts.texi $(srcdir)/ntpq-opts.menu
   27: run_ag=		cd $(srcdir) &&	env PATH="$(abs_builddir):$(PATH)"	\
   28: 		autogen -L ../include --writable
   29: std_def_list=	$(top_srcdir)/include/debug-opt.def		\
   30: 		$(top_srcdir)/include/autogen-version.def 	\
   31: 		$(top_srcdir)/include/copyright.def 		\
   32: 		$(top_srcdir)/include/homerc.def 		\
   33: 		$(top_srcdir)/include/version.def
   34: ntpq_SOURCES=	ntpq.c ntpq-subs.c ntpq-opts.c ntpq-opts.h
   35: 
   36: libntpq_a_SOURCES =	libntpq.c libntpq.h libntpq_subs.c 
   37: 
   38: $(srcdir)/ntpq-opts.h: $(srcdir)/ntpq-opts.c
   39: 	@: do-nothing action to avoid default SCCS get, .h built with .c
   40: 	
   41: $(srcdir)/ntpq-opts.c: $(srcdir)/ntpq-opts.def $(std_def_list)
   42: 	$(run_ag) ntpq-opts.def
   43: 
   44: $(srcdir)/ntpq.1: $(srcdir)/ntpq-opts.def $(std_def_list)
   45: 	$(run_ag) -Tagman1.tpl -bntpq ntpq-opts.def
   46: 
   47: $(srcdir)/ntpq-opts.menu: $(srcdir)/ntpq-opts.texi
   48: 	@: do-nothing action to avoid default SCCS get, .menu built with .texi
   49: 	
   50: $(srcdir)/ntpq-opts.texi: $(srcdir)/ntpq-opts.def $(std_def_list)
   51: 	$(run_ag) -Taginfo.tpl -DLEVEL=section ntpq-opts.def
   52: 	$(top_srcdir)/scripts/check--help $@
   53: 
   54: $(PROGRAMS): $(LDADD)
   55: 
   56: ../libntp/libntp.a:
   57: 	cd ../libntp && $(MAKE)
   58: 
   59: $(top_srcdir)/version :
   60: 	cd $(top_srcdir) && $(MAKE) version
   61: 
   62: version.o: $(ntpq_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/version
   63: 	env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpq
   64: 	$(COMPILE) -c version.c
   65: 
   66: include $(top_srcdir)/bincheck.mf
   67: include $(top_srcdir)/depsver.mf

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>