view dpid/Makefile.am @ 1958:7860a3051241

Fix for endless loop with META refresh and same URL or no URL at all
author Jorge Arellano Cid <jcid@dillo.org>
date Fri, 15 Apr 2011 14:08:53 -0300
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