#EnderUNIX spamguard Makefile.am file
SUBDIRS = tr
bin_PROGRAMS = spamguard
spamguard_SOURCES = functions.c  loadconfig.c  main.c  parser.c  wildmat.c
spamguard_LDADD 	=

DOCS=	AUTHORS CHANGELOG COPYING INSTALL README README.DigitalUnix POST-INSTALL THANKS TODO
EXTRA_DIST = functions.c functions.h loadconfig.c loadconfig.h main.c parser.c parser.h wildmat.c wildtmat.h spam-ignore.txt spam-ignore.txt.sample spamguard.conf spamguard.conf.sample $(DOCS) 

install-data-local:
	$(mkinstalldirs) ${prefix}/share/doc/spamguard
.for file in $(DOCS)
	$(INSTALL_DATA) $(srcdir)/$(file) ${prefix}/share/doc/spamguard
.endfor
	$(mkinstalldirs) ${prefix}/etc
	$(INSTALL_DATA) $(srcdir)/spam-ignore.txt.sample ${prefix}/etc/spam-ignore.txt.sample
	$(INSTALL_DATA) $(srcdir)/spamguard.conf.sample ${prefix}/etc/spamguard.conf.sample

uninstall-local:
.for file in $(DOCS)
	-rm -f ${prefix}/share/doc/spamguard/${file}
.endfor
	-rm -f ${prefix}/etc/spam-ignore.txt.sample
	-rm -f ${prefix}/etc/spamguard.conf.sample
 


#This is not a gnu project. So we don't have to obey gnu package needz!
AUTOMAKE_OPTIONS = foreign

# set the include path found by configure
INCLUDES= $(all_includes)

# the library search path.
spamguard_LDFLAGS = $(all_libraries)



syntax highlighted by Code2HTML, v. 0.9.1