c++/parameter-lister/nbproject/Makefile-impl.mk
author František Kučera <franta-hg@frantovo.cz>
Sun, 03 May 2015 01:25:03 +0200
changeset 0 7399cb02184b
child 27 f08e42c1efc0
permissions -rw-r--r--
c++ netbeans project created
franta-hg@0
     1
# 
franta-hg@0
     2
# Generated Makefile - do not edit! 
franta-hg@0
     3
# 
franta-hg@0
     4
# Edit the Makefile in the project folder instead (../Makefile). Each target
franta-hg@0
     5
# has a pre- and a post- target defined where you can add customization code.
franta-hg@0
     6
#
franta-hg@0
     7
# This makefile implements macros and targets common to all configurations.
franta-hg@0
     8
#
franta-hg@0
     9
# NOCDDL
franta-hg@0
    10
franta-hg@0
    11
franta-hg@0
    12
# Building and Cleaning subprojects are done by default, but can be controlled with the SUB
franta-hg@0
    13
# macro. If SUB=no, subprojects will not be built or cleaned. The following macro
franta-hg@0
    14
# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf
franta-hg@0
    15
# and .clean-reqprojects-conf unless SUB has the value 'no'
franta-hg@0
    16
SUB_no=NO
franta-hg@0
    17
SUBPROJECTS=${SUB_${SUB}}
franta-hg@0
    18
BUILD_SUBPROJECTS_=.build-subprojects
franta-hg@0
    19
BUILD_SUBPROJECTS_NO=
franta-hg@0
    20
BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
franta-hg@0
    21
CLEAN_SUBPROJECTS_=.clean-subprojects
franta-hg@0
    22
CLEAN_SUBPROJECTS_NO=
franta-hg@0
    23
CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
franta-hg@0
    24
franta-hg@0
    25
franta-hg@0
    26
# Project Name
franta-hg@0
    27
PROJECTNAME=parameter-lister
franta-hg@0
    28
franta-hg@0
    29
# Active Configuration
franta-hg@0
    30
DEFAULTCONF=Debug
franta-hg@0
    31
CONF=${DEFAULTCONF}
franta-hg@0
    32
franta-hg@0
    33
# All Configurations
franta-hg@0
    34
ALLCONFS=Debug Release 
franta-hg@0
    35
franta-hg@0
    36
franta-hg@0
    37
# build
franta-hg@0
    38
.build-impl: .build-pre .validate-impl .depcheck-impl
franta-hg@0
    39
	@#echo "=> Running $@... Configuration=$(CONF)"
franta-hg@0
    40
	"${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf
franta-hg@0
    41
franta-hg@0
    42
franta-hg@0
    43
# clean
franta-hg@0
    44
.clean-impl: .clean-pre .validate-impl .depcheck-impl
franta-hg@0
    45
	@#echo "=> Running $@... Configuration=$(CONF)"
franta-hg@0
    46
	"${MAKE}" -f nbproject/Makefile-${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf
franta-hg@0
    47
franta-hg@0
    48
franta-hg@0
    49
# clobber 
franta-hg@0
    50
.clobber-impl: .clobber-pre .depcheck-impl
franta-hg@0
    51
	@#echo "=> Running $@..."
franta-hg@0
    52
	for CONF in ${ALLCONFS}; \
franta-hg@0
    53
	do \
franta-hg@0
    54
	    "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf; \
franta-hg@0
    55
	done
franta-hg@0
    56
franta-hg@0
    57
# all 
franta-hg@0
    58
.all-impl: .all-pre .depcheck-impl
franta-hg@0
    59
	@#echo "=> Running $@..."
franta-hg@0
    60
	for CONF in ${ALLCONFS}; \
franta-hg@0
    61
	do \
franta-hg@0
    62
	    "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf; \
franta-hg@0
    63
	done
franta-hg@0
    64
franta-hg@0
    65
# build tests
franta-hg@0
    66
.build-tests-impl: .build-impl .build-tests-pre
franta-hg@0
    67
	@#echo "=> Running $@... Configuration=$(CONF)"
franta-hg@0
    68
	"${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-tests-conf
franta-hg@0
    69
franta-hg@0
    70
# run tests
franta-hg@0
    71
.test-impl: .build-tests-impl .test-pre
franta-hg@0
    72
	@#echo "=> Running $@... Configuration=$(CONF)"
franta-hg@0
    73
	"${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .test-conf
franta-hg@0
    74
franta-hg@0
    75
# dependency checking support
franta-hg@0
    76
.depcheck-impl:
franta-hg@0
    77
	@echo "# This code depends on make tool being used" >.dep.inc
franta-hg@0
    78
	@if [ -n "${MAKE_VERSION}" ]; then \
franta-hg@0
    79
	    echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \
franta-hg@0
    80
	    echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
franta-hg@0
    81
	    echo "include \$${DEPFILES}" >>.dep.inc; \
franta-hg@0
    82
	    echo "endif" >>.dep.inc; \
franta-hg@0
    83
	else \
franta-hg@0
    84
	    echo ".KEEP_STATE:" >>.dep.inc; \
franta-hg@0
    85
	    echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
franta-hg@0
    86
	fi
franta-hg@0
    87
franta-hg@0
    88
# configuration validation
franta-hg@0
    89
.validate-impl:
franta-hg@0
    90
	@if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
franta-hg@0
    91
	then \
franta-hg@0
    92
	    echo ""; \
franta-hg@0
    93
	    echo "Error: can not find the makefile for configuration '${CONF}' in project ${PROJECTNAME}"; \
franta-hg@0
    94
	    echo "See 'make help' for details."; \
franta-hg@0
    95
	    echo "Current directory: " `pwd`; \
franta-hg@0
    96
	    echo ""; \
franta-hg@0
    97
	fi
franta-hg@0
    98
	@if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
franta-hg@0
    99
	then \
franta-hg@0
   100
	    exit 1; \
franta-hg@0
   101
	fi
franta-hg@0
   102
franta-hg@0
   103
franta-hg@0
   104
# help
franta-hg@0
   105
.help-impl: .help-pre
franta-hg@0
   106
	@echo "This makefile supports the following configurations:"
franta-hg@0
   107
	@echo "    ${ALLCONFS}"
franta-hg@0
   108
	@echo ""
franta-hg@0
   109
	@echo "and the following targets:"
franta-hg@0
   110
	@echo "    build  (default target)"
franta-hg@0
   111
	@echo "    clean"
franta-hg@0
   112
	@echo "    clobber"
franta-hg@0
   113
	@echo "    all"
franta-hg@0
   114
	@echo "    help"
franta-hg@0
   115
	@echo ""
franta-hg@0
   116
	@echo "Makefile Usage:"
franta-hg@0
   117
	@echo "    make [CONF=<CONFIGURATION>] [SUB=no] build"
franta-hg@0
   118
	@echo "    make [CONF=<CONFIGURATION>] [SUB=no] clean"
franta-hg@0
   119
	@echo "    make [SUB=no] clobber"
franta-hg@0
   120
	@echo "    make [SUB=no] all"
franta-hg@0
   121
	@echo "    make help"
franta-hg@0
   122
	@echo ""
franta-hg@0
   123
	@echo "Target 'build' will build a specific configuration and, unless 'SUB=no',"
franta-hg@0
   124
	@echo "    also build subprojects."
franta-hg@0
   125
	@echo "Target 'clean' will clean a specific configuration and, unless 'SUB=no',"
franta-hg@0
   126
	@echo "    also clean subprojects."
franta-hg@0
   127
	@echo "Target 'clobber' will remove all built files from all configurations and,"
franta-hg@0
   128
	@echo "    unless 'SUB=no', also from subprojects."
franta-hg@0
   129
	@echo "Target 'all' will will build all configurations and, unless 'SUB=no',"
franta-hg@0
   130
	@echo "    also build subprojects."
franta-hg@0
   131
	@echo "Target 'help' prints this message."
franta-hg@0
   132
	@echo ""
franta-hg@0
   133