1*bfc39f3eSMatthias Ringwald# 2*bfc39f3eSMatthias Ringwald# There exist several targets which are by default empty and which can be 3*bfc39f3eSMatthias Ringwald# used for execution of your targets. These targets are usually executed 4*bfc39f3eSMatthias Ringwald# before and after some main targets. They are: 5*bfc39f3eSMatthias Ringwald# 6*bfc39f3eSMatthias Ringwald# .build-pre: called before 'build' target 7*bfc39f3eSMatthias Ringwald# .build-post: called after 'build' target 8*bfc39f3eSMatthias Ringwald# .clean-pre: called before 'clean' target 9*bfc39f3eSMatthias Ringwald# .clean-post: called after 'clean' target 10*bfc39f3eSMatthias Ringwald# .clobber-pre: called before 'clobber' target 11*bfc39f3eSMatthias Ringwald# .clobber-post: called after 'clobber' target 12*bfc39f3eSMatthias Ringwald# .all-pre: called before 'all' target 13*bfc39f3eSMatthias Ringwald# .all-post: called after 'all' target 14*bfc39f3eSMatthias Ringwald# .help-pre: called before 'help' target 15*bfc39f3eSMatthias Ringwald# .help-post: called after 'help' target 16*bfc39f3eSMatthias Ringwald# 17*bfc39f3eSMatthias Ringwald# Targets beginning with '.' are not intended to be called on their own. 18*bfc39f3eSMatthias Ringwald# 19*bfc39f3eSMatthias Ringwald# Main targets can be executed directly, and they are: 20*bfc39f3eSMatthias Ringwald# 21*bfc39f3eSMatthias Ringwald# build build a specific configuration 22*bfc39f3eSMatthias Ringwald# clean remove built files from a configuration 23*bfc39f3eSMatthias Ringwald# clobber remove all built files 24*bfc39f3eSMatthias Ringwald# all build all configurations 25*bfc39f3eSMatthias Ringwald# help print help mesage 26*bfc39f3eSMatthias Ringwald# 27*bfc39f3eSMatthias Ringwald# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and 28*bfc39f3eSMatthias Ringwald# .help-impl are implemented in nbproject/makefile-impl.mk. 29*bfc39f3eSMatthias Ringwald# 30*bfc39f3eSMatthias Ringwald# Available make variables: 31*bfc39f3eSMatthias Ringwald# 32*bfc39f3eSMatthias Ringwald# CND_BASEDIR base directory for relative paths 33*bfc39f3eSMatthias Ringwald# CND_DISTDIR default top distribution directory (build artifacts) 34*bfc39f3eSMatthias Ringwald# CND_BUILDDIR default top build directory (object files, ...) 35*bfc39f3eSMatthias Ringwald# CONF name of current configuration 36*bfc39f3eSMatthias Ringwald# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration) 37*bfc39f3eSMatthias Ringwald# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration) 38*bfc39f3eSMatthias Ringwald# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration) 39*bfc39f3eSMatthias Ringwald# CND_PACKAGE_DIR_${CONF} directory of package (current configuration) 40*bfc39f3eSMatthias Ringwald# CND_PACKAGE_NAME_${CONF} name of package (current configuration) 41*bfc39f3eSMatthias Ringwald# CND_PACKAGE_PATH_${CONF} path to package (current configuration) 42*bfc39f3eSMatthias Ringwald# 43*bfc39f3eSMatthias Ringwald# NOCDDL 44*bfc39f3eSMatthias Ringwald 45*bfc39f3eSMatthias Ringwald 46*bfc39f3eSMatthias Ringwald# Environment 47*bfc39f3eSMatthias RingwaldMKDIR=mkdir 48*bfc39f3eSMatthias RingwaldCP=cp 49*bfc39f3eSMatthias RingwaldCCADMIN=CCadmin 50*bfc39f3eSMatthias RingwaldRANLIB=ranlib 51*bfc39f3eSMatthias Ringwald 52*bfc39f3eSMatthias Ringwald 53*bfc39f3eSMatthias Ringwald# build 54*bfc39f3eSMatthias Ringwaldbuild: .build-post 55*bfc39f3eSMatthias Ringwald 56*bfc39f3eSMatthias Ringwald.build-pre: 57*bfc39f3eSMatthias Ringwald# Add your pre 'build' code here... 58*bfc39f3eSMatthias Ringwald 59*bfc39f3eSMatthias Ringwald.build-post: .build-impl 60*bfc39f3eSMatthias Ringwald# Add your post 'build' code here... 61*bfc39f3eSMatthias Ringwald 62*bfc39f3eSMatthias Ringwald 63*bfc39f3eSMatthias Ringwald# clean 64*bfc39f3eSMatthias Ringwaldclean: .clean-post 65*bfc39f3eSMatthias Ringwald 66*bfc39f3eSMatthias Ringwald.clean-pre: 67*bfc39f3eSMatthias Ringwald# Add your pre 'clean' code here... 68*bfc39f3eSMatthias Ringwald# WARNING: the IDE does not call this target since it takes a long time to 69*bfc39f3eSMatthias Ringwald# simply run make. Instead, the IDE removes the configuration directories 70*bfc39f3eSMatthias Ringwald# under build and dist directly without calling make. 71*bfc39f3eSMatthias Ringwald# This target is left here so people can do a clean when running a clean 72*bfc39f3eSMatthias Ringwald# outside the IDE. 73*bfc39f3eSMatthias Ringwald 74*bfc39f3eSMatthias Ringwald.clean-post: .clean-impl 75*bfc39f3eSMatthias Ringwald# Add your post 'clean' code here... 76*bfc39f3eSMatthias Ringwald 77*bfc39f3eSMatthias Ringwald 78*bfc39f3eSMatthias Ringwald# clobber 79*bfc39f3eSMatthias Ringwaldclobber: .clobber-post 80*bfc39f3eSMatthias Ringwald 81*bfc39f3eSMatthias Ringwald.clobber-pre: 82*bfc39f3eSMatthias Ringwald# Add your pre 'clobber' code here... 83*bfc39f3eSMatthias Ringwald 84*bfc39f3eSMatthias Ringwald.clobber-post: .clobber-impl 85*bfc39f3eSMatthias Ringwald# Add your post 'clobber' code here... 86*bfc39f3eSMatthias Ringwald 87*bfc39f3eSMatthias Ringwald 88*bfc39f3eSMatthias Ringwald# all 89*bfc39f3eSMatthias Ringwaldall: .all-post 90*bfc39f3eSMatthias Ringwald 91*bfc39f3eSMatthias Ringwald.all-pre: 92*bfc39f3eSMatthias Ringwald# Add your pre 'all' code here... 93*bfc39f3eSMatthias Ringwald 94*bfc39f3eSMatthias Ringwald.all-post: .all-impl 95*bfc39f3eSMatthias Ringwald# Add your post 'all' code here... 96*bfc39f3eSMatthias Ringwald 97*bfc39f3eSMatthias Ringwald 98*bfc39f3eSMatthias Ringwald# help 99*bfc39f3eSMatthias Ringwaldhelp: .help-post 100*bfc39f3eSMatthias Ringwald 101*bfc39f3eSMatthias Ringwald.help-pre: 102*bfc39f3eSMatthias Ringwald# Add your pre 'help' code here... 103*bfc39f3eSMatthias Ringwald 104*bfc39f3eSMatthias Ringwald.help-post: .help-impl 105*bfc39f3eSMatthias Ringwald# Add your post 'help' code here... 106*bfc39f3eSMatthias Ringwald 107*bfc39f3eSMatthias Ringwald 108*bfc39f3eSMatthias Ringwald 109*bfc39f3eSMatthias Ringwald# include project implementation makefile 110*bfc39f3eSMatthias Ringwaldinclude nbproject/Makefile-impl.mk 111*bfc39f3eSMatthias Ringwald 112*bfc39f3eSMatthias Ringwald# include project make variables 113*bfc39f3eSMatthias Ringwaldinclude nbproject/Makefile-variables.mk 114