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