TOP= . include ${TOP}/Makefile.config #SUBDIR= mailblockd PROG= mailprocd SRCS= mailprocd.c sa.c smtp.c message.c qmgr.c local.c policy.c maillist.c \ table.c spamcheck.c control.c config.c SRCS+= fgetln.c strlcpy.c strlcat.c LIBS+= ${PERL_LIBS} CFLAGS+=${PERL_CFLAGS} SHARESRC= init.pl CONF= mailprocd.conf all: ${PROG} clean: clean-subdir cleandir: cleandir-config cleandir-subdir install: install-subdir deinstall: deinstall-subdir depend: depend-subdir regress: regress-subdir restart: ${SUDO} kill `cat /var/run/mailprocd.pid` sleep 1 ${SUDO} mailprocd.run package: cleandir sh mk/dist.sh release: cleandir sh mk/dist.sh commit configure: cat configure.in | mkconfigure > configure chmod 755 configure cleandir-config: rm -fr config config.log Makefile.config touch Makefile.config find . -name premake.lua -exec rm -f {} \; find . -name configure.lua -exec rm -f {} \; include ${TOP}/mk/build.prog.mk .PHONY: restart package release configure cleandir-config