diff options
author | obo <obo@openoffice.org> | 2010-06-09 08:34:10 +0200 |
---|---|---|
committer | obo <obo@openoffice.org> | 2010-06-09 08:34:10 +0200 |
commit | e7ea89c2b1f738d14b02b61078451757d0fdc49d (patch) | |
tree | f8beb3ca736fccbb15cf180d14e78d7b402cb75a /odk/settings | |
parent | 9508dee30bd22af4e5e3e81ff171db768dce9e24 (diff) | |
parent | 7e7496bceecb366e9edaf885d41ece736218ceb5 (diff) |
CWS-TOOLING: integrate CWS kfreebsdport01v2
Notes
Notes:
split repo tag: sdk_ooo/DEV300_m82
split repo tag: sdk_ooo/DEV300_m83
Diffstat (limited to 'odk/settings')
-rw-r--r-- | odk/settings/settings.mk | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/odk/settings/settings.mk b/odk/settings/settings.mk index 74c1393496b2..188ff880255e 100644 --- a/odk/settings/settings.mk +++ b/odk/settings/settings.mk @@ -498,13 +498,37 @@ ifneq (,$(findstring freebsd,$(PLATFORM))) PROCTYPE := $(shell $(PRJ)/config.guess | cut -d"-" -f1) -# Default is freebsd on a intel machine +ifeq (kfreebsd,$(findstring kfreebsd,$(PLATFORM))) +PLATFORM=kfreebsd +ifeq "$(PROCTYPE)" "x86_64" +PACKAGE_LIB_DIR=kfreebsd_x86_64.plt +UNOPKG_PLATFORM=kFreeBSD_x86_64 +else +PACKAGE_LIB_DIR=kfreebsd_x86.plt +UNOPKG_PLATFORM=kFreeBSD_x86 +endif +else PLATFORM=freebsd +ifeq "$(PROCTYPE)" "x86_64" +PACKAGE_LIB_DIR=freebsd_x86_64.plt +UNOPKG_PLATFORM=FreeBSD_x86_64 +else PACKAGE_LIB_DIR=freebsd_x86.plt UNOPKG_PLATFORM=FreeBSD_x86 +endif +endif + +ifeq "$(PROCTYPE)" "x86_64" +JAVA_PROC_TYPE=amd64 +else JAVA_PROC_TYPE=i386 +endif +ifeq (kfreebsd,$(findstring kfreebsd,$(PLATFORM))) +OS=LINUX +else OS=FREEBSD +endif PS=/ ICL=\$$ CC=gcc @@ -520,13 +544,8 @@ SHAREDLIB_OUT=$(OUT_LIB) GCC_VERSION=$(shell $(CC) -dumpversion) -ifeq "$(shell echo $(GCC_VERSION) | cut -c 1)" "3" COMID=gcc3 CPPU_ENV=gcc3 -else -COMID=GCC -CPPU_ENV=gcc2 -endif OSEP=\< CSEP=\> |