# # Makefile generated by buildtool-0.16 configure script # Changes made here will be lost! # # Main target all: Makefile build # Detected variables PACKAGE = buildtool VERSION = 0.16 VERSION_MAJOR = 0 VERSION_MINOR = 16 TOPDIR = /mnt/gmirror/ports/devel/buildtool/work/buildtool-0.16 WORKDIR = CC = cc STRIP = /usr/bin/strip SH = /bin/ksh AWK = /usr/local/bin/gawk GROFF = /usr/bin/groff GENFILE = /mnt/gmirror/ports/devel/buildtool/work/buildtool-0.16/mklogic/genfile.sh GENFILE_SH_COMMON = /mnt/gmirror/ports/devel/buildtool/work/buildtool-0.16/sh_head.in /mnt/gmirror/ports/devel/buildtool/work/buildtool-0.16/sh_tail.in CFLAGS = -I. -I.. -fno-common LDFLAGS = DOC = #WRAPPER = PREFIX = /usr/local DIR_CONF = /usr/local/etc/buildtool DIR_DOC = /usr/local/share/doc/buildtool DIR_EXEC = /usr/local/bin DIR_MAN = /usr/local/man DIR_MODS = /usr/local/libexec/buildtool DIR_PKGCONFIG = /usr/local/lib/pkgconfig DIR_PKGFLAGS = /usr/local/share/buildtool/pkgflags DIR_SHARE = /usr/local/share/buildtool INSTALL_ENV = GRP= OWN= BIN_MODE= DATA_MODE= DIR_MODE= INSTALL_DIR = ${INSTALL_ENV} TYPE=dir /mnt/gmirror/ports/devel/buildtool/work/buildtool-0.16/mklogic/install.sh INSTALL_BIN = ${INSTALL_ENV} TYPE=bin /mnt/gmirror/ports/devel/buildtool/work/buildtool-0.16/mklogic/install.sh INSTALL_DATA = ${INSTALL_ENV} TYPE=data /mnt/gmirror/ports/devel/buildtool/work/buildtool-0.16/mklogic/install.sh GROFF_HTML = /usr/bin/groff -Tlatin1 -mdoc2html -P-b -P-o -P-u GROFF_MORE = /usr/bin/groff -Tascii -mdoc -mtty-char GROFF_PS = /usr/bin/groff -Tps -mdoc GROFF_TXT = /usr/bin/groff -Tascii -mdoc -P-b -P-o -P-u SUBDIR = bt_config bt_dist bt_doc bt_lint bt_logic bt_pkgflags bt_sh bt_swcgen bt_wizard buildtool doc mklogic templates REGEN_ARITH = # $Id: Makefile.in,v 1.3 2003/09/22 11:33:30 jmmv Exp $ CLEANFILES = bt_swcgen PARTS = frontend.in out.in EXAMPLES = bt_config.conf.in SHLINTFILES = ${PARTS} build: bt_swcgen bt_swcgen: ${GENFILE_SH_COMMON} ${PARTS} @${GENFILE} -s -o bt_swcgen ${PARTS} install: @${INSTALL_DIR} ${DESTDIR}${DIR_MODS} @${INSTALL_DIR} ${DESTDIR}${DIR_SHARE}/templates @${INSTALL_BIN} bt_swcgen ${DESTDIR}${DIR_MODS} @${INSTALL_DATA} ${EXAMPLES} ${DESTDIR}${DIR_SHARE}/templates # $Id: Makefile.tail,v 1.35 2004/03/23 14:29:14 jmmv Exp $ .PHONY: .PHONY: all build clean cleandir deinstall install .SUFFIXES: .SUFFIXES: .c .o .in .sh .mdoc .html .more .ps .txt CLEANDIRFILES_CMN = Makefile CMNLINTFILES_CMN = Makefile.in CMNLINT = ${AWK} -f ${TOPDIR}/mklogic/cmnlint.awk SHLINT = ${AWK} -f ${TOPDIR}/mklogic/shlint.awk Makefile: Makefile.in @echo "Makefile is out of sync. Please run configure again." @false # ------------------------------------------------------------------------ # C compilation # ------------------------------------------------------------------------ .c.o: ${CC} ${CFLAGS} -c $< -o $@ # ------------------------------------------------------------------------ # Documentation # ------------------------------------------------------------------------ .mdoc.html: ${GROFF_HTML} $< > $@ .mdoc.more: ${GROFF_MORE} $< > $@ .mdoc.ps: ${GROFF_PS} $< > $@ .mdoc.txt: ${GROFF_TXT} $< > $@ # ------------------------------------------------------------------------ # Subdirectories manipulation # ------------------------------------------------------------------------ .PHONY: subdir-build subdir-clean subdir-cleandir subdir-lint subdir-build: @failed=no; \ for d in ${SUBDIR}; do \ echo "build ==> $$d"; \ cd $$d; \ ${MAKE} build || failed=yes; \ cd ..; \ if [ $${failed} = yes ]; then break; fi; \ done; \ [ $${failed} = no ] subdir-clean: @failed=no; \ for d in ${SUBDIR}; do \ echo "clean ==> $$d"; \ cd $$d; \ ${MAKE} clean || failed=yes; \ cd ..; \ if [ $${failed} = yes ]; then break; fi; \ done; \ [ $${failed} = no ] @echo "clean ==> top directory" subdir-cleandir: @failed=no; \ for d in ${SUBDIR}; do \ echo "cleandir ==> $$d"; \ cd $$d; \ ${MAKE} cleandir || failed=yes; \ cd ..; \ if [ $${failed} = yes ]; then break; fi; \ done; \ [ $${failed} = no ] @echo "cleandir ==> top directory" subdir-install: @failed=no; \ for d in ${SUBDIR}; do \ echo "install ==> $$d"; \ cd $$d; \ ${MAKE} install || failed=yes; \ cd ..; \ if [ $${failed} = yes ]; then break; fi; \ done; \ [ $${failed} = no ] @echo @echo "===========================================================================" @echo " Buildtool ${VERSION} has been successfully installed!" @echo @echo " Please take some time to read the \`Testing' section in the README file" @echo " to easily provide useful feedback. This will not take more than ten" @echo " minutes, but you will be contributing to the project." @echo @echo " As part of the post installation stage, you should now create a system" @echo " configuration file for the bt_config module, containing cached results" @echo " for several common checks run by many configure scripts." @echo " For an automated setup, issue the following commands:" @echo " mkdir -p ${DIR_CONF}" @echo " cp ${DIR_SHARE}/templates/bt_config.conf.in \\" @echo " ${DIR_CONF}/bt_config.conf.in" @echo " ${PREFIX}/bin/buildtool swcgen" @echo @echo " Thanks for choosing Buildtool." @echo "===========================================================================" @echo subdir-lint: @failed=no; \ for d in ${SUBDIR}; do \ echo "lint ==> $$d"; \ cd $$d; \ ${MAKE} lint || failed=yes; \ cd ..; \ if [ $${failed} = yes ]; then break; fi; \ done; \ [ $${failed} = no ] @echo "lint ==> top directory" build: clean: @if [ -n "${CLEANFILES}" ]; then \ echo "rm -f ${CLEANFILES}"; \ rm -f ${CLEANFILES}; \ fi cleandir: @if [ -n "${CLEANFILES}" ]; then \ echo "rm -f ${CLEANFILES}"; \ rm -f ${CLEANFILES}; \ fi rm -f ${CLEANDIRFILES_CMN} ${CLEANDIRFILES} install: lint: @failed=no; \ files="${CMNLINTFILES_CMN} ${CMNLINTFILES}"; \ for f in $${files:-unset}; do \ ${CMNLINT} $$f || failed=yes; \ done; \ if [ -n "${SHLINTFILES}" ]; then \ files="${SHLINTFILES}"; \ for f in $${files:-unset}; do \ ${CMNLINT} $$f || failed=yes; \ ${SHLINT} $$f || failed=yes; \ done; \ fi; \ [ $${failed} = no ]