TOP=. include ${TOP}/Makefile.config SUBDIR= libpercgi \ percgi-config all: Makefile.config all-subdir clean: clean-subdir cleandir: clean-config cleandir-subdir install: install-subdir install-includes deinstall: deinstall-subdir deinstall-includes regress: regress-subdir depend: depend-subdir configure: cat configure.in | mkconfigure > configure chmod 755 configure clean-config: Makefile.config rm -fr config config.log snap: sh mk/dist.sh install-includes: ${INSTALL_INCL_DIR} ${INCLDIR} ${SUDO} env \ INSTALL_INCL_DIR="${INSTALL_INCL_DIR}" \ INSTALL_INCL="${INSTALL_INCL}" \ ${FIND} . -follow -type d \! -name CVS \ -exec ${SH} mk/install-includes.sh "{}" "${INCLDIR}/{}" \; @if [ "${SRC}" != "" ]; then \ (cd ${SRC} && ${SUDO} env \ INSTALL_INCL_DIR="${INSTALL_INCL_DIR}" \ INSTALL_INCL="${INSTALL_INCL}" \ ${FIND} . -follow -type d \! -name CVS \ -exec ${SH} mk/install-includes.sh "{}" \ "${INCLDIR}/{}" \;); \ fi deinstall-includes: ${FIND} . -follow -type f -name '*.h' -print \ | ${AWK} '{print "${DEINSTALL_INCL} ${INCLDIR}/"$$1}' \ | ${SUDO} ${SH} @if [ "${SRC}" != "" ]; then \ echo "${FIND} ${SRC} -follow -type f -name '*.h' -print \ | ${AWK} '{print "${DEINSTALL_INCL} ${INCLDIR}/"$$1}' \ | ${SUDO} ${SH}"; \ (cd ${SRC} && ${FIND} . -follow -type f -name '*.h' -print \ | ${AWK} '{print "${DEINSTALL_INCL} ${INCLDIR}/"$$1}' \ | ${SUDO} ${SH}); \ fi .PHONY: clean cleandir install deinstall regress depend .PHONY: configure clean-config include ${TOP}/mk/build.common.mk include ${TOP}/mk/build.subdir.mk