summaryrefslogtreecommitdiffstats
path: root/netrom/Makefile.am
blob: 62fc8eff111a9404450e22fc4d52036b8ec004cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

etcfiles = nrbroadcast

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


sbin_PROGRAMS = netromd nodesave nrattach nrparms nrsdrv

LDADD = $(AX25_LIB)

dist_man_MANS = netrom.4 nrbroadcast.5 netromd.8 nodesave.8 \
	   nrattach.8 nrparms.8 nrsdrv.8

EXTRA_DIST = $(etcfiles)

netromd_SOURCES = \
	netromd.c \
	netromd.h \
	netromr.c \
	netromt.c


AM_CPPFLAGS = -D_GNU_SOURCE \
	      -DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \
	      -DAX25_LOCALSTATEDIR=\""$(AX25_LOCALSTATEDIR)"\"

AX25_SYSCONFDIR=${sysconfdir}/ax25/
AX25_LOCALSTATEDIR=${localstatedir}/ax25/