office-gobmx/berkeleydb/makefile.mk

196 lines
5.7 KiB
Makefile
Raw Normal View History

2001-06-07 12:40:43 -05:00
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2008 by Sun Microsystems, Inc.
2001-06-07 12:40:43 -05:00
#
# OpenOffice.org - a multi-platform office productivity suite
2001-06-07 12:40:43 -05:00
#
# $RCSfile: makefile.mk,v $
2001-06-07 12:40:43 -05:00
#
# $Revision: 1.48 $
2001-06-07 12:40:43 -05:00
#
# This file is part of OpenOffice.org.
2001-06-07 12:40:43 -05:00
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
2001-06-07 12:40:43 -05:00
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
2001-06-07 12:40:43 -05:00
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
2001-06-07 12:40:43 -05:00
#
#*************************************************************************
PRJ=.
PRJNAME=so_berkeleydb
TARGET=so_berkeleydb
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
.IF "$(SYSTEM_DB)" == "YES"
all:
@echo "An already available installation of db should exist on your system."
2005-12-23 07:22:24 -06:00
@echo "Therefore the version provided here does not need to be built in addition."
.ENDIF
2001-06-07 12:40:43 -05:00
# --- Files --------------------------------------------------------
CWS-TOOLING: integrate CWS jl123 2009-08-04 12:34:31 +0200 jl r274615 : #i103742# added note regarding Berkeley update 2009-07-27 11:24:49 +0200 jl r274351 : #i100916# applying tono's patch 2009-07-22 16:29:54 +0200 jl r274248 : CWS-TOOLING: rebase CWS jl123 to trunk@274203 (milestone: DEV300:m53) 2009-07-21 11:49:45 +0200 jl r274172 : #100916# syncing data base with fcntl( F_FULLSYNC) failed with an unexpected error on Mac when buiding on NFS. Although there is a fallback using fsync, it was not used because of the unexpected error 2009-07-20 09:35:42 +0200 jl r274107 : #i100916# Applied tono's second patch 2009-07-16 16:41:24 +0200 jl r274062 : i100916 2009-07-13 14:47:32 +0200 jl r273936 : #i100916# deliver libdb-47.lib 2009-07-13 11:03:26 +0200 jl r273921 : #i100916# applied tono's patches for mingw 2009-07-10 14:34:22 +0200 jl r273895 : #i100916# renamed mingw patch 2009-07-10 14:33:36 +0200 jl r273894 : #i100916# renamed mingw patch 2009-07-10 14:04:39 +0200 jl r273890 : #i100916# new patch 2009-07-10 11:39:54 +0200 jl r273882 : #i100916# updating berkeleydb 2009-07-10 11:03:16 +0200 jl r273880 : #i100916# updating berkeleydb 2009-07-02 12:52:53 +0200 jl r273638 : CWS-TOOLING: rebase CWS jl127 to trunk@273468 (milestone: DEV300:m51) 2009-04-08 13:32:52 +0200 jl r270642 : #i100916# 2009-04-08 13:25:15 +0200 jl r270639 : #i100916# new version of berkeleydb 2009-04-08 12:37:14 +0200 jl r270634 : #i100916# changes for version 4.7.25 2009-04-08 12:36:08 +0200 jl r270633 : #i100916# new patch file for version 4.7.25 (no encryption)
2009-08-25 06:09:20 -05:00
TARFILE_NAME=db-4.7.25.NC-custom
TARFILE_ROOTDIR=db-4.7.25.NC
CWS-TOOLING: integrate CWS jl123 2009-08-04 12:34:31 +0200 jl r274615 : #i103742# added note regarding Berkeley update 2009-07-27 11:24:49 +0200 jl r274351 : #i100916# applying tono's patch 2009-07-22 16:29:54 +0200 jl r274248 : CWS-TOOLING: rebase CWS jl123 to trunk@274203 (milestone: DEV300:m53) 2009-07-21 11:49:45 +0200 jl r274172 : #100916# syncing data base with fcntl( F_FULLSYNC) failed with an unexpected error on Mac when buiding on NFS. Although there is a fallback using fsync, it was not used because of the unexpected error 2009-07-20 09:35:42 +0200 jl r274107 : #i100916# Applied tono's second patch 2009-07-16 16:41:24 +0200 jl r274062 : i100916 2009-07-13 14:47:32 +0200 jl r273936 : #i100916# deliver libdb-47.lib 2009-07-13 11:03:26 +0200 jl r273921 : #i100916# applied tono's patches for mingw 2009-07-10 14:34:22 +0200 jl r273895 : #i100916# renamed mingw patch 2009-07-10 14:33:36 +0200 jl r273894 : #i100916# renamed mingw patch 2009-07-10 14:04:39 +0200 jl r273890 : #i100916# new patch 2009-07-10 11:39:54 +0200 jl r273882 : #i100916# updating berkeleydb 2009-07-10 11:03:16 +0200 jl r273880 : #i100916# updating berkeleydb 2009-07-02 12:52:53 +0200 jl r273638 : CWS-TOOLING: rebase CWS jl127 to trunk@273468 (milestone: DEV300:m51) 2009-04-08 13:32:52 +0200 jl r270642 : #i100916# 2009-04-08 13:25:15 +0200 jl r270639 : #i100916# new version of berkeleydb 2009-04-08 12:37:14 +0200 jl r270634 : #i100916# changes for version 4.7.25 2009-04-08 12:36:08 +0200 jl r270633 : #i100916# new patch file for version 4.7.25 (no encryption)
2009-08-25 06:09:20 -05:00
ADDITIONAL_FILES= \
makefile.mk btree$/makefile.mk clib$/makefile.mk common$/makefile.mk \
cxx$/makefile.mk db$/makefile.mk dbm$/makefile.mk dbreg$/makefile.mk \
env$/makefile.mk fileops$/makefile.mk hash$/makefile.mk hmac$/makefile.mk \
hsearch$/makefile.mk lock$/makefile.mk log$/makefile.mk mp$/makefile.mk \
mutex$/makefile.mk os$/makefile.mk os_windows$/makefile.mk \
qam$/makefile.mk rep$/makefile.mk repmgr$/makefile.mk \
sequence$/makefile.mk txn$/makefile.mk xa$/makefile.mk \
db_4_7_gcc4.map
2001-06-07 12:40:43 -05:00
2001-06-20 12:43:52 -05:00
# not needed for win32. comment out when causing problems...
.IF "$(GUI)$(COM)"=="WNTGCC"
CWS-TOOLING: integrate CWS jl123 2009-08-04 12:34:31 +0200 jl r274615 : #i103742# added note regarding Berkeley update 2009-07-27 11:24:49 +0200 jl r274351 : #i100916# applying tono's patch 2009-07-22 16:29:54 +0200 jl r274248 : CWS-TOOLING: rebase CWS jl123 to trunk@274203 (milestone: DEV300:m53) 2009-07-21 11:49:45 +0200 jl r274172 : #100916# syncing data base with fcntl( F_FULLSYNC) failed with an unexpected error on Mac when buiding on NFS. Although there is a fallback using fsync, it was not used because of the unexpected error 2009-07-20 09:35:42 +0200 jl r274107 : #i100916# Applied tono's second patch 2009-07-16 16:41:24 +0200 jl r274062 : i100916 2009-07-13 14:47:32 +0200 jl r273936 : #i100916# deliver libdb-47.lib 2009-07-13 11:03:26 +0200 jl r273921 : #i100916# applied tono's patches for mingw 2009-07-10 14:34:22 +0200 jl r273895 : #i100916# renamed mingw patch 2009-07-10 14:33:36 +0200 jl r273894 : #i100916# renamed mingw patch 2009-07-10 14:04:39 +0200 jl r273890 : #i100916# new patch 2009-07-10 11:39:54 +0200 jl r273882 : #i100916# updating berkeleydb 2009-07-10 11:03:16 +0200 jl r273880 : #i100916# updating berkeleydb 2009-07-02 12:52:53 +0200 jl r273638 : CWS-TOOLING: rebase CWS jl127 to trunk@273468 (milestone: DEV300:m51) 2009-04-08 13:32:52 +0200 jl r270642 : #i100916# 2009-04-08 13:25:15 +0200 jl r270639 : #i100916# new version of berkeleydb 2009-04-08 12:37:14 +0200 jl r270634 : #i100916# changes for version 4.7.25 2009-04-08 12:36:08 +0200 jl r270633 : #i100916# new patch file for version 4.7.25 (no encryption)
2009-08-25 06:09:20 -05:00
PATCH_FILES=db-4.7.25-mingw.patch
.ELSE
CWS-TOOLING: integrate CWS jl123 2009-08-04 12:34:31 +0200 jl r274615 : #i103742# added note regarding Berkeley update 2009-07-27 11:24:49 +0200 jl r274351 : #i100916# applying tono's patch 2009-07-22 16:29:54 +0200 jl r274248 : CWS-TOOLING: rebase CWS jl123 to trunk@274203 (milestone: DEV300:m53) 2009-07-21 11:49:45 +0200 jl r274172 : #100916# syncing data base with fcntl( F_FULLSYNC) failed with an unexpected error on Mac when buiding on NFS. Although there is a fallback using fsync, it was not used because of the unexpected error 2009-07-20 09:35:42 +0200 jl r274107 : #i100916# Applied tono's second patch 2009-07-16 16:41:24 +0200 jl r274062 : i100916 2009-07-13 14:47:32 +0200 jl r273936 : #i100916# deliver libdb-47.lib 2009-07-13 11:03:26 +0200 jl r273921 : #i100916# applied tono's patches for mingw 2009-07-10 14:34:22 +0200 jl r273895 : #i100916# renamed mingw patch 2009-07-10 14:33:36 +0200 jl r273894 : #i100916# renamed mingw patch 2009-07-10 14:04:39 +0200 jl r273890 : #i100916# new patch 2009-07-10 11:39:54 +0200 jl r273882 : #i100916# updating berkeleydb 2009-07-10 11:03:16 +0200 jl r273880 : #i100916# updating berkeleydb 2009-07-02 12:52:53 +0200 jl r273638 : CWS-TOOLING: rebase CWS jl127 to trunk@273468 (milestone: DEV300:m51) 2009-04-08 13:32:52 +0200 jl r270642 : #i100916# 2009-04-08 13:25:15 +0200 jl r270639 : #i100916# new version of berkeleydb 2009-04-08 12:37:14 +0200 jl r270634 : #i100916# changes for version 4.7.25 2009-04-08 12:36:08 +0200 jl r270633 : #i100916# new patch file for version 4.7.25 (no encryption)
2009-08-25 06:09:20 -05:00
PATCH_FILES=db-4.7.25.patch
.ENDIF
2001-06-07 12:40:43 -05:00
2007-04-05 07:16:57 -05:00
# clean compiler flags
CFLAGS:=
CXXFLAGS:=
# disable aliasing for all GCC platforms, at least GCC 4.x needs it if
# optimization level >= 2
.IF "$(COM)"=="GCC"
CFLAGS:=-fno-strict-aliasing $(EXTRA_CFLAGS)
CXXFLAGS:=-fno-strict-aliasing $(EXTRA_CFLAGS)
.ENDIF
2001-06-07 12:40:43 -05:00
.IF "$(GUI)"=="UNX"
.IF "$(OS)$(COM)"=="LINUXGCC"
LDFLAGS:=-Wl,-rpath,'$$$$ORIGIN' -Wl,-z,noexecstack
.EXPORT: LDFLAGS
#The current dir when linking is unxlngi6.pro/misc/build/db-4.2.52.NC/out
# the map file is in unxlngi6.pro/misc/build/db-4.2.52.NC
CWS-TOOLING: integrate CWS jl123 2009-08-04 12:34:31 +0200 jl r274615 : #i103742# added note regarding Berkeley update 2009-07-27 11:24:49 +0200 jl r274351 : #i100916# applying tono's patch 2009-07-22 16:29:54 +0200 jl r274248 : CWS-TOOLING: rebase CWS jl123 to trunk@274203 (milestone: DEV300:m53) 2009-07-21 11:49:45 +0200 jl r274172 : #100916# syncing data base with fcntl( F_FULLSYNC) failed with an unexpected error on Mac when buiding on NFS. Although there is a fallback using fsync, it was not used because of the unexpected error 2009-07-20 09:35:42 +0200 jl r274107 : #i100916# Applied tono's second patch 2009-07-16 16:41:24 +0200 jl r274062 : i100916 2009-07-13 14:47:32 +0200 jl r273936 : #i100916# deliver libdb-47.lib 2009-07-13 11:03:26 +0200 jl r273921 : #i100916# applied tono's patches for mingw 2009-07-10 14:34:22 +0200 jl r273895 : #i100916# renamed mingw patch 2009-07-10 14:33:36 +0200 jl r273894 : #i100916# renamed mingw patch 2009-07-10 14:04:39 +0200 jl r273890 : #i100916# new patch 2009-07-10 11:39:54 +0200 jl r273882 : #i100916# updating berkeleydb 2009-07-10 11:03:16 +0200 jl r273880 : #i100916# updating berkeleydb 2009-07-02 12:52:53 +0200 jl r273638 : CWS-TOOLING: rebase CWS jl127 to trunk@273468 (milestone: DEV300:m51) 2009-04-08 13:32:52 +0200 jl r270642 : #i100916# 2009-04-08 13:25:15 +0200 jl r270639 : #i100916# new version of berkeleydb 2009-04-08 12:37:14 +0200 jl r270634 : #i100916# changes for version 4.7.25 2009-04-08 12:36:08 +0200 jl r270633 : #i100916# new patch file for version 4.7.25 (no encryption)
2009-08-25 06:09:20 -05:00
LDFLAGSVERSION:= -Wl,--version-script=../db_4_7_gcc4.map
.EXPORT: LDFLAGSVERSION
.ENDIF # "$(OS)$(COM)"=="LINUXGCC"
.IF "$(OS)$(COM)"=="SOLARISC52"
#.IF "$(BUILD_TOOLS)$/cc"=="$(shell +-which cc)"
#CC:=$(COMPATH)$/bin$/cc
#CXX:=$(COMPATH)$/bin$/CC
#.ENDIF # "$(BUILD_TOOLS)$/cc"=="$(shell +-which cc)"
LDFLAGS:=$(ARCH_FLAGS) -R\''$$$$ORIGIN'\'
.EXPORT: LDFLAGS
.ENDIF # "$(OS)$(COM)"=="SOLARISC52"
CWS-TOOLING: integrate CWS jl123 2009-08-04 12:34:31 +0200 jl r274615 : #i103742# added note regarding Berkeley update 2009-07-27 11:24:49 +0200 jl r274351 : #i100916# applying tono's patch 2009-07-22 16:29:54 +0200 jl r274248 : CWS-TOOLING: rebase CWS jl123 to trunk@274203 (milestone: DEV300:m53) 2009-07-21 11:49:45 +0200 jl r274172 : #100916# syncing data base with fcntl( F_FULLSYNC) failed with an unexpected error on Mac when buiding on NFS. Although there is a fallback using fsync, it was not used because of the unexpected error 2009-07-20 09:35:42 +0200 jl r274107 : #i100916# Applied tono's second patch 2009-07-16 16:41:24 +0200 jl r274062 : i100916 2009-07-13 14:47:32 +0200 jl r273936 : #i100916# deliver libdb-47.lib 2009-07-13 11:03:26 +0200 jl r273921 : #i100916# applied tono's patches for mingw 2009-07-10 14:34:22 +0200 jl r273895 : #i100916# renamed mingw patch 2009-07-10 14:33:36 +0200 jl r273894 : #i100916# renamed mingw patch 2009-07-10 14:04:39 +0200 jl r273890 : #i100916# new patch 2009-07-10 11:39:54 +0200 jl r273882 : #i100916# updating berkeleydb 2009-07-10 11:03:16 +0200 jl r273880 : #i100916# updating berkeleydb 2009-07-02 12:52:53 +0200 jl r273638 : CWS-TOOLING: rebase CWS jl127 to trunk@273468 (milestone: DEV300:m51) 2009-04-08 13:32:52 +0200 jl r270642 : #i100916# 2009-04-08 13:25:15 +0200 jl r270639 : #i100916# new version of berkeleydb 2009-04-08 12:37:14 +0200 jl r270634 : #i100916# changes for version 4.7.25 2009-04-08 12:36:08 +0200 jl r270633 : #i100916# new patch file for version 4.7.25 (no encryption)
2009-08-25 06:09:20 -05:00
2001-06-07 12:40:43 -05:00
CONFIGURE_DIR=out
#relative to CONFIGURE_DIR
CONFIGURE_ACTION= \
..$/dist$/configure
CONFIGURE_FLAGS=--disable-cxx --enable-dynamic --enable-shared --enable-compat185
# just pass ARCH_FLAGS to native build
CFLAGS+:=$(ARCH_FLAGS)
CXXFLAGS+:=$(ARCH_FLAGS)
.EXPORT : CFLAGS CXXFLAGS
2001-06-07 12:40:43 -05:00
BUILD_DIR=$(CONFIGURE_DIR)
BUILD_DIR_OUT=$(CONFIGURE_DIR)
CWS-TOOLING: integrate CWS jl123 2009-08-04 12:34:31 +0200 jl r274615 : #i103742# added note regarding Berkeley update 2009-07-27 11:24:49 +0200 jl r274351 : #i100916# applying tono's patch 2009-07-22 16:29:54 +0200 jl r274248 : CWS-TOOLING: rebase CWS jl123 to trunk@274203 (milestone: DEV300:m53) 2009-07-21 11:49:45 +0200 jl r274172 : #100916# syncing data base with fcntl( F_FULLSYNC) failed with an unexpected error on Mac when buiding on NFS. Although there is a fallback using fsync, it was not used because of the unexpected error 2009-07-20 09:35:42 +0200 jl r274107 : #i100916# Applied tono's second patch 2009-07-16 16:41:24 +0200 jl r274062 : i100916 2009-07-13 14:47:32 +0200 jl r273936 : #i100916# deliver libdb-47.lib 2009-07-13 11:03:26 +0200 jl r273921 : #i100916# applied tono's patches for mingw 2009-07-10 14:34:22 +0200 jl r273895 : #i100916# renamed mingw patch 2009-07-10 14:33:36 +0200 jl r273894 : #i100916# renamed mingw patch 2009-07-10 14:04:39 +0200 jl r273890 : #i100916# new patch 2009-07-10 11:39:54 +0200 jl r273882 : #i100916# updating berkeleydb 2009-07-10 11:03:16 +0200 jl r273880 : #i100916# updating berkeleydb 2009-07-02 12:52:53 +0200 jl r273638 : CWS-TOOLING: rebase CWS jl127 to trunk@273468 (milestone: DEV300:m51) 2009-04-08 13:32:52 +0200 jl r270642 : #i100916# 2009-04-08 13:25:15 +0200 jl r270639 : #i100916# new version of berkeleydb 2009-04-08 12:37:14 +0200 jl r270634 : #i100916# changes for version 4.7.25 2009-04-08 12:36:08 +0200 jl r270633 : #i100916# new patch file for version 4.7.25 (no encryption)
2009-08-25 06:09:20 -05:00
.IF "$(OS)"=="IRIX"
CONFIGURE_ACTION= $(CONFIG_SHELL) ..$/dist$/configure
BUILD_ACTION=gmake
.ELSE
2001-06-07 12:40:43 -05:00
BUILD_ACTION=make
.ENDIF
2001-06-07 12:40:43 -05:00
OUT2LIB=$(BUILD_DIR)$/.libs$/libdb*$(DLLPOST)
OUT2INC= \
$(BUILD_DIR)$/db.h
2001-06-07 12:40:43 -05:00
.ENDIF # "$(GUI)"=="UNX"
.IF "$(GUI)"=="WNT"
.IF "$(COM)"=="GCC"
CONFIGURE_DIR=out
#relative to CONFIGURE_DIR
# TODO needs clean up
CFLAGS+=-nostdinc -D_MT
CWS-TOOLING: integrate CWS jl123 2009-08-04 12:34:31 +0200 jl r274615 : #i103742# added note regarding Berkeley update 2009-07-27 11:24:49 +0200 jl r274351 : #i100916# applying tono's patch 2009-07-22 16:29:54 +0200 jl r274248 : CWS-TOOLING: rebase CWS jl123 to trunk@274203 (milestone: DEV300:m53) 2009-07-21 11:49:45 +0200 jl r274172 : #100916# syncing data base with fcntl( F_FULLSYNC) failed with an unexpected error on Mac when buiding on NFS. Although there is a fallback using fsync, it was not used because of the unexpected error 2009-07-20 09:35:42 +0200 jl r274107 : #i100916# Applied tono's second patch 2009-07-16 16:41:24 +0200 jl r274062 : i100916 2009-07-13 14:47:32 +0200 jl r273936 : #i100916# deliver libdb-47.lib 2009-07-13 11:03:26 +0200 jl r273921 : #i100916# applied tono's patches for mingw 2009-07-10 14:34:22 +0200 jl r273895 : #i100916# renamed mingw patch 2009-07-10 14:33:36 +0200 jl r273894 : #i100916# renamed mingw patch 2009-07-10 14:04:39 +0200 jl r273890 : #i100916# new patch 2009-07-10 11:39:54 +0200 jl r273882 : #i100916# updating berkeleydb 2009-07-10 11:03:16 +0200 jl r273880 : #i100916# updating berkeleydb 2009-07-02 12:52:53 +0200 jl r273638 : CWS-TOOLING: rebase CWS jl127 to trunk@273468 (milestone: DEV300:m51) 2009-04-08 13:32:52 +0200 jl r270642 : #i100916# 2009-04-08 13:25:15 +0200 jl r270639 : #i100916# new version of berkeleydb 2009-04-08 12:37:14 +0200 jl r270634 : #i100916# changes for version 4.7.25 2009-04-08 12:36:08 +0200 jl r270633 : #i100916# new patch file for version 4.7.25 (no encryption)
2009-08-25 06:09:20 -05:00
db_CC=$(CC)
db_CXX=$(CXX)
.IF "$(MINGW_SHARED_GCCLIB)"=="YES"
db_CC+=-shared-libgcc
db_CXX+=-shared-libgcc
.ENDIF
db_LDFLAGS=-no-undefined -L$(SOLARVER)/$(INPATH)/lib -L$(SOLARVER)/$(INPATH)/bin
.IF "$(USE_MINGW)"=="cygwin"
CWS-TOOLING: integrate CWS jl123 2009-08-04 12:34:31 +0200 jl r274615 : #i103742# added note regarding Berkeley update 2009-07-27 11:24:49 +0200 jl r274351 : #i100916# applying tono's patch 2009-07-22 16:29:54 +0200 jl r274248 : CWS-TOOLING: rebase CWS jl123 to trunk@274203 (milestone: DEV300:m53) 2009-07-21 11:49:45 +0200 jl r274172 : #100916# syncing data base with fcntl( F_FULLSYNC) failed with an unexpected error on Mac when buiding on NFS. Although there is a fallback using fsync, it was not used because of the unexpected error 2009-07-20 09:35:42 +0200 jl r274107 : #i100916# Applied tono's second patch 2009-07-16 16:41:24 +0200 jl r274062 : i100916 2009-07-13 14:47:32 +0200 jl r273936 : #i100916# deliver libdb-47.lib 2009-07-13 11:03:26 +0200 jl r273921 : #i100916# applied tono's patches for mingw 2009-07-10 14:34:22 +0200 jl r273895 : #i100916# renamed mingw patch 2009-07-10 14:33:36 +0200 jl r273894 : #i100916# renamed mingw patch 2009-07-10 14:04:39 +0200 jl r273890 : #i100916# new patch 2009-07-10 11:39:54 +0200 jl r273882 : #i100916# updating berkeleydb 2009-07-10 11:03:16 +0200 jl r273880 : #i100916# updating berkeleydb 2009-07-02 12:52:53 +0200 jl r273638 : CWS-TOOLING: rebase CWS jl127 to trunk@273468 (milestone: DEV300:m51) 2009-04-08 13:32:52 +0200 jl r270642 : #i100916# 2009-04-08 13:25:15 +0200 jl r270639 : #i100916# new version of berkeleydb 2009-04-08 12:37:14 +0200 jl r270634 : #i100916# changes for version 4.7.25 2009-04-08 12:36:08 +0200 jl r270633 : #i100916# new patch file for version 4.7.25 (no encryption)
2009-08-25 06:09:20 -05:00
db_LDFLAGS+=-L$(COMPATH)/lib/mingw -L$(COMPATH)/lib/w32api
.ENDIF
db_LDFLAGS+=-L$(COMPATH)/lib -L$(MINGW_CLIB_DIR)
CWS-TOOLING: integrate CWS jl123 2009-08-04 12:34:31 +0200 jl r274615 : #i103742# added note regarding Berkeley update 2009-07-27 11:24:49 +0200 jl r274351 : #i100916# applying tono's patch 2009-07-22 16:29:54 +0200 jl r274248 : CWS-TOOLING: rebase CWS jl123 to trunk@274203 (milestone: DEV300:m53) 2009-07-21 11:49:45 +0200 jl r274172 : #100916# syncing data base with fcntl( F_FULLSYNC) failed with an unexpected error on Mac when buiding on NFS. Although there is a fallback using fsync, it was not used because of the unexpected error 2009-07-20 09:35:42 +0200 jl r274107 : #i100916# Applied tono's second patch 2009-07-16 16:41:24 +0200 jl r274062 : i100916 2009-07-13 14:47:32 +0200 jl r273936 : #i100916# deliver libdb-47.lib 2009-07-13 11:03:26 +0200 jl r273921 : #i100916# applied tono's patches for mingw 2009-07-10 14:34:22 +0200 jl r273895 : #i100916# renamed mingw patch 2009-07-10 14:33:36 +0200 jl r273894 : #i100916# renamed mingw patch 2009-07-10 14:04:39 +0200 jl r273890 : #i100916# new patch 2009-07-10 11:39:54 +0200 jl r273882 : #i100916# updating berkeleydb 2009-07-10 11:03:16 +0200 jl r273880 : #i100916# updating berkeleydb 2009-07-02 12:52:53 +0200 jl r273638 : CWS-TOOLING: rebase CWS jl127 to trunk@273468 (milestone: DEV300:m51) 2009-04-08 13:32:52 +0200 jl r270642 : #i100916# 2009-04-08 13:25:15 +0200 jl r270639 : #i100916# new version of berkeleydb 2009-04-08 12:37:14 +0200 jl r270634 : #i100916# changes for version 4.7.25 2009-04-08 12:36:08 +0200 jl r270633 : #i100916# new patch file for version 4.7.25 (no encryption)
2009-08-25 06:09:20 -05:00
db_LIBS=-lmingwthrd
.IF "$(MINGW_SHARED_GXXLIB)"=="YES"
db_LIBS+=-lstdc++_s
.ENDIF
db_LIBXSO_LIBS=$(LIBSTLPORT) $(db_LIBS)
.IF "$(MINGW_SHARED_GCCLIB)"=="YES"
db_LIBXSO_LIBS+=-lgcc_s
.ENDIF
CONFIGURE_ACTION=..$/dist$/configure
CONFIGURE_FLAGS=--enable-cxx --enable-dynamic --enable-shared --build=i586-pc-mingw32 --host=i586-pc-mingw32 --enable-mingw CC="$(db_CC)" CXX="$(db_CXX)" LN_S=ln NM="$(WRAPCMD) nm" OBJDUMP="$(WRAPCMD) objdump" JAVA="$(WRAPCMD) -env java" JAVAC="$(WRAPCMD) -env javac" CFLAGS="$(CFLAGS)" CPPFLAGS="$(INCLUDE)" LDFLAGS="$(db_LDFLAGS)" LIBS="$(db_LIBS)" LIBSO_LIBS="$(db_LIBS)" LIBJSO_LIBS="$(db_LIBS)" LIBXSO_LIBS="$(db_LIBXSO_LIBS)"
BUILD_DIR=$(CONFIGURE_DIR)
BUILD_DIR_OUT=$(CONFIGURE_DIR)
BUILD_ACTION=make
CWS-TOOLING: integrate CWS jl123 2009-08-04 12:34:31 +0200 jl r274615 : #i103742# added note regarding Berkeley update 2009-07-27 11:24:49 +0200 jl r274351 : #i100916# applying tono's patch 2009-07-22 16:29:54 +0200 jl r274248 : CWS-TOOLING: rebase CWS jl123 to trunk@274203 (milestone: DEV300:m53) 2009-07-21 11:49:45 +0200 jl r274172 : #100916# syncing data base with fcntl( F_FULLSYNC) failed with an unexpected error on Mac when buiding on NFS. Although there is a fallback using fsync, it was not used because of the unexpected error 2009-07-20 09:35:42 +0200 jl r274107 : #i100916# Applied tono's second patch 2009-07-16 16:41:24 +0200 jl r274062 : i100916 2009-07-13 14:47:32 +0200 jl r273936 : #i100916# deliver libdb-47.lib 2009-07-13 11:03:26 +0200 jl r273921 : #i100916# applied tono's patches for mingw 2009-07-10 14:34:22 +0200 jl r273895 : #i100916# renamed mingw patch 2009-07-10 14:33:36 +0200 jl r273894 : #i100916# renamed mingw patch 2009-07-10 14:04:39 +0200 jl r273890 : #i100916# new patch 2009-07-10 11:39:54 +0200 jl r273882 : #i100916# updating berkeleydb 2009-07-10 11:03:16 +0200 jl r273880 : #i100916# updating berkeleydb 2009-07-02 12:52:53 +0200 jl r273638 : CWS-TOOLING: rebase CWS jl127 to trunk@273468 (milestone: DEV300:m51) 2009-04-08 13:32:52 +0200 jl r270642 : #i100916# 2009-04-08 13:25:15 +0200 jl r270639 : #i100916# new version of berkeleydb 2009-04-08 12:37:14 +0200 jl r270634 : #i100916# changes for version 4.7.25 2009-04-08 12:36:08 +0200 jl r270633 : #i100916# new patch file for version 4.7.25 (no encryption)
2009-08-25 06:09:20 -05:00
OUT2LIB=$(BUILD_DIR)$/.libs$/libdb47.dll.a
OUT2BIN=$(BUILD_DIR)$/.libs$/libdb47.dll
OUT2INC= \
$(BUILD_DIR)$/db.h
.IF "$(GUI)$(COM)"=="WNTGCC"
.EXPORT : PWD
.ENDIF
.ELSE
2002-03-22 03:59:20 -06:00
# make use of stlport headerfiles
EXT_USE_STLPORT=TRUE
2001-06-07 12:40:43 -05:00
.IF "$(USE_SHELL)"!="4nt"
BUILD_ACTION_SEP=;
.ELSE # "$(USE_SHELL)"!="4nt"
BUILD_ACTION_SEP=^
.ENDIF # "$(USE_SHELL)"!="4nt"
BUILD_DIR=
BUILD_ACTION=dmake
2001-06-07 12:40:43 -05:00
CWS-TOOLING: integrate CWS jl123 2009-08-04 12:34:31 +0200 jl r274615 : #i103742# added note regarding Berkeley update 2009-07-27 11:24:49 +0200 jl r274351 : #i100916# applying tono's patch 2009-07-22 16:29:54 +0200 jl r274248 : CWS-TOOLING: rebase CWS jl123 to trunk@274203 (milestone: DEV300:m53) 2009-07-21 11:49:45 +0200 jl r274172 : #100916# syncing data base with fcntl( F_FULLSYNC) failed with an unexpected error on Mac when buiding on NFS. Although there is a fallback using fsync, it was not used because of the unexpected error 2009-07-20 09:35:42 +0200 jl r274107 : #i100916# Applied tono's second patch 2009-07-16 16:41:24 +0200 jl r274062 : i100916 2009-07-13 14:47:32 +0200 jl r273936 : #i100916# deliver libdb-47.lib 2009-07-13 11:03:26 +0200 jl r273921 : #i100916# applied tono's patches for mingw 2009-07-10 14:34:22 +0200 jl r273895 : #i100916# renamed mingw patch 2009-07-10 14:33:36 +0200 jl r273894 : #i100916# renamed mingw patch 2009-07-10 14:04:39 +0200 jl r273890 : #i100916# new patch 2009-07-10 11:39:54 +0200 jl r273882 : #i100916# updating berkeleydb 2009-07-10 11:03:16 +0200 jl r273880 : #i100916# updating berkeleydb 2009-07-02 12:52:53 +0200 jl r273638 : CWS-TOOLING: rebase CWS jl127 to trunk@273468 (milestone: DEV300:m51) 2009-04-08 13:32:52 +0200 jl r270642 : #i100916# 2009-04-08 13:25:15 +0200 jl r270639 : #i100916# new version of berkeleydb 2009-04-08 12:37:14 +0200 jl r270634 : #i100916# changes for version 4.7.25 2009-04-08 12:36:08 +0200 jl r270633 : #i100916# new patch file for version 4.7.25 (no encryption)
2009-08-25 06:09:20 -05:00
BUILD_DIR_OUT=build_windows
#OUT2LIB= \
# $(BUILD_DIR_OUT)$/Release$/libdb42.lib
#OUT2BIN=$(BUILD_DIR_OUT)$/Release$/libdb42.dll
2001-06-07 12:40:43 -05:00
OUT2INC= \
$(BUILD_DIR_OUT)$/db.h
.ENDIF
.ENDIF # "$(GUI)"=="WNT"
2001-06-07 12:40:43 -05:00
# --- Targets ------------------------------------------------------
.INCLUDE : set_ext.mk
.INCLUDE : target.mk
.INCLUDE : tg_ext.mk