summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 0ceed2649bdd40ae610c37e92f4ce365790ec38d (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
62
63
64
65
66
67
lib_LTLIBRARIES = libax25.la libax25io.la

libax25includedir = $(includedir)
libax25ioincludedir = $(includedir)

INCLUDES = -DAX25_SYSCONFDIR=\""$(sysconfdir)/ax25/"\" \
	   -DAX25_LOCALSTATEDIR=\""$(localstatedir)/ax25/"\" 

nobase_libax25include_HEADERS = 	\
	netax25/axlib.h			\
	netax25/axconfig.h		\
	netax25/nrconfig.h		\
	netax25/rsconfig.h		\
	netax25/daemon.h		\
	netax25/ttyutils.h		\
	netax25/procutils.h		\
	netax25/kernel_ax25.h		\
	netax25/kernel_rose.h		\
	netax25/kernel_netrom.h		\
	netax25/mheard.h	

nobase_libax25ioinclude_HEADERS = 	\
	netax25/ax25io.h

libax25_la_SOURCES = \
	axconfig.c \
	netax25/axconfig.h \
	netax25/axlib.h \
	axutils.c \
	config.h \
	daemon.c \
	netax25/daemon.h \
	netax25/mheard.h \
	nrconfig.c \
	netax25/nrconfig.h \
	pathnames.h \
	procutils.c \
	netax25/procutils.h \
	rsconfig.c \
	netax25/rsconfig.h \
	ttyutils.c \
	netax25/ttyutils.h  \
	netax25/kernel_ax25.h \
	netax25/kernel_rose.h
	
libax25io_la_SOURCES = \
	ax25io.c \
	netax25/ax25io.h 

man_MANS = ax25.3 rose.3 axports.5 rsports.5 nrports.5


EXTRA_DIST= $(man_MANS) glibc.patch $(etcfiles)

AX25_SYSCONFDIR=@sysconfdir@/ax25/
AX25_LOCALSTATEDIR=@localstatedir@/ax25/

# Needed so that the install is optional
etcdir = $(AX25_SYSCONFDIR)
etcfiles =  axports rsports nrports
installconf:
	$(mkinstalldirs) $(DESTDIR)$(etcdir)
	@list='$(etcfiles)'; for p in $$list; do \
	  echo " $(INSTALL_DATA) $$p $(DESTDIR)$(etcdir)/$$p"; \
	  $(INSTALL_DATA) $$p $(DESTDIR)$(etcdir)/$$p; \
	done