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