TOP=. include ${TOP}/Makefile.config PROJECT= "PerCGI" PROJECT_GUID= "2a080ab0-40d2-11e0-af99-000a5e13732c" SUBDIR= libpercgi \ po all: Makefile.config all-subdir clean: clean-subdir cleandir: clean-config cleandir-subdir install: install-subdir install-includes install-config deinstall: deinstall-subdir deinstall-includes deinstall-config regress: regress-subdir depend: depend-subdir configure: cat configure.in | mkconfigure > configure chmod 755 configure includes: if [ ! -e "include" ]; then mkdir include; fi if [ "${SRCDIR}" != "${BLDDIR}" ]; then \ (cd "${SRCDIR}" && \ perl mk/gen-includes.pl "${BLDDIR}/include/percgi"); \ else \ perl mk/gen-includes.pl include/percgi; \ fi clean-config: Makefile.config rm -fr config config.log snap: sh mk/dist.sh install-includes: ${SUDO} ${INSTALL_INCL_DIR} ${DESTDIR}${INCLDIR} @(cd include/percgi && for DIR in libpercgi config; do \ echo "mk/install-includes.sh $$DIR ${INCLDIR}"; \ ${SUDO} env \ INSTALL_INCL_DIR="${INSTALL_INCL_DIR}" \ INSTALL_INCL="${INSTALL_INCL}" \ ${SH} ${SRCDIR}/mk/install-includes.sh \ $$DIR ${DESTDIR}${INCLDIR}; \ done) deinstall-includes: @echo "rm -fR ${INCLDIR}" @${SUDO} rm -fR ${DESTDIR}${INCLDIR} install-config: @echo "${INSTALL_PROG} percgi-config ${BINDIR}" @${SUDO} ${INSTALL_PROG} percgi-config ${DESTDIR}${BINDIR} @echo "${INSTALL_DATA_DIR} ${PREFIX}/share/aclocal" @${SUDO} ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/aclocal @echo "${INSTALL_DATA} ${SRCDIR}/mk/percgi.m4 ${PREFIX}/share/aclocal" @${SUDO} ${INSTALL_DATA} ${SRCDIR}/mk/percgi.m4 ${DESTDIR}${PREFIX}/share/aclocal deinstall-config: @echo "${DEINSTALL_PROG} ${BINDIR}/percgi-config" @${SUDO} ${DEINSTALL_PROG} ${DESTDIR}${BINDIR}/percgi-config @echo "${DEINSTALL_DATA} ${PREFIX}/share/aclocal/agar.m4" @${SUDO} ${DEINSTALL_DATA} ${DESTDIR}${PREFIX}/share/aclocal/agar.m4 release: -${MAKE} cleandir -${MAKE} all-manlinks sh mk/dist.sh stable pre-package: V=`perl mk/get-version.pl` cp ChangeLogs/Release-$$V.txt RELEASE-$$V cp mk/LICENSE.txt LICENSE post-package: rm -f Release-* ChangeLog-* LICENSE .PHONY: clean cleandir install deinstall depend regress includes configure .PHONY: install-includes deinstall-includes install-config deinstall-config .PHONY: release pre-package post-package include ${TOP}/mk/build.common.mk include ${TOP}/mk/build.subdir.mk include ${TOP}/mk/build.man.mk