author | František Kučera <franta-hg@frantovo.cz> |
Mon, 21 Nov 2016 22:48:29 +0100 | |
changeset 43 | b54d76467040 |
parent 28 | 1fec66105b8e |
permissions | -rw-r--r-- |
franta-hg@28 | 1 |
# |
franta-hg@28 | 2 |
# There exist several targets which are by default empty and which can be |
franta-hg@28 | 3 |
# used for execution of your targets. These targets are usually executed |
franta-hg@28 | 4 |
# before and after some main targets. They are: |
franta-hg@28 | 5 |
# |
franta-hg@28 | 6 |
# .build-pre: called before 'build' target |
franta-hg@28 | 7 |
# .build-post: called after 'build' target |
franta-hg@28 | 8 |
# .clean-pre: called before 'clean' target |
franta-hg@28 | 9 |
# .clean-post: called after 'clean' target |
franta-hg@28 | 10 |
# .clobber-pre: called before 'clobber' target |
franta-hg@28 | 11 |
# .clobber-post: called after 'clobber' target |
franta-hg@28 | 12 |
# .all-pre: called before 'all' target |
franta-hg@28 | 13 |
# .all-post: called after 'all' target |
franta-hg@28 | 14 |
# .help-pre: called before 'help' target |
franta-hg@28 | 15 |
# .help-post: called after 'help' target |
franta-hg@28 | 16 |
# |
franta-hg@28 | 17 |
# Targets beginning with '.' are not intended to be called on their own. |
franta-hg@28 | 18 |
# |
franta-hg@28 | 19 |
# Main targets can be executed directly, and they are: |
franta-hg@28 | 20 |
# |
franta-hg@28 | 21 |
# build build a specific configuration |
franta-hg@28 | 22 |
# clean remove built files from a configuration |
franta-hg@28 | 23 |
# clobber remove all built files |
franta-hg@28 | 24 |
# all build all configurations |
franta-hg@28 | 25 |
# help print help mesage |
franta-hg@28 | 26 |
# |
franta-hg@28 | 27 |
# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and |
franta-hg@28 | 28 |
# .help-impl are implemented in nbproject/makefile-impl.mk. |
franta-hg@28 | 29 |
# |
franta-hg@28 | 30 |
# Available make variables: |
franta-hg@28 | 31 |
# |
franta-hg@28 | 32 |
# CND_BASEDIR base directory for relative paths |
franta-hg@28 | 33 |
# CND_DISTDIR default top distribution directory (build artifacts) |
franta-hg@28 | 34 |
# CND_BUILDDIR default top build directory (object files, ...) |
franta-hg@28 | 35 |
# CONF name of current configuration |
franta-hg@28 | 36 |
# CND_PLATFORM_${CONF} platform name (current configuration) |
franta-hg@28 | 37 |
# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration) |
franta-hg@28 | 38 |
# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration) |
franta-hg@28 | 39 |
# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration) |
franta-hg@28 | 40 |
# CND_PACKAGE_DIR_${CONF} directory of package (current configuration) |
franta-hg@28 | 41 |
# CND_PACKAGE_NAME_${CONF} name of package (current configuration) |
franta-hg@28 | 42 |
# CND_PACKAGE_PATH_${CONF} path to package (current configuration) |
franta-hg@28 | 43 |
# |
franta-hg@28 | 44 |
# NOCDDL |
franta-hg@28 | 45 |
|
franta-hg@28 | 46 |
|
franta-hg@28 | 47 |
# Environment |
franta-hg@28 | 48 |
MKDIR=mkdir |
franta-hg@28 | 49 |
CP=cp |
franta-hg@28 | 50 |
CCADMIN=CCadmin |
franta-hg@28 | 51 |
|
franta-hg@28 | 52 |
|
franta-hg@28 | 53 |
# build |
franta-hg@28 | 54 |
build: .build-post |
franta-hg@28 | 55 |
|
franta-hg@28 | 56 |
.build-pre: |
franta-hg@28 | 57 |
# Add your pre 'build' code here... |
franta-hg@28 | 58 |
|
franta-hg@28 | 59 |
.build-post: .build-impl |
franta-hg@28 | 60 |
# Add your post 'build' code here... |
franta-hg@28 | 61 |
|
franta-hg@28 | 62 |
|
franta-hg@28 | 63 |
# clean |
franta-hg@28 | 64 |
clean: .clean-post |
franta-hg@28 | 65 |
|
franta-hg@28 | 66 |
.clean-pre: |
franta-hg@28 | 67 |
# Add your pre 'clean' code here... |
franta-hg@28 | 68 |
|
franta-hg@28 | 69 |
.clean-post: .clean-impl |
franta-hg@28 | 70 |
# Add your post 'clean' code here... |
franta-hg@28 | 71 |
|
franta-hg@28 | 72 |
|
franta-hg@28 | 73 |
# clobber |
franta-hg@28 | 74 |
clobber: .clobber-post |
franta-hg@28 | 75 |
|
franta-hg@28 | 76 |
.clobber-pre: |
franta-hg@28 | 77 |
# Add your pre 'clobber' code here... |
franta-hg@28 | 78 |
|
franta-hg@28 | 79 |
.clobber-post: .clobber-impl |
franta-hg@28 | 80 |
# Add your post 'clobber' code here... |
franta-hg@28 | 81 |
|
franta-hg@28 | 82 |
|
franta-hg@28 | 83 |
# all |
franta-hg@28 | 84 |
all: .all-post |
franta-hg@28 | 85 |
|
franta-hg@28 | 86 |
.all-pre: |
franta-hg@28 | 87 |
# Add your pre 'all' code here... |
franta-hg@28 | 88 |
|
franta-hg@28 | 89 |
.all-post: .all-impl |
franta-hg@28 | 90 |
# Add your post 'all' code here... |
franta-hg@28 | 91 |
|
franta-hg@28 | 92 |
|
franta-hg@28 | 93 |
# build tests |
franta-hg@28 | 94 |
build-tests: .build-tests-post |
franta-hg@28 | 95 |
|
franta-hg@28 | 96 |
.build-tests-pre: |
franta-hg@28 | 97 |
# Add your pre 'build-tests' code here... |
franta-hg@28 | 98 |
|
franta-hg@28 | 99 |
.build-tests-post: .build-tests-impl |
franta-hg@28 | 100 |
# Add your post 'build-tests' code here... |
franta-hg@28 | 101 |
|
franta-hg@28 | 102 |
|
franta-hg@28 | 103 |
# run tests |
franta-hg@28 | 104 |
test: .test-post |
franta-hg@28 | 105 |
|
franta-hg@28 | 106 |
.test-pre: build-tests |
franta-hg@28 | 107 |
# Add your pre 'test' code here... |
franta-hg@28 | 108 |
|
franta-hg@28 | 109 |
.test-post: .test-impl |
franta-hg@28 | 110 |
# Add your post 'test' code here... |
franta-hg@28 | 111 |
|
franta-hg@28 | 112 |
|
franta-hg@28 | 113 |
# help |
franta-hg@28 | 114 |
help: .help-post |
franta-hg@28 | 115 |
|
franta-hg@28 | 116 |
.help-pre: |
franta-hg@28 | 117 |
# Add your pre 'help' code here... |
franta-hg@28 | 118 |
|
franta-hg@28 | 119 |
.help-post: .help-impl |
franta-hg@28 | 120 |
# Add your post 'help' code here... |
franta-hg@28 | 121 |
|
franta-hg@28 | 122 |
|
franta-hg@28 | 123 |
|
franta-hg@28 | 124 |
# include project implementation makefile |
franta-hg@28 | 125 |
include nbproject/Makefile-impl.mk |
franta-hg@28 | 126 |
|
franta-hg@28 | 127 |
# include project make variables |
franta-hg@28 | 128 |
include nbproject/Makefile-variables.mk |