Rev | Line | |
---|
[4] | 1 | #------------------------------------------------------------
|
---|
| 2 | # lower-case keys for lowercase-command-line option
|
---|
| 3 | #------------------------------------------------------------
|
---|
| 4 |
|
---|
| 5 | #------------------------------------------------------------
|
---|
| 6 | # xecuredb
|
---|
| 7 | #------------------------------------------------------------
|
---|
| 8 | # os-version
|
---|
| 9 | # > 32 or 64
|
---|
| 10 | ver = 64
|
---|
| 11 | VER = $(ver)
|
---|
| 12 |
|
---|
| 13 | # compile with debugging flag and definition
|
---|
| 14 | # > yes or no
|
---|
| 15 | debug = yes
|
---|
| 16 | DEBUG = $(debug)
|
---|
| 17 |
|
---|
| 18 | # product
|
---|
| 19 | PRODUCT_NAME = libcf++
|
---|
| 20 | PRODUCT_VERSION = 0.1dev
|
---|
| 21 |
|
---|
| 22 | # lib type
|
---|
| 23 | # > shared or static
|
---|
| 24 | libtype = static
|
---|
| 25 | LIBTYPE = $(libtype)
|
---|
| 26 |
|
---|
| 27 | # documentation
|
---|
| 28 | DOCUMENT_PATH = ../_doc
|
---|
| 29 |
|
---|
| 30 | # path
|
---|
| 31 | BUILD_PATH = ../_build
|
---|
| 32 |
|
---|
| 33 | #------------------------------------------------------------
|
---|
| 34 | # external tools or libraries
|
---|
| 35 | #------------------------------------------------------------
|
---|
| 36 | # java path
|
---|
| 37 | with-jni = no
|
---|
| 38 | WITH_JNI = $(with-jni)
|
---|
| 39 | USER_JAVA_HOME = ${HOME}/workspace/java/jdk1.5.0_12
|
---|
| 40 |
|
---|
| 41 | # link standard-library statically
|
---|
| 42 | # ex) libstdc++, libgcc ?
|
---|
| 43 | # > yes or no
|
---|
| 44 | static-std = no
|
---|
| 45 | STATIC_STD = $(static-std)
|
---|
| 46 |
|
---|
| 47 | #------------------------------------------------------------
|
---|
| 48 | # user definitions and options
|
---|
| 49 | #------------------------------------------------------------
|
---|
| 50 | # options for exp
|
---|
| 51 | # > yes or no
|
---|
| 52 |
|
---|
| 53 | # build-environment
|
---|
| 54 | ifeq ($(STATIC_STD),yes)
|
---|
| 55 | # not yet
|
---|
| 56 | USER_LDFLAGS += -static-libgcc
|
---|
| 57 | USER_LIBS += $(shell g++ -print-file-name=libstdc++.a)
|
---|
| 58 | endif
|
---|
| 59 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.