1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/c++/jvm-jni-starter/nbproject/Makefile-impl.mk Sat Jan 20 21:44:45 2018 +0100
1.3 @@ -0,0 +1,133 @@
1.4 +#
1.5 +# Generated Makefile - do not edit!
1.6 +#
1.7 +# Edit the Makefile in the project folder instead (../Makefile). Each target
1.8 +# has a pre- and a post- target defined where you can add customization code.
1.9 +#
1.10 +# This makefile implements macros and targets common to all configurations.
1.11 +#
1.12 +# NOCDDL
1.13 +
1.14 +
1.15 +# Building and Cleaning subprojects are done by default, but can be controlled with the SUB
1.16 +# macro. If SUB=no, subprojects will not be built or cleaned. The following macro
1.17 +# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf
1.18 +# and .clean-reqprojects-conf unless SUB has the value 'no'
1.19 +SUB_no=NO
1.20 +SUBPROJECTS=${SUB_${SUB}}
1.21 +BUILD_SUBPROJECTS_=.build-subprojects
1.22 +BUILD_SUBPROJECTS_NO=
1.23 +BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
1.24 +CLEAN_SUBPROJECTS_=.clean-subprojects
1.25 +CLEAN_SUBPROJECTS_NO=
1.26 +CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
1.27 +
1.28 +
1.29 +# Project Name
1.30 +PROJECTNAME=jvm-jni-starter
1.31 +
1.32 +# Active Configuration
1.33 +DEFAULTCONF=Debug
1.34 +CONF=${DEFAULTCONF}
1.35 +
1.36 +# All Configurations
1.37 +ALLCONFS=Debug Release
1.38 +
1.39 +
1.40 +# build
1.41 +.build-impl: .build-pre .validate-impl .depcheck-impl
1.42 + @#echo "=> Running $@... Configuration=$(CONF)"
1.43 + "${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf
1.44 +
1.45 +
1.46 +# clean
1.47 +.clean-impl: .clean-pre .validate-impl .depcheck-impl
1.48 + @#echo "=> Running $@... Configuration=$(CONF)"
1.49 + "${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf
1.50 +
1.51 +
1.52 +# clobber
1.53 +.clobber-impl: .clobber-pre .depcheck-impl
1.54 + @#echo "=> Running $@..."
1.55 + for CONF in ${ALLCONFS}; \
1.56 + do \
1.57 + "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf; \
1.58 + done
1.59 +
1.60 +# all
1.61 +.all-impl: .all-pre .depcheck-impl
1.62 + @#echo "=> Running $@..."
1.63 + for CONF in ${ALLCONFS}; \
1.64 + do \
1.65 + "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf; \
1.66 + done
1.67 +
1.68 +# build tests
1.69 +.build-tests-impl: .build-impl .build-tests-pre
1.70 + @#echo "=> Running $@... Configuration=$(CONF)"
1.71 + "${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-tests-conf
1.72 +
1.73 +# run tests
1.74 +.test-impl: .build-tests-impl .test-pre
1.75 + @#echo "=> Running $@... Configuration=$(CONF)"
1.76 + "${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .test-conf
1.77 +
1.78 +# dependency checking support
1.79 +.depcheck-impl:
1.80 + @echo "# This code depends on make tool being used" >.dep.inc
1.81 + @if [ -n "${MAKE_VERSION}" ]; then \
1.82 + echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES} \$${TESTOBJECTFILES}))" >>.dep.inc; \
1.83 + echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
1.84 + echo "include \$${DEPFILES}" >>.dep.inc; \
1.85 + echo "endif" >>.dep.inc; \
1.86 + else \
1.87 + echo ".KEEP_STATE:" >>.dep.inc; \
1.88 + echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
1.89 + fi
1.90 +
1.91 +# configuration validation
1.92 +.validate-impl:
1.93 + @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
1.94 + then \
1.95 + echo ""; \
1.96 + echo "Error: can not find the makefile for configuration '${CONF}' in project ${PROJECTNAME}"; \
1.97 + echo "See 'make help' for details."; \
1.98 + echo "Current directory: " `pwd`; \
1.99 + echo ""; \
1.100 + fi
1.101 + @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
1.102 + then \
1.103 + exit 1; \
1.104 + fi
1.105 +
1.106 +
1.107 +# help
1.108 +.help-impl: .help-pre
1.109 + @echo "This makefile supports the following configurations:"
1.110 + @echo " ${ALLCONFS}"
1.111 + @echo ""
1.112 + @echo "and the following targets:"
1.113 + @echo " build (default target)"
1.114 + @echo " clean"
1.115 + @echo " clobber"
1.116 + @echo " all"
1.117 + @echo " help"
1.118 + @echo ""
1.119 + @echo "Makefile Usage:"
1.120 + @echo " make [CONF=<CONFIGURATION>] [SUB=no] build"
1.121 + @echo " make [CONF=<CONFIGURATION>] [SUB=no] clean"
1.122 + @echo " make [SUB=no] clobber"
1.123 + @echo " make [SUB=no] all"
1.124 + @echo " make help"
1.125 + @echo ""
1.126 + @echo "Target 'build' will build a specific configuration and, unless 'SUB=no',"
1.127 + @echo " also build subprojects."
1.128 + @echo "Target 'clean' will clean a specific configuration and, unless 'SUB=no',"
1.129 + @echo " also clean subprojects."
1.130 + @echo "Target 'clobber' will remove all built files from all configurations and,"
1.131 + @echo " unless 'SUB=no', also from subprojects."
1.132 + @echo "Target 'all' will will build all configurations and, unless 'SUB=no',"
1.133 + @echo " also build subprojects."
1.134 + @echo "Target 'help' prints this message."
1.135 + @echo ""
1.136 +