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