summaryrefslogtreecommitdiffstats
path: root/tcpip/Makefile.am
blob: e0835e387c28d41976d9783397539e77ae093394 (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 = rip98d.conf ttylinkd.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

sbin_PROGRAMS = rip98d ttylinkd

man_MANS = rip98d.conf.5 rip98d.8 ttylinkd.conf.5 ttylinkd.8

docdir=${prefix}/doc/ax25-tools
doc_DATA= ttylinkd.README ttylinkd.INSTALL

EXTRA_DIST = $(man_MANS) $(etcfiles) $(doc_DATA)

rip98d_SOURCES = 	\
	rip98d.c	\
	rip98r.c	\
	rip98t.c	\
	rip98d.h

rip98d_LDADD = $(AX25_LIB)

INCLUDES = -DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \
	   -DAX25_LOCALSTATEDIR=\""$(AX25_LOCALSTATEDIR)"\" 

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