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