1SHELL=/bin/sh 2.SUFFIXES: 3.SUFFIXES: .c .o .pl .pm .pod .html .man 4 5CC = @CC@ 6CFLAGS = @CFLAGS@ 7INSTALL = @INSTALL@ 8INSTALL_DATA = @INSTALL_DATA@ 9INSTALL_PROGRAM = @INSTALL_PROGRAM@ 10LDFLAGS = @LDFLAGS@ 11LIBS = @LIBS@ 12PERL = @PERL@ 13MKDIR = @top_srcdir@/mkinstalldirs 14 15RM = rm -f 16 17prefix = @prefix@ 18exec_prefix = @exec_prefix@ 19bindir = $(exec_prefix)/bin 20infodir = $(prefix)/info 21 22all:: 23 @echo making $@ in `basename \`pwd\`` 24 25update:: 26 @echo making $@ in `basename \`pwd\`` 27 28update:: squidGuard.cgi.in dest/blacklists.tar.gz 29 30squidGuard.cgi.in: @CGIFILE@ 31 @echo making $@ in `basename \`pwd\`` 32 cp -p $? $@ 33 $(PERL) -0777 -pi -e 's;^#!\s?/\S*perl;#! \100PERL\100;;s;\.(ost\.eltele|teledanmark)\.no;your-domain;;s;blacklist\\\@squidguard.org;operator\\\@your-domain;;' $@ 34 35dest/blacklists.tar.gz:: @BLACKLISTS@ 36 @echo making $@ in `basename \`pwd\`` 37 cp -p $? $@ 38 chmod 660 $@ 39 40clean:: 41 @echo making $@ in `basename \`pwd\`` 42 $(RM) *~ *.bak core *.log *.error 43 $(RM) dest/*~ dest/*.bak dest/core 44 $(RM) dest/financial/*~ dest/financial/*.bak dest/financial/core 45 46realclean:: clean 47 @echo making $@ in `basename \`pwd\`` 48 $(RM) TAGS *.orig 49 50distclean:: realclean 51 @echo making $@ in `basename \`pwd\`` 52 $(RM) Makefile sample.conf squidGuard.cgi squidGuard-simple.cgi 53