Makefile.am revision 258945
1NULL= 2AUTOMAKE_OPTIONS= 3 4if NTP_BINSUBDIR_IS_BIN 5bin_PROGRAMS= @MAKE_NTPSNMPD@ 6else 7sbin_PROGRAMS= @MAKE_NTPSNMPD@ 8endif 9 10EXTRA_PROGRAMS= ntpsnmpd 11ntpsnmpd_SOURCES= netsnmp_daemonize.c ntpsnmpd.c ntpSnmpSubagentObject.c \ 12 ntpsnmpd-opts.c ntpsnmpd-opts.h ntpSnmpSubagentObject.h \ 13 ntp_snmp.h 14# HMS: we probably want a version.o file here, too. 15LDADD= ../ntpq/libntpq.a ../libntp/libntp.a @LCRYPTO@ @SNMP_LIBS@ \ 16 $(LIBOPTS_LDADD) 17AM_CPPFLAGS= -I$(top_srcdir)/ntpq -I$(top_srcdir)/include \ 18 -I$(top_srcdir)/lib/isc/include \ 19 -I$(top_srcdir)/lib/isc/nothreads/include \ 20 -I$(top_srcdir)/lib/isc/unix/include \ 21 $(LIBOPTS_CFLAGS) @SNMP_CPPFLAGS@ 22 23AM_CFLAGS= @SNMP_CFLAGS@ 24EXTRA_DIST= ntpsnmpd-opts.def ntpsnmpd.1 ntpsnmpd-opts.texi \ 25 ntpsnmpd-opts.menu ntpv4-mib.mib 26BUILT_SOURCES= ntpsnmpd-opts.c ntpsnmpd-opts.h 27CLEANFILES= 28noinst_DATA= $(srcdir)/ntpsnmpd-opts.texi $(srcdir)/ntpsnmpd-opts.menu 29man_MANS= $(srcdir)/ntpsnmpd.1 30run_ag= cd $(srcdir) && env PATH="$(abs_builddir):$(PATH)" \ 31 autogen -L ../include --writable 32std_def_list= $(top_srcdir)/include/autogen-version.def \ 33 $(top_srcdir)/include/copyright.def \ 34 $(top_srcdir)/include/homerc.def \ 35 $(top_srcdir)/include/version.def 36 37$(srcdir)/ntpsnmpd-opts.h: $(srcdir)/ntpsnmpd-opts.c 38 @: do-nothing action to avoid default SCCS get, .h built with .c 39 40$(srcdir)/ntpsnmpd-opts.c: $(srcdir)/ntpsnmpd-opts.def $(std_def_list) 41 $(run_ag) ntpsnmpd-opts.def 42 43$(srcdir)/ntpsnmpd.1: $(srcdir)/ntpsnmpd-opts.def $(std_def_list) 44 $(run_ag) -Tagman1.tpl -bntpsnmpd ntpsnmpd-opts.def 45 46$(srcdir)/ntpsnmpd-opts.menu: $(srcdir)/ntpsnmpd-opts.texi 47 @: do-nothing action to avoid default SCCS get, .menu built with .texi 48 49$(srcdir)/ntpsnmpd-opts.texi: $(srcdir)/ntpsnmpd-opts.def $(std_def_list) 50 $(run_ag) -Taginfo.tpl -DLEVEL=section ntpsnmpd-opts.def 51 $(top_srcdir)/scripts/check--help $@ 52 53include $(top_srcdir)/bincheck.mf 54include $(top_srcdir)/depsver.mf 55