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ář
     1 # 
     2 # Generated Makefile - do not edit! 
     3 # 
     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.
     6 #
     7 # This makefile implements macros and targets common to all configurations.
     8 #
     9 # NOCDDL
    10 
    11 
    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'
    16 SUB_no=NO
    17 SUBPROJECTS=${SUB_${SUB}}
    18 BUILD_SUBPROJECTS_=.build-subprojects
    19 BUILD_SUBPROJECTS_NO=
    20 BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
    21 CLEAN_SUBPROJECTS_=.clean-subprojects
    22 CLEAN_SUBPROJECTS_NO=
    23 CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
    24 
    25 
    26 # Project Name
    27 PROJECTNAME=domain-socket-bridge
    28 
    29 # Active Configuration
    30 DEFAULTCONF=Debug
    31 CONF=${DEFAULTCONF}
    32 
    33 # All Configurations
    34 ALLCONFS=Debug Release 
    35 
    36 
    37 # build
    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
    41 
    42 
    43 # clean
    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
    47 
    48 
    49 # clobber 
    50 .clobber-impl: .clobber-pre .depcheck-impl
    51 	@#echo "=> Running $@..."
    52 	for CONF in ${ALLCONFS}; \
    53 	do \
    54 	    "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .clean-conf; \
    55 	done
    56 
    57 # all 
    58 .all-impl: .all-pre .depcheck-impl
    59 	@#echo "=> Running $@..."
    60 	for CONF in ${ALLCONFS}; \
    61 	do \
    62 	    "${MAKE}" -f nbproject/Makefile-$${CONF}.mk QMAKE=${QMAKE} SUBPROJECTS=${SUBPROJECTS} .build-conf; \
    63 	done
    64 
    65 # build tests
    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
    69 
    70 # run tests
    71 .test-impl: .build-tests-impl .test-pre
    72 	@#echo "=> Running $@... Configuration=$(CONF)"
    73 	"${MAKE}" -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .test-conf
    74 
    75 # dependency checking support
    76 .depcheck-impl:
    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; \
    83 	else \
    84 	    echo ".KEEP_STATE:" >>.dep.inc; \
    85 	    echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
    86 	fi
    87 
    88 # configuration validation
    89 .validate-impl:
    90 	@if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
    91 	then \
    92 	    echo ""; \
    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`; \
    96 	    echo ""; \
    97 	fi
    98 	@if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
    99 	then \
   100 	    exit 1; \
   101 	fi
   102 
   103 
   104 # help
   105 .help-impl: .help-pre
   106 	@echo "This makefile supports the following configurations:"
   107 	@echo "    ${ALLCONFS}"
   108 	@echo ""
   109 	@echo "and the following targets:"
   110 	@echo "    build  (default target)"
   111 	@echo "    clean"
   112 	@echo "    clobber"
   113 	@echo "    all"
   114 	@echo "    help"
   115 	@echo ""
   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"
   121 	@echo "    make help"
   122 	@echo ""
   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."
   132 	@echo ""
   133