Makefile.am 585 Bytes
Newer Older
1
ACLOCAL_AMFLAGS = -I m4
2 3 4 5 6 7
AUTOMAKE_OPTIONS = 1.11 \
	-Wall \
	check-news \
	no-dist-gzip \
	dist-xz \
	std-options
8

9 10
bin_PROGRAMS = sapserver

11 12 13 14 15 16
AM_CPPFLAGS= -DSYSCONFDIR=\"@sysconfdir@\" $(INCICONV)
sapserver_SOURCES = broadcast.cpp broadcast.h \
			message.cpp message.h \
			parser.cpp parser.h \
			program.cpp program.h \
			sapserver.cpp sapserver.h
17
sapserver_LDADD=$(LIBICONV)
18 19

if CONFIG_SLP
20 21
sapserver_SOURCES += slp.cpp lslp.h
sapserver_LDADD += -lslp
22 23
endif

24 25
man1_MANS=sapserver.1
dist_sysconf_DATA=sap.cfg
26

Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
27
EXTRA_DIST = $(man1_MANS) m4/getopt.m4 m4/sockaddr.m4 admin/config.rpath
28