Subversion Repositories HomeAutomation

Rev

Go to most recent revision | Details | Last modification | View Log | SVN | RSS feed

Rev Author Line No. Line
969 runge 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=Atom
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 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 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 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 SUBPROJECTS=${SUBPROJECTS} .build-conf; \
63
	done
64
 
65
# dependency checking support
66
.depcheck-impl:
67
	@echo "# This code depends on make tool being used" >.dep.inc
68
	@if [ -n "${MAKE_VERSION}" ]; then \
69
	    echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \
70
	    echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
71
	    echo "include \$${DEPFILES}" >>.dep.inc; \
72
	    echo "endif" >>.dep.inc; \
73
	else \
74
	    echo ".KEEP_STATE:" >>.dep.inc; \
75
	    echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
76
	fi
77
 
78
# configuration validation
79
.validate-impl:
80
	@if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
81
	then \
82
	    echo ""; \
83
	    echo "Error: can not find the makefile for configuration '${CONF}' in project ${PROJECTNAME}"; \
84
	    echo "See 'make help' for details."; \
85
	    echo "Current directory: " `pwd`; \
86
	    echo ""; \
87
	fi
88
	@if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
89
	then \
90
	    exit 1; \
91
	fi
92
 
93
 
94
# help
95
.help-impl: .help-pre
96
	@echo "This makefile supports the following configurations:"
97
	@echo "    ${ALLCONFS}"
98
	@echo ""
99
	@echo "and the following targets:"
100
	@echo "    build  (default target)"
101
	@echo "    clean"
102
	@echo "    clobber"
103
	@echo "    all"
104
	@echo "    help"
105
	@echo ""
106
	@echo "Makefile Usage:"
107
	@echo "    make [CONF=<CONFIGURATION>] [SUB=no] build"
108
	@echo "    make [CONF=<CONFIGURATION>] [SUB=no] clean"
109
	@echo "    make [SUB=no] clobber"
110
	@echo "    make [SUB=no] all"
111
	@echo "    make help"
112
	@echo ""
113
	@echo "Target 'build' will build a specific configuration and, unless 'SUB=no',"
114
	@echo "    also build subprojects."
115
	@echo "Target 'clean' will clean a specific configuration and, unless 'SUB=no',"
116
	@echo "    also clean subprojects."
117
	@echo "Target 'clobber' will remove all built files from all configurations and,"
118
	@echo "    unless 'SUB=no', also from subprojects."
119
	@echo "Target 'all' will will build all configurations and, unless 'SUB=no',"
120
	@echo "    also build subprojects."
121
	@echo "Target 'help' prints this message."
122
	@echo ""
123