2 # Generated Makefile - do not edit!
4 # Edit the Makefile in the project folder instead (../Makefile). Each target
5 # has a pre- and a post- target defined where you can add customization code.
7 # This makefile implements macros and targets common to all configurations.
12 # Building and Cleaning subprojects are done by default, but can be controlled with the SUB
13 # macro. If SUB=no, subprojects will not be built or cleaned. The following macro
14 # statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf
15 # and .clean-reqprojects-conf unless SUB has the value 'no'
17 SUBPROJECTS=${SUB_${SUB}}
18 BUILD_SUBPROJECTS_=.build-subprojects
20 BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
21 CLEAN_SUBPROJECTS_=.clean-subprojects
23 CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
27 PROJECTNAME=jvm-jni-starter
29 # Active Configuration
34 ALLCONFS=Debug Release
38 .build-impl: .build-pre .validate-impl .depcheck-impl
39 @#echo "=> Running $@... Configuration=$(CONF)"
40 "${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf
44 .clean-impl: .clean-pre .validate-impl .depcheck-impl
45 @#echo "=> Running $@... Configuration=$(CONF)"
46 "${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf
50 .clobber-impl: .clobber-pre .depcheck-impl
51 @#echo "=> Running $@..."
52 for CONF in ${ALLCONFS}; \
54 "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf; \
58 .all-impl: .all-pre .depcheck-impl
59 @#echo "=> Running $@..."
60 for CONF in ${ALLCONFS}; \
62 "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf; \
66 .build-tests-impl: .build-impl .build-tests-pre
67 @#echo "=> Running $@... Configuration=$(CONF)"
68 "${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-tests-conf
71 .test-impl: .build-tests-impl .test-pre
72 @#echo "=> Running $@... Configuration=$(CONF)"
73 "${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .test-conf
75 # dependency checking support
77 @echo "# This code depends on make tool being used" >.dep.inc
78 @if [ -n "${MAKE_VERSION}" ]; then \
79 echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES} \$${TESTOBJECTFILES}))" >>.dep.inc; \
80 echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
81 echo "include \$${DEPFILES}" >>.dep.inc; \
82 echo "endif" >>.dep.inc; \
84 echo ".KEEP_STATE:" >>.dep.inc; \
85 echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
88 # configuration validation
90 @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
93 echo "Error: can not find the makefile for configuration '${CONF}' in project ${PROJECTNAME}"; \
94 echo "See 'make help' for details."; \
95 echo "Current directory: " `pwd`; \
98 @if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
105 .help-impl: .help-pre
106 @echo "This makefile supports the following configurations:"
109 @echo "and the following targets:"
110 @echo " build (default target)"
116 @echo "Makefile Usage:"
117 @echo " make [CONF=<CONFIGURATION>] [SUB=no] build"
118 @echo " make [CONF=<CONFIGURATION>] [SUB=no] clean"
119 @echo " make [SUB=no] clobber"
120 @echo " make [SUB=no] all"
123 @echo "Target 'build' will build a specific configuration and, unless 'SUB=no',"
124 @echo " also build subprojects."
125 @echo "Target 'clean' will clean a specific configuration and, unless 'SUB=no',"
126 @echo " also clean subprojects."
127 @echo "Target 'clobber' will remove all built files from all configurations and,"
128 @echo " unless 'SUB=no', also from subprojects."
129 @echo "Target 'all' will will build all configurations and, unless 'SUB=no',"
130 @echo " also build subprojects."
131 @echo "Target 'help' prints this message."