view src/Makefile.am @ 392:c5fd796ea06e

Heavy refactoring in parts of conf.c. init_conf() parse_boolean() parse_list_file() Re-arrangement of code. parse_address_glob_list() Removed unneccessary parameter. parse_list() parse_interface(): Use strtok()/strchr() instead of doing is all by hand. Removed limitation of fixed size buffer. eat_comments() Use a state machine. eat_line_trailing() eat_spaces() read_lval() Better structured code. read_conf() read_route() Removed magic numbers. Made all list type in the config files accept pathname entries, except for `permanent_routes' and `query_routes.' for which this is impossible.
author markus schnalke <meillo@marmaro.de>
date Sat, 18 Feb 2012 18:07:55 +0100
parents 13c9e0969054
children
line wrap: on
line source

SUBDIRS=base64 md5

AM_CFLAGS=-Wno-pointer-sign @CFLAGS@ @GLIB_CFLAGS@ -D_GNU_SOURCE -DG_DISABLE_DEPRECATED

sbin_PROGRAMS=masqmail
bin_PROGRAMS=mservdetect
noinst_PROGRAMS=smtpsend readtest resolvtest

masqmail_SOURCES=\
	dotlock.h\
	masqmail.h\
	readsock.h\
	smtp_out.h\
	lookup.h\
	accept.c\
	address.c\
	alias.c\
	child.c\
	connect.c\
	conf.c\
	deliver.c\
	dotlock.c\
	expand.c\
	fail_msg.c\
	header.c\
	interface.c\
	local.c\
	log.c\
	listen.c\
	lookup.c\
	masqmail.c\
	message.c\
	online.c\
	parse.c\
	peopen.c\
	peopen.h\
	permissions.c\
	readsock.c\
	rewrite.c\
	route.c\
	queue.c\
	smtp_in.c\
	smtp_out.c\
	spool.c\
	tables.c\
	timeival.c

smtpsend_SOURCES=\
	smtpsend.c\
	masqmail.h\
	readsock.h\
	smtp_out.h\
	lookup.h\
	accept.c\
	address.c\
	child.c\
	connect.c\
	header.c\
	interface.c\
	lookup.c\
	message.c\
	parse.c\
	peopen.c\
	readsock.c\
	smtp_out.c

mservdetect_SOURCES=\
	masqmail.h\
	readsock.h\
	mservdetect.c\
	readsock.c\
	peopen.c

readtest_SOURCES=\
	readsock.c\
	readsock.h\
	readtest.c

resolvtest_SOURCES=\
	resolvtest.c\
	lookup.c

masqmail_LDADD=@RESOLV_LIBS@ @GLIB_LIBS@ @LOCKFILE_LIBS@ @MD5_LIBS@ @BASE64_LIBS@
smtpsend_LDADD=@RESOLV_LIBS@ @GLIB_LIBS@ @MD5_LIBS@ @BASE64_LIBS@
mservdetect_LDADD=@GLIB_LIBS@
readtest_LDADD=@GLIB_LIBS@
resolvtest_LDADD=@RESOLV_LIBS@ @GLIB_LIBS@