blob: 3eab7d58b6d5171f008ad2afa056ec7c4335e568 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
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
|