ACLOCAL_AMFLAGS = -I m4 sbin_PROGRAMS = cgi-wrapper hiawatha php-fcgi wigwam sbin_SCRIPTS = extra/newroot cgi_wrapper_SOURCES = \ alternative.c \ alternative.h \ cgi-wrapper.c \ userconfig.c \ userconfig.h \ libfs.c \ libfs.h \ libstr.c \ libstr.h hiawatha_SOURCES = \ alternative.c \ alternative.h \ cache.c \ cache.h \ cgi.c \ cgi.h \ client.c \ client.h \ command.c \ command.h \ envir.c \ envir.h \ global.h \ hiawatha.c \ httpauth.c \ httpauth.h \ libfs.c \ libfs.h \ libip.c \ libip.h \ liblist.c \ liblist.h \ libmd5.c \ libmd5.h \ libstr.c \ libstr.h \ libssl.c \ libssl.h \ log.c \ log.h \ mimetype.c \ mimetype.h \ rewrite.c \ rewrite.h \ send.c \ send.h \ serverconfig.c \ serverconfig.h \ session.c \ session.h \ target.c \ target.h \ userconfig.c \ userconfig.h hiawatha_CFLAGS = $(PTHREAD_CFLAGS) hiawatha_LDADD = $(PTHREAD_LIBS) $(LIBCRYPT) $(LIBSSL) $(LIBCRYPTO) php_fcgi_SOURCES = \ alternative.c \ alternative.h \ libip.c \ libip.h \ liblist.c \ liblist.h \ libstr.c \ libstr.h \ php-fcgi.c \ userconfig.c \ userconfig.h wigwam_SOURCES = \ alternative.c \ alternative.h \ libfs.c \ libfs.h \ libstr.c \ libstr.h \ rewrite.c \ rewrite.h \ wigwam.c configurefiles = \ etc/hiawatha/cgi-wrapper.conf \ etc/hiawatha/httpd.conf \ etc/hiawatha/mimetype.conf \ etc/hiawatha/php-fcgi.conf install-data-hook: @for file in $(configurefiles) ; do \ inst=$(DESTDIR)$(pkgsysconfdir)/`echo $${file} | sed -e 's/^.*\///'`; \ test -f $${inst} || $(install_sh_DATA) $(srcdir)/$${file} $${inst} ; \ done uninstall-hook: @for file in $(configurefiles) ; do \ inst=$(DESTDIR)$(pkgsysconfdir)/`echo $${file} | sed -e 's/^.*\///'`; \ rm -f $${inst} ; \ done webroot_DATA = \ doc/index.html log_DATA = man1_MANS = \ doc/cgi-wrapper.1 \ doc/hiawatha.1 \ doc/newroot.1 \ doc/php-fcgi.1 \ doc/wigwam.1 EXTRA_DIST = \ $(man1_MANS) \ $(webroot_DATA) \ $(configurefiles) \ etc/logrotate.d/hiawatha \ debian/README.debian \ debian/conffiles \ debian/control \ debian/copyright \ debian/dirs \ debian/info \ debian/init.d \ debian/postinst \ debian/rules \ doc/sourcecode.txt \ extra/hiawatha \ extra/mkcert \ extra/newroot \ extra/php-fcgi install-exec-hook: chmod u+s $(DESTDIR)$(sbindir)/cgi-wrapper debian-package: deb deb: cp -f ChangeLog debian/changelog dpkg-buildpackage -rfakeroot certificate: extra/mkcert