Rev 1048 | Details | Compare with Previous | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 969 | runge | 1 | # |
| 2 | # There exist several targets which are by default empty and which can be |
||
| 3 | # used for execution of your targets. These targets are usually executed |
||
| 4 | # before and after some main targets. They are: |
||
| 5 | # |
||
| 6 | # .build-pre: called before 'build' target |
||
| 7 | # .build-post: called after 'build' target |
||
| 8 | # .clean-pre: called before 'clean' target |
||
| 9 | # .clean-post: called after 'clean' target |
||
| 10 | # .clobber-pre: called before 'clobber' target |
||
| 11 | # .clobber-post: called after 'clobber' target |
||
| 12 | # .all-pre: called before 'all' target |
||
| 13 | # .all-post: called after 'all' target |
||
| 14 | # .help-pre: called before 'help' target |
||
| 15 | # .help-post: called after 'help' target |
||
| 16 | # |
||
| 17 | # Targets beginning with '.' are not intended to be called on their own. |
||
| 18 | # |
||
| 19 | # Main targets can be executed directly, and they are: |
||
| 20 | # |
||
| 21 | # build build a specific configuration |
||
| 22 | # clean remove built files from a configuration |
||
| 23 | # clobber remove all built files |
||
| 24 | # all build all configurations |
||
| 25 | # help print help mesage |
||
| 26 | # |
||
| 27 | # Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and |
||
| 28 | # .help-impl are implemented in nbproject/makefile-impl.mk. |
||
| 29 | # |
||
| 30 | # NOCDDL |
||
| 31 | |||
| 32 | |||
| 33 | # Environment |
||
| 34 | MKDIR=mkdir |
||
| 35 | CP=cp |
||
| 36 | CCADMIN=CCadmin |
||
| 37 | RANLIB=ranlib |
||
| 38 | LDLIBSOPTIONS=-pthread |
||
| 39 | |||
| 40 | # build |
||
| 41 | build: .build-post |
||
| 42 | |||
| 43 | .build-pre: |
||
| 1428 | runge | 44 | # if test -e src/v8/libv8.a && test -e src/v8/libv8_g.a; then \ |
| 45 | # echo "Google V8 found"; \ |
||
| 46 | # else \ |
||
| 47 | # echo "Google V8 not found, running script..."; \ |
||
| 48 | # ./src/fetchV8.sh; \ |
||
| 49 | # fi |
||
| 969 | runge | 50 | |
| 51 | # Add your pre 'build' code here... |
||
| 52 | |||
| 53 | .build-post: .build-impl |
||
| 54 | # Add your post 'build' code here... |
||
| 55 | |||
| 56 | |||
| 57 | # clean |
||
| 58 | clean: .clean-post |
||
| 59 | |||
| 60 | .clean-pre: |
||
| 61 | # Add your pre 'clean' code here... |
||
| 62 | |||
| 63 | .clean-post: .clean-impl |
||
| 64 | # Add your post 'clean' code here... |
||
| 65 | |||
| 66 | |||
| 67 | # clobber |
||
| 68 | clobber: .clobber-post |
||
| 69 | |||
| 70 | .clobber-pre: |
||
| 71 | # Add your pre 'clobber' code here... |
||
| 72 | |||
| 73 | .clobber-post: .clobber-impl |
||
| 74 | # Add your post 'clobber' code here... |
||
| 75 | |||
| 76 | |||
| 77 | # all |
||
| 78 | all: .all-post |
||
| 79 | |||
| 80 | .all-pre: |
||
| 81 | # Add your pre 'all' code here... |
||
| 82 | |||
| 83 | .all-post: .all-impl |
||
| 84 | # Add your post 'all' code here... |
||
| 85 | |||
| 86 | |||
| 87 | # help |
||
| 88 | help: .help-post |
||
| 89 | |||
| 90 | .help-pre: |
||
| 91 | # Add your pre 'help' code here... |
||
| 92 | |||
| 93 | .help-post: .help-impl |
||
| 94 | # Add your post 'help' code here... |
||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | # include project implementation makefile |
||
| 99 | include nbproject/Makefile-impl.mk |