view dpid/Makefile.am @ 2018:e24250227e83

rm --enable-ansi config option I'd brought this up a couple of times on the list, and we never came to a definite "Yes, let's rm it!", but it isn't close to working, and we're never going to take out various C99 things that it disallows, so...
author corvid <corvid@lavabit.com>
date Sun, 15 May 2011 21:46:53 +0000
parents 8d0ad033bc74
children
line wrap: on
line source
AM_CPPFLAGS = \
	-I$(top_srcdir) \
	-DDPIDRC_SYS='"$(sysconfdir)/dpidrc"'

bin_PROGRAMS = dpid dpidc
dpid_LDADD = \
	$(top_builddir)/dpip/libDpip.a \
	$(top_builddir)/dlib/libDlib.a
dpidc_LDADD = \
	$(top_builddir)/dpip/libDpip.a \
	$(top_builddir)/dlib/libDlib.a

EXTRA_DIST = dpidrc.in

dpid_SOURCES = \
	dpi.h \
	dpi_socket_dir.h \
	dpid.h \
	dpid_common.h \
	misc_new.h \
	dpi.c \
	dpi_socket_dir.c \
	dpid.c \
	dpid_common.c \
	main.c \
	misc_new.c

dpidc_SOURCES = dpidc.c

sysconf_DATA = dpidrc
CLEANFILES = $(sysconf_DATA)

dpidrc: $(srcdir)/dpidrc.in Makefile
	sed -e 's|[@]libdir[@]|$(libdir)|' $(srcdir)/dpidrc.in > dpidrc