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