Kaydet (Commit) d0c301bb authored tarafından Matúš Kukan's avatar Matúš Kukan

convert package to gbuild

üst 5e4c9fb9
......@@ -165,6 +165,7 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
localedata_others \
mcnttype \
neon \
package2 \
reg \
store \
test \
......@@ -172,6 +173,7 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
xmlsecurity \
xsec_fw \
xsec_xmlsec \
xstor \
))
ifeq ($(OS),WNT)
......
......@@ -105,6 +105,7 @@ gb_Library_FILENAMES := $(patsubst crypto:icrypto%,crypto:libeay32%,$(gb_Library
gb_Library_FILENAMES := $(patsubst crypto:libcrypto%,crypto:libcrypto_static%,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst i18nisolang1:ii18nisolang1%,i18nisolang1:ii18nisolang%,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst lpsolve55:ilpsolve55%,lpsolve55:lpsolve55%,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst package2:ipackage2%,package2:ipackage%,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst rdf:irdf%,rdf:librdf%,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst sb:isb%,sb:basic%,$(gb_Library_FILENAMES))
gb_Library_FILENAMES := $(patsubst sfx:isfx%,sfx:sfx%,$(gb_Library_FILENAMES))
......
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Initial Developer of the Original Code is
# Matúš Kukan <matus.kukan@gmail.com>
# Portions created by the Initial Developer are Copyright (C) 2011 the
# Initial Developer. All Rights Reserved.
#
# Major Contributor(s):
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Library_Library,package2))
$(eval $(call gb_Library_add_package_headers,package2,package_inc))
$(eval $(call gb_Library_add_precompiled_header,package2,$(SRCDIR)/package/inc/pch/precompiled_package))
$(eval $(call gb_Library_set_componentfile,package2,package/util/package2))
$(eval $(call gb_Library_set_include,package2,\
$$(INCLUDE) \
-I$(realpath $(SRCDIR)/package/inc) \
-I$(realpath $(SRCDIR)/package/inc/pch) \
))
$(eval $(call gb_Library_add_api,package2,\
udkapi \
offapi \
))
$(eval $(call gb_Library_add_defs,package2,\
-DDLLIMPLEMENTATION_PACKAGE \
))
$(eval $(call gb_Library_add_linked_libs,package2,\
comphelper \
cppu \
cppuhelper \
sal \
ucbhelper \
$(gb_STDLIBS) \
))
$(eval $(call gb_Library_use_externals,package2,\
zlib \
))
$(eval $(call gb_Library_add_exception_objects,package2,\
package/source/manifest/Base64Codec \
package/source/manifest/ManifestExport \
package/source/manifest/ManifestImport \
package/source/manifest/ManifestReader \
package/source/manifest/ManifestWriter \
package/source/manifest/UnoRegister \
package/source/zipapi/blowfishcontext \
package/source/zipapi/ByteChucker \
package/source/zipapi/ByteGrabber \
package/source/zipapi/CRC32 \
package/source/zipapi/Deflater \
package/source/zipapi/Inflater \
package/source/zipapi/sha1context \
package/source/zipapi/XUnbufferedStream \
package/source/zipapi/ZipEnumeration \
package/source/zipapi/ZipFile \
package/source/zipapi/ZipOutputStream \
package/source/zippackage/wrapstreamforshare \
package/source/zippackage/zipfileaccess \
package/source/zippackage/ZipPackageBuffer \
package/source/zippackage/ZipPackage \
package/source/zippackage/ZipPackageEntry \
package/source/zippackage/ZipPackageFolder \
package/source/zippackage/ZipPackageFolderEnumeration \
package/source/zippackage/ZipPackageSink \
package/source/zippackage/ZipPackageStream \
))
ifeq ($(SYSTEM_ZLIB),YES)
$(eval $(call gb_Library_add_defs,package2,\
-DSYSTEM_ZLIB \
))
endif
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Initial Developer of the Original Code is
# Matúš Kukan <matus.kukan@gmail.com>
# Portions created by the Initial Developer are Copyright (C) 2011 the
# Initial Developer. All Rights Reserved.
#
# Major Contributor(s):
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Library_Library,xstor))
$(eval $(call gb_Library_add_precompiled_header,xstor,$(SRCDIR)/package/inc/pch/precompiled_package))
$(eval $(call gb_Library_set_componentfile,xstor,package/source/xstor/xstor))
$(eval $(call gb_Library_set_include,xstor,\
$$(INCLUDE) \
-I$(realpath $(SRCDIR)/package/inc) \
-I$(realpath $(SRCDIR)/package/inc/pch) \
))
$(eval $(call gb_Library_add_api,xstor,\
udkapi \
offapi \
))
$(eval $(call gb_Library_add_linked_libs,xstor,\
comphelper \
cppu \
cppuhelper \
sal \
$(gb_STDLIBS) \
))
$(eval $(call gb_Library_add_exception_objects,xstor,\
package/source/xstor/disposelistener \
package/source/xstor/ocompinstream \
package/source/xstor/ohierarchyholder \
package/source/xstor/oseekinstream \
package/source/xstor/owriteablestream \
package/source/xstor/register \
package/source/xstor/selfterminatefilestream \
package/source/xstor/switchpersistencestream \
package/source/xstor/xfactory \
package/source/xstor/xstorage \
))
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# Copyright 2000, 2011 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
......@@ -25,31 +26,14 @@
#
#*************************************************************************
PRJ=..$/..
PRJNAME=package
TARGET=manifest
AUTOSEG=true
ENABLE_EXCEPTIONS=TRUE
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
.IF "$(L10N_framework)"==""
SLOFILES= \
$(SLO)$/ManifestReader.obj \
$(SLO)$/ManifestWriter.obj \
$(SLO)$/ManifestImport.obj \
$(SLO)$/ManifestExport.obj \
$(SLO)$/Base64Codec.obj \
$(SLO)$/UnoRegister.obj
ifeq ($(strip $(SOLARENV)),)
$(error No environment set!)
endif
.ENDIF # L10N_framework
gb_PARTIALBUILD := T
GBUILDDIR := $(SOLARENV)/gbuild
include $(GBUILDDIR)/gbuild.mk
# --- Targets ------------------------------------------------------
$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
.INCLUDE : target.mk
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Initial Developer of the Original Code is
# Matúš Kukan <matus.kukan@gmail.com>
# Portions created by the Initial Developer are Copyright (C) 2011 the
# Initial Developer. All Rights Reserved.
#
# Major Contributor(s):
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Module_Module,package))
$(eval $(call gb_Module_add_targets,package,\
Library_package2 \
Library_xstor \
Package_dtd \
Package_inc \
))
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Initial Developer of the Original Code is
# Matúš Kukan <matus.kukan@gmail.com>
# Portions created by the Initial Developer are Copyright (C) 2011 the
# Initial Developer. All Rights Reserved.
#
# Major Contributor(s):
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Package_Package,package_dtd,$(SRCDIR)/package/dtd))
$(eval $(call gb_Package_add_file,package_dtd,bin/Manifest.dtd,Manifest.dtd))
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Initial Developer of the Original Code is
# Matúš Kukan <matus.kukan@gmail.com>
# Portions created by the Initial Developer are Copyright (C) 2011 the
# Initial Developer. All Rights Reserved.
#
# Major Contributor(s):
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Package_Package,package_inc,$(SRCDIR)/package/inc))
$(eval $(call gb_Package_add_file,package_inc,inc/package/Deflater.hxx,package/Deflater.hxx))
$(eval $(call gb_Package_add_file,package_inc,inc/package/Inflater.hxx,package/Inflater.hxx))
$(eval $(call gb_Package_add_file,package_inc,inc/package/packagedllapi.hxx,package/packagedllapi.hxx))
# vim: set noet sw=4 ts=4:
......@@ -35,9 +35,9 @@
#include <com/sun/star/xml/crypto/XCipherContext.hpp>
#include <com/sun/star/xml/crypto/XDigestContext.hpp>
#include <package/Inflater.hxx>
#include <ByteGrabber.hxx>
#include <HashMaps.hxx>
#include <Inflater.hxx>
#include <EncryptionData.hxx>
#include <mutexholder.hxx>
......
......@@ -34,8 +34,8 @@
#include <com/sun/star/xml/crypto/XCipherContext.hpp>
#include <com/sun/star/xml/crypto/XDigestContext.hpp>
#include <package/Deflater.hxx>
#include <ByteChucker.hxx>
#include <Deflater.hxx>
#include <CRC32.hxx>
#include <vector>
......
pk package : cppu cppuhelper comphelper ucbhelper sal ZLIB:zlib LIBXSLT:libxslt NULL
pk package usr1 - all pk_mkout NULL
pk package\inc nmake - all pk_inc NULL
pk package\source\zipapi nmake - all pk_zipapi pk_inc NULL
pk package\source\zippackage nmake - all pk_zippackage pk_inc NULL
pk package\source\manifest nmake - all pk_manifest pk_inc NULL
pk package\source\xstor nmake - all pk_xstor pk_manifest pk_inc NULL
pk package\util nmake - all pk_util pk_zipapi pk_zippackage pk_manifest pk_xstor NULL
pk package\prj nmake - all pk_prj NULL
..\%__SRC%\misc\*.map %_DEST%\bin\*.map
..\%__SRC%\bin\*.dll %_DEST%\bin\*.dll
..\%__SRC%\lib\*.lib %_DEST%\lib\*.lib
..\%__SRC%\lib\*.a %_DEST%\lib\*.a
..\%__SRC%\lib\lib*.so %_DEST%\lib\lib*.so
..\%__SRC%\lib\*.dylib %_DEST%\lib\*.dylib
..\dtd\*.dtd %_DEST%\bin\*.*
..\%__SRC%\misc\package2.component %_DEST%\xml\package2.component
..\%__SRC%\misc\xstor.component %_DEST%\xml\xstor.component
..\inc\Inflater.hxx %_DEST%\inc\package\Inflater.hxx
..\inc\Deflater.hxx %_DEST%\inc\package\Deflater.hxx
..\inc\packagedllapi.hxx %_DEST%\inc\package\packagedllapi.hxx
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
......@@ -24,24 +24,17 @@
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..
PRJNAME=package
TARGET=inc
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
# --- Targets -------------------------------------------------------
PRJ=..
TARGET=prj
.INCLUDE : target.mk
.INCLUDE : settings.mk
.IF "$(ENABLE_PCH)"!=""
ALLTAR : \
$(SLO)$/precompiled.pch \
$(SLO)$/precompiled_ex.pch
.ENDIF # "$(ENABLE_PCH)"!=""
.IF "$(VERBOSE)"!=""
VERBOSEFLAG :=
.ELSE
VERBOSEFLAG := -s
.ENDIF
all:
cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(GMAKE_MODULE_PARALLELISM) $(gb_MAKETARGET) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# 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=package
TARGET=xstor
ENABLE_EXCEPTIONS=TRUE
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
.IF "$(L10N_framework)"==""
SLOFILES = \
$(SLO)$/ohierarchyholder.obj\
$(SLO)$/ocompinstream.obj\
$(SLO)$/oseekinstream.obj\
$(SLO)$/owriteablestream.obj\
$(SLO)$/xstorage.obj\
$(SLO)$/xfactory.obj\
$(SLO)$/disposelistener.obj\
$(SLO)$/selfterminatefilestream.obj\
$(SLO)$/switchpersistencestream.obj\
$(SLO)$/register.obj
SHL1TARGET=$(TARGET)
SHL1STDLIBS=\
$(SALLIB) \
$(CPPULIB) \
$(CPPUHELPERLIB) \
$(COMPHELPERLIB)
SHL1OBJS=$(SLOFILES)
SHL1DEF=$(MISC)$/$(TARGET).def
SHL1IMPLIB=i$(SHL1TARGET)
DEF1NAME=$(SHL1TARGET)
DEF1EXPORTFILE=$(SHL1TARGET).dxp
.ENDIF # L10N_framework
# --- Targets -------------------------------------------------------
.INCLUDE : target.mk
ALLTAR : $(MISC)/xstor.component
$(MISC)/xstor.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
xstor.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt xstor.component
......@@ -28,7 +28,7 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_package.hxx"
#include <Deflater.hxx>
#include <package/Deflater.hxx>
#ifndef _ZLIB_H
#ifdef SYSTEM_ZLIB
#include <zlib.h>
......
......@@ -28,7 +28,7 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_package.hxx"
#include <Inflater.hxx>
#include <package/Inflater.hxx>
#ifndef _ZLIB_H
#ifdef SYSTEM_ZLIB
#include <zlib.h>
......
......@@ -36,7 +36,7 @@
#include <cppuhelper/implbase1.hxx>
#include <rtl/ref.hxx>
#include <Inflater.hxx>
#include <package/Inflater.hxx>
#include <ZipEntry.hxx>
#include <CRC32.hxx>
#include <mutexholder.hxx>
......
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# 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=package
TARGET=zipapi
ENABLE_EXCEPTIONS=TRUE
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
.INCLUDE : $(PRJ)$/util$/package.pmk
# --- Files --------------------------------------------------------
.IF "$(L10N_framework)"==""
.IF "$(SYSTEM_ZLIB)" == "YES"
CFLAGS+=-DSYSTEM_ZLIB
.ENDIF
SLOFILES= \
$(SLO)$/CRC32.obj \
$(SLO)$/ByteChucker.obj \
$(SLO)$/ByteGrabber.obj \
$(SLO)$/blowfishcontext.obj \
$(SLO)$/Inflater.obj \
$(SLO)$/Deflater.obj \
$(SLO)$/sha1context.obj \
$(SLO)$/ZipEnumeration.obj \
$(SLO)$/ZipFile.obj \
$(SLO)$/ZipOutputStream.obj \
$(SLO)$/XUnbufferedStream.obj
.ENDIF # L10N_framework
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# 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=package
TARGET=zippackage
AUTOSEG=true
ENABLE_EXCEPTIONS=TRUE
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
.IF "$(L10N_framework)"==""
SLOFILES= \
$(SLO)$/ZipPackage.obj \
$(SLO)$/ZipPackageBuffer.obj \
$(SLO)$/ZipPackageEntry.obj \
$(SLO)$/ZipPackageFolder.obj \
$(SLO)$/ZipPackageFolderEnumeration.obj \
$(SLO)$/ZipPackageSink.obj \
$(SLO)$/ZipPackageStream.obj \
$(SLO)$/wrapstreamforshare.obj \
$(SLO)$/zipfileaccess.obj
.ENDIF # L10N_framework
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# 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.
#
#*************************************************************************
# 2 == Unicode
MAJOR_VERSION=2
PRJ=..
PRJNAME=package
TARGET=package
ENABLE_EXCEPTIONS=TRUE
USE_DEFFILE=TRUE
NO_BSYMBOLIC=TRUE
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
.IF "$(L10N_framework)"==""
# --- General ----------------------------------------------------
LIB1TARGET= $(SLB)$/$(TARGET).lib
LIB1FILES= \
$(SLB)$/zipapi.lib \
$(SLB)$/zippackage.lib \
$(SLB)$/manifest.lib
# --- Shared-Library -----------------------------------------------
SHL1TARGET=$(TARGET)$(MAJOR_VERSION)
.IF "$(COM)" == "MSC"
SHL1IMPLIB=i$(TARGET)
.ELSE
SHL1IMPLIB=$(TARGET)$(MAJOR_VERSION)
.ENDIF
SHL1USE_EXPORTS=name
SHL1STDLIBS=\
$(CPPULIB) \
$(UCBHELPERLIB) \
$(CPPUHELPERLIB) \
$(COMPHELPERLIB) \
$(SALLIB) \
$(ZLIB3RDLIB)
SHL1DEF=$(MISC)$/$(SHL1TARGET).def
SHL1LIBS=$(LIB1TARGET)
DEF1NAME=$(SHL1TARGET)
.ENDIF # L10N_framework
# --- Targets ----------------------------------------------------------
.INCLUDE : target.mk
ALLTAR : $(MISC)/package2.component
$(MISC)/package2.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
package2.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt package2.component
VISIBILITY_HIDDEN = TRUE
CDEFS += -DDLLIMPLEMENTATION_PACKAGE
\ No newline at end of file
......@@ -76,6 +76,8 @@ my_components = \
component/linguistic/source/lng \
component/lotuswordpro/util/lwpfilter \
component/oox/util/oox \
component/package/source/xstor/xstor \
component/package/util/package2 \
component/reportdesign/util/rpt \
component/reportdesign/util/rptui \
component/reportdesign/util/rptxml \
......@@ -151,7 +153,6 @@ my_components = \
odfflatxml \
offacc \
oooimprovecore \
package2 \
pcr \
pdffilter \
placeware \
......@@ -186,7 +187,6 @@ my_components = \
xmx \
xsltdlg \
xsltfilter \
xstor
.IF "$(DISABLE_PYTHON)" != "TRUE"
my_components += pythonloader
......
......@@ -94,10 +94,10 @@ $(eval $(call gb_RdbTarget_add_components,sc_filters_test,\
fileaccess/source/fileacc \
comphelper/util/comphelp \
i18npool/util/i18npool \
package/util/package2 \
))
$(eval $(call gb_RdbTarget_add_old_components,sc_filters_test,\
package2 \
ucb1 \
ucpfile1 \
))
......
......@@ -96,10 +96,10 @@ $(eval $(call gb_RdbTarget_add_components,sw_filters_test,\
fileaccess/source/fileacc \
comphelper/util/comphelp \
i18npool/util/i18npool \
package/util/package2 \
))
$(eval $(call gb_RdbTarget_add_old_components,sw_filters_test,\
package2 \
ucb1 \
ucpfile1 \
))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment