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