43856e18c9
2009-09-01 sb #i76393# second attempt at properly #ifdef-ing previous HG commit d598efdbf012 2009-08-28 sb #i102469# change back <T extends XInterface> to just <T> on queryInterface, to avoid binary incompatibility (method changing its signature from (Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object; to (Ljava/lang/Class;Ljava/lang/Object;)Lcom/sun/star/uno/XInterface;) 2009-08-28 sb #i76393# properly #ifdef previous HG commit d598efdbf012 2009-08-27 sb #i94421# work around compiler error (based on a patch supplied by cloph) 2009-08-26 sb merged in DEV300_m56 2009-08-26 sb #i76393# on Linux, include dynamic section offset in crash report so as to be able to map "prelinked" callstacks back to original (patch by cmc) 2009-08-26 sb #i88162# remove unnecessary whitespace lines from per-locale xcu files (patch by tora) 2009-08-17 Juergen Schmidt #i104292# set context classloader after create new custom UNO loader 2009-08-17 Juergen Schmidt #i103749# integrate patch 2009-08-14 sb #i103269# cherry-picked ssh://hg@hg.services.openoffice.org/cws/sb111 -r 5124ebd5edd1 ("#i101955# changed encoding of XML file content from erroneous ISO-8859-1 to UTF-8") 2009-08-12 sb #i102469# fixed mis-applications of UnoRuntime.queryInterface (detected via the simplified UnoRuntime.queryInterface, the HG changeset 29de35fc9554) to use AnyConverter instead; changed qadevOOo's lib.MultiMethodTest.before to allow throwing arbitrary exceptions, to cater for IllegalArgumentException thrown by AnyConverter 2009-08-12 sb #i104178# drop extra libxml2-config script from libxmlsec 2009-08-10 sb #i101754# simplified osl_getProcessInfo for LINUX (patch by cmc) 2009-08-10 sb #i95018# avoid closing -1 fds (patch supplied by cmc) 2009-08-10 sb #i103585# removed (apparently unnecessary) zlib support from libxml2; in turn, removed zlib dependencies from libxmlsec, libxslt, and redland (assuming those were transitive dependencies brought in by direct dependencies on libxml2) 2009-08-10 sb #i102469# simplified UnoRuntime.queryInterface using Java 5 generics; adapted URE-related modules accordingly 2009-08-10 sb #i101213# adapted setsolar env (solenv/config/) to set PYTHONPATH (and not set PYTHONHOME) in accordance with configure env (set_soenv.in); fixed testtools/source/bridgetest/pyuno (which now should work everywhere out of the box, thanks to the fixed setsolar PYTHONPATH) 2009-08-10 sb cherry-picked ssh://hg@hg.services.openoffice.org/cws/sb111 -r ea8de6d9396b ("#i101955# work in progress for a .hgignore file, continued")
151 lines
4.6 KiB
Makefile
151 lines
4.6 KiB
Makefile
#*************************************************************************
|
|
#
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
#
|
|
# Copyright 2008 by Sun Microsystems, Inc.
|
|
#
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
|
#
|
|
# $RCSfile: makefile.mk,v $
|
|
#
|
|
# $Revision: 1.16 $
|
|
#
|
|
# This file is part of OpenOffice.org.
|
|
#
|
|
# 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.
|
|
#
|
|
# 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).
|
|
#
|
|
# 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.
|
|
#
|
|
#*************************************************************************
|
|
|
|
PRJ=.
|
|
|
|
PRJNAME=libxslt
|
|
TARGET=so_libxslt
|
|
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
.INCLUDE : settings.mk
|
|
|
|
.IF "$(SYSTEM_LIBXSLT)" == "YES"
|
|
all:
|
|
@echo "An already available installation of libxslt should exist on your system."
|
|
@echo "Therefore the version provided here does not need to be built in addition."
|
|
.ENDIF
|
|
|
|
# --- Files --------------------------------------------------------
|
|
|
|
.IF "$(L10N_framework)"==""
|
|
|
|
.INCLUDE : libxsltversion.mk
|
|
|
|
LIBXSLTVERSION=$(LIBXSLT_MAJOR).$(LIBXSLT_MINOR).$(LIBXSLT_MICRO)
|
|
|
|
TARFILE_NAME=$(PRJNAME)-$(LIBXSLTVERSION)
|
|
PATCH_FILES=$(TARFILE_NAME).patch $(TARFILE_NAME)_win_manifest.patch
|
|
|
|
# This is only for UNX environment now
|
|
.IF "$(OS)"=="WNT"
|
|
.IF "$(COM)"=="GCC"
|
|
xslt_CC=$(CC)
|
|
.IF "$(MINGW_SHARED_GCCLIB)"=="YES"
|
|
xslt_CC+=-shared-libgcc
|
|
.ENDIF
|
|
xslt_LIBS=-lmingwthrd
|
|
.IF "$(MINGW_SHARED_GXXLIB)"=="YES"
|
|
xslt_LIBS+=-lstdc++_s
|
|
.ENDIF
|
|
CONFIGURE_DIR=
|
|
CONFIGURE_ACTION=.$/configure
|
|
CONFIGURE_FLAGS=--enable-ipv6=no --without-crypto --without-python --enable-static=no --with-sax1=yes --build=i586-pc-mingw32 --host=i586-pc-mingw32 CC="$(xslt_CC)" CFLAGS="$(xslt_CFLAGS) -D_MT" LDFLAGS="-no-undefined -L$(ILIB:s/;/ -L/)" LIBS="$(xslt_LIBS)" LIBXML2LIB=$(LIBXML2LIB) OBJDUMP="$(WRAPCMD) objdump"
|
|
BUILD_ACTION=chmod 777 xslt-config && $(GNUMAKE)
|
|
BUILD_FLAGS+= -j$(EXTMAXPROCESS)
|
|
BUILD_DIR=$(CONFIGURE_DIR)
|
|
.IF "$(GUI)$(COM)"=="WNTGCC"
|
|
.EXPORT : PWD
|
|
.ENDIF
|
|
.ELSE
|
|
CONFIGURE_DIR=win32
|
|
CONFIGURE_ACTION=cscript configure.js
|
|
#CONFIGURE_FLAGS=iconv=no sax1=yes
|
|
.IF "$(debug)"!=""
|
|
CONFIGURE_FLAGS+=debug=yes
|
|
.ENDIF
|
|
BUILD_ACTION=nmake
|
|
BUILD_DIR=$(CONFIGURE_DIR)
|
|
.ENDIF
|
|
.ELSE
|
|
|
|
.IF "$(OS)$(COM)"=="LINUXGCC" || "$(OS)$(COM)"=="FREEBSDGCC"
|
|
LDFLAGS:=-Wl,-rpath,'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib' -Wl,-noinhibit-exec -Wl,-z,noexecstack
|
|
.ENDIF # "$(OS)$(COM)"=="LINUXGCC"
|
|
.IF "$(OS)$(COM)"=="SOLARISC52"
|
|
LDFLAGS:=-Wl,-R'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib'
|
|
.ENDIF # "$(OS)$(COM)"=="SOLARISC52"
|
|
|
|
.IF "$(SYSBASE)"!=""
|
|
CPPFLAGS+:=-I$(SOLARINCDIR)$/external -I$(SYSBASE)$/usr$/include $(EXTRA_CFLAGS)
|
|
.IF "$(OS)"=="SOLARIS" || "$(OS)"=="LINUX"
|
|
LDFLAGS+:=-L$(SOLARLIBDIR) -L$(SYSBASE)$/lib -L$(SYSBASE)$/usr$/lib -lpthread -ldl
|
|
.ENDIF
|
|
.ENDIF # "$(SYSBASE)"!=""
|
|
|
|
.EXPORT: CPPFLAGS
|
|
.EXPORT: LDFLAGS
|
|
.EXPORT: LIBXML2LIB
|
|
|
|
.IF "$(COMNAME)"=="sunpro5"
|
|
CPPFLAGS+:=$(ARCH_FLAGS) -xc99=none
|
|
.ENDIF # "$(COMNAME)"=="sunpro5"
|
|
CONFIGURE_DIR=
|
|
CONFIGURE_ACTION=.$/configure
|
|
CONFIGURE_FLAGS=--enable-ipv6=no --without-crypto --without-python --enable-static=no --with-sax1=yes
|
|
BUILD_ACTION=chmod 777 xslt-config && $(GNUMAKE)
|
|
BUILD_FLAGS+= -j$(EXTMAXPROCESS)
|
|
BUILD_DIR=$(CONFIGURE_DIR)
|
|
.ENDIF
|
|
|
|
OUT2INC=libxslt$/*.h
|
|
|
|
.IF "$(OS)"=="MACOSX"
|
|
OUT2LIB+=libxslt$/.libs$/libxslt.*.dylib
|
|
OUT2LIB+=libexslt$/.libs$/libexslt.*.dylib
|
|
OUT2BIN+=xsltproc$/.libs$/xsltproc
|
|
OUT2BIN+=xslt-config
|
|
.ELIF "$(OS)"=="WNT"
|
|
.IF "$(COM)"=="GCC"
|
|
OUT2LIB+=libxslt$/.libs$/*.a
|
|
OUT2LIB+=libexslt$/.libs$/*.a
|
|
OUT2BIN+=libxslt$/.libs$/*.dll
|
|
OUT2BIN+=libexslt$/.libs$/*.dll
|
|
OUT2BIN+=xsltproc$/.libs$/*.exe*
|
|
OUT2BIN+=xslt-config
|
|
.ELSE
|
|
OUT2LIB+=win32$/bin.msvc$/*.lib
|
|
OUT2BIN+=win32$/bin.msvc$/*.dll
|
|
OUT2BIN+=win32$/bin.msvc$/*.exe
|
|
.ENDIF
|
|
.ELSE
|
|
OUT2LIB+=libxslt$/.libs$/libxslt.so*
|
|
OUT2LIB+=libexslt$/.libs$/libexslt.so*
|
|
OUT2BIN+=xsltproc$/.libs$/xsltproc
|
|
OUT2BIN+=xslt-config
|
|
.ENDIF
|
|
|
|
# --- Targets ------------------------------------------------------
|
|
.ENDIF # L10N_framework
|
|
.INCLUDE : set_ext.mk
|
|
.INCLUDE : target.mk
|
|
.INCLUDE : tg_ext.mk
|
|
|