franta-hg@0: # franta-hg@0: # Generated Makefile - do not edit! franta-hg@0: # franta-hg@0: # Edit the Makefile in the project folder instead (../Makefile). Each target franta-hg@0: # has a pre- and a post- target defined where you can add customization code. franta-hg@0: # franta-hg@0: # This makefile implements macros and targets common to all configurations. franta-hg@0: # franta-hg@0: # NOCDDL franta-hg@0: franta-hg@0: franta-hg@0: # Building and Cleaning subprojects are done by default, but can be controlled with the SUB franta-hg@0: # macro. If SUB=no, subprojects will not be built or cleaned. The following macro franta-hg@0: # statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf franta-hg@0: # and .clean-reqprojects-conf unless SUB has the value 'no' franta-hg@0: SUB_no=NO franta-hg@0: SUBPROJECTS=${SUB_${SUB}} franta-hg@0: BUILD_SUBPROJECTS_=.build-subprojects franta-hg@0: BUILD_SUBPROJECTS_NO= franta-hg@0: BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}} franta-hg@0: CLEAN_SUBPROJECTS_=.clean-subprojects franta-hg@0: CLEAN_SUBPROJECTS_NO= franta-hg@0: CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}} franta-hg@0: franta-hg@0: franta-hg@0: # Project Name franta-hg@0: PROJECTNAME=parameter-lister franta-hg@0: franta-hg@0: # Active Configuration franta-hg@0: DEFAULTCONF=Debug franta-hg@0: CONF=${DEFAULTCONF} franta-hg@0: franta-hg@0: # All Configurations franta-hg@0: ALLCONFS=Debug Release franta-hg@0: franta-hg@0: franta-hg@0: # build franta-hg@0: .build-impl: .build-pre .validate-impl .depcheck-impl franta-hg@0: @#echo "=> Running $@... Configuration=$(CONF)" franta-hg@0: "${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf franta-hg@0: franta-hg@0: franta-hg@0: # clean franta-hg@0: .clean-impl: .clean-pre .validate-impl .depcheck-impl franta-hg@0: @#echo "=> Running $@... Configuration=$(CONF)" franta-hg@0: "${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf franta-hg@0: franta-hg@0: franta-hg@0: # clobber franta-hg@0: .clobber-impl: .clobber-pre .depcheck-impl franta-hg@0: @#echo "=> Running $@..." franta-hg@0: for CONF in ${ALLCONFS}; \ franta-hg@0: do \ franta-hg@0: "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf; \ franta-hg@0: done franta-hg@0: franta-hg@0: # all franta-hg@0: .all-impl: .all-pre .depcheck-impl franta-hg@0: @#echo "=> Running $@..." franta-hg@0: for CONF in ${ALLCONFS}; \ franta-hg@0: do \ franta-hg@0: "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf; \ franta-hg@0: done franta-hg@0: franta-hg@0: # build tests franta-hg@0: .build-tests-impl: .build-impl .build-tests-pre franta-hg@0: @#echo "=> Running $@... Configuration=$(CONF)" franta-hg@0: "${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-tests-conf franta-hg@0: franta-hg@0: # run tests franta-hg@0: .test-impl: .build-tests-impl .test-pre franta-hg@0: @#echo "=> Running $@... Configuration=$(CONF)" franta-hg@0: "${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .test-conf franta-hg@0: franta-hg@0: # dependency checking support franta-hg@0: .depcheck-impl: franta-hg@0: @echo "# This code depends on make tool being used" >.dep.inc franta-hg@0: @if [ -n "${MAKE_VERSION}" ]; then \ franta-hg@27: echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES} \$${TESTOBJECTFILES}))" >>.dep.inc; \ franta-hg@0: echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \ franta-hg@0: echo "include \$${DEPFILES}" >>.dep.inc; \ franta-hg@0: echo "endif" >>.dep.inc; \ franta-hg@0: else \ franta-hg@0: echo ".KEEP_STATE:" >>.dep.inc; \ franta-hg@0: echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \ franta-hg@0: fi franta-hg@0: franta-hg@0: # configuration validation franta-hg@0: .validate-impl: franta-hg@0: @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \ franta-hg@0: then \ franta-hg@0: echo ""; \ franta-hg@0: echo "Error: can not find the makefile for configuration '${CONF}' in project ${PROJECTNAME}"; \ franta-hg@0: echo "See 'make help' for details."; \ franta-hg@0: echo "Current directory: " `pwd`; \ franta-hg@0: echo ""; \ franta-hg@0: fi franta-hg@0: @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \ franta-hg@0: then \ franta-hg@0: exit 1; \ franta-hg@0: fi franta-hg@0: franta-hg@0: franta-hg@0: # help franta-hg@0: .help-impl: .help-pre franta-hg@0: @echo "This makefile supports the following configurations:" franta-hg@0: @echo " ${ALLCONFS}" franta-hg@0: @echo "" franta-hg@0: @echo "and the following targets:" franta-hg@0: @echo " build (default target)" franta-hg@0: @echo " clean" franta-hg@0: @echo " clobber" franta-hg@0: @echo " all" franta-hg@0: @echo " help" franta-hg@0: @echo "" franta-hg@0: @echo "Makefile Usage:" franta-hg@0: @echo " make [CONF=] [SUB=no] build" franta-hg@0: @echo " make [CONF=] [SUB=no] clean" franta-hg@0: @echo " make [SUB=no] clobber" franta-hg@0: @echo " make [SUB=no] all" franta-hg@0: @echo " make help" franta-hg@0: @echo "" franta-hg@0: @echo "Target 'build' will build a specific configuration and, unless 'SUB=no'," franta-hg@0: @echo " also build subprojects." franta-hg@0: @echo "Target 'clean' will clean a specific configuration and, unless 'SUB=no'," franta-hg@0: @echo " also clean subprojects." franta-hg@0: @echo "Target 'clobber' will remove all built files from all configurations and," franta-hg@0: @echo " unless 'SUB=no', also from subprojects." franta-hg@0: @echo "Target 'all' will will build all configurations and, unless 'SUB=no'," franta-hg@0: @echo " also build subprojects." franta-hg@0: @echo "Target 'help' prints this message." franta-hg@0: @echo "" franta-hg@0: