view dpid/Makefile.am @ 283:f97319b762d2

- minor cleanup.
author jcid
date Thu, 19 Jun 2008 16:13:57 +0200
parents ec671a7ea6e2
children db5ae912fcb4
line wrap: on
line source
AM_CPPFLAGS=-DDPIDRC_SYS='"$(sysconfdir)/dpidrc"'

bin_PROGRAMS = dpid
dpid_LDADD = ../dpip/libDpip.a ../dlib/libDlib.a

EXTRA_DIST = dpidc
bin_SCRIPTS = dpidc

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

install-data-local :
	$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
	echo dpi_dir=$(libdir)/dillo/dpi > $(DESTDIR)$(sysconfdir)/dpidrc
	echo >> $(DESTDIR)$(sysconfdir)/dpidrc
	echo "proto.file=file/file.dpi" >> $(DESTDIR)$(sysconfdir)/dpidrc
	echo "proto.ftp=ftp/ftp.filter.dpi" >> $(DESTDIR)$(sysconfdir)/dpidrc
	echo "proto.https=https/https.filter.dpi" >> $(DESTDIR)$(sysconfdir)/dpidrc
	echo "proto.data=datauri/datauri.filter.dpi" >> $(DESTDIR)$(sysconfdir)/dpidrc