SUBDIRS = axgetput etcfiles = ax25.profile ax25d.conf axspawn.conf rxecho.conf etcsrcfiles = ax25.profile ax25d.conf.in axspawn.conf rxecho.conf noinst_DATA = $(etcfiles) varfiles = mheard.dat subst_path = sed -e 's|[@]SBINDIR[@]|$(sbindir)|' \ -e 's|[@]SYSCONFDIR[@]|$(sysconfdir)|' ax25d.conf: ax25d.conf.in $(subst_path) < $(srcdir)/ax25d.conf.in > ax25d.conf.tmp mv ax25d.conf.tmp ax25d.conf installconf: $(mkinstalldirs) $(DESTDIR)$(AX25_SYSCONFDIR) @list='$(etcfiles)'; for p in $$list; do \ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(AX25_SYSCONFDIR)/$$p"; \ $(INSTALL_DATA) $$p $(DESTDIR)$(AX25_SYSCONFDIR)/$$p; \ done $(mkinstalldirs) $(DESTDIR)$(AX25_LOCALSTATEDIR)/mheard @list='$(varfiles)'; for p in $$list; do \ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(AX25_LOCALSTATEDIR)/mheard/$$p"; \ $(INSTALL_DATA) $$p $(DESTDIR)$(AX25_LOCALSTATEDIR)/mheard/$$p; \ done sbin_PROGRAMS = ax25d axctl axparms axspawn axwrapper beacon bpqparms mheardd \ rxecho bin_PROGRAMS = mheard LDADD = $(AX25_LIB) axspawn_LDADD = $(AX25_LIB) $(UTIL_LIB) AM_CPPFLAGS = -D_GNU_SOURCE \ -DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \ -DAX25_LOCALSTATEDIR=\""$(AX25_LOCALSTATEDIR)"\" AX25_SYSCONFDIR=$(sysconfdir)/ax25/ AX25_LOCALSTATEDIR=$(localstatedir)/ax25/ dist_man_MANS = ax25.4 ax25d.conf.5 axspawn.conf.5 rxecho.conf.5 \ ax25d.8 axctl.8 axparms.8 axspawn.8 axwrapper.8 beacon.8 \ bpqparms.8 mheard.1 mheardd.8 rxecho.8 CLEANFILES = ax25d.conf EXTRA_DIST = $(etcsrcfiles) $(varfiles) ax25d_SOURCES = ax25d.c axctl_SOURCES = axctl.c axparms_SOURCES = axparms.c axspawn_SOURCES = axspawn.c axspawn.h access.c access.h md5.c md5.h axwrapper_SOURCES = axwrapper.c beacon_SOURCES = beacon.c bpqparms_SOURCES = bpqparms.c mheard_SOURCES = mheard.c mheardd_SOURCES = mheardd.c rxecho_SOURCES = rxecho.c