Kaydet (Commit) d3df5839 authored tarafından Michael Stahl's avatar Michael Stahl

xmlfix3: convert unoxml to gbuild

üst 1076aee6
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# 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.
#
#*************************************************************************
$(eval $(call gb_JunitTest_JunitTest,unordf_complex))
$(eval $(call gb_JunitTest_set_defs,unordf_complex,\
$$(DEFS) \
-Dorg.openoffice.test.arg.tdoc=$(SRCDIR)/unoxml/qa/complex/unoxml/testdocuments \
))
$(eval $(call gb_JunitTest_add_jars,unordf_complex,\
$(OUTDIR)/bin/OOoRunner.jar \
$(OUTDIR)/bin/ridl.jar \
$(OUTDIR)/bin/test.jar \
$(OUTDIR)/bin/unoil.jar \
$(OUTDIR)/bin/jurt.jar \
))
$(eval $(call gb_JunitTest_add_sourcefiles,unordf_complex,\
unoxml/qa/complex/unoxml/RDFRepositoryTest \
unoxml/qa/complex/unoxml/TestDocument \
))
$(eval $(call gb_JunitTest_add_classes,unordf_complex,\
complex.unoxml.RDFRepositoryTest \
))
# vim: set noet sw=4 ts=4:
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# 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.
#
#*************************************************************************
$(eval $(call gb_JunitTest_JunitTest,unoxml_complex))
$(eval $(call gb_JunitTest_set_defs,unoxml_complex,\
$$(DEFS) \
-Dorg.openoffice.test.arg.tdoc=$(SRCDIR)/unoxml/qa/complex/unoxml/testdocuments \
))
$(eval $(call gb_JunitTest_add_jars,unoxml_complex,\
$(OUTDIR)/bin/OOoRunner.jar \
$(OUTDIR)/bin/ridl.jar \
$(OUTDIR)/bin/test.jar \
$(OUTDIR)/bin/unoil.jar \
$(OUTDIR)/bin/jurt.jar \
))
$(eval $(call gb_JunitTest_add_sourcefiles,unoxml_complex,\
unoxml/qa/complex/unoxml/DOMTest \
unoxml/qa/complex/unoxml/TestDocument \
))
$(eval $(call gb_JunitTest_add_classes,unoxml_complex,\
complex.unoxml.DOMTest \
))
# vim: set noet sw=4 ts=4:
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# #
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# Copyright 2000, 2010 Oracle and/or its affiliates. # Copyright 2009 by Sun Microsystems, Inc.
# #
# OpenOffice.org - a multi-platform office productivity suite # OpenOffice.org - a multi-platform office productivity suite
# #
...@@ -14,61 +14,59 @@ ...@@ -14,61 +14,59 @@
# #
# OpenOffice.org is distributed in the hope that it will be useful, # OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details # GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code). # (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 # You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see # version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html> # <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License. # for a copy of the LGPLv3 License.
# #
#************************************************************************* #*************************************************************************
PRJ=..$/.. $(eval $(call gb_Library_Library,unordf))
PRJNAME=unoxml $(eval $(call gb_Library_set_componentfile,unordf,unoxml/source/rdf/unordf))
TARGET=domimpl
ENABLE_EXCEPTIONS=TRUE $(eval $(call gb_Library_set_include,unordf,\
$$(INCLUDE) \
-I$(OUTDIR)/inc/offuh \
))
# --- Settings ----------------------------------------------------- $(eval $(call gb_Library_set_defs,unordf,\
$$(DEFS) \
))
.INCLUDE : settings.mk $(eval $(call gb_Library_add_linked_libs,unordf,\
cppuhelper \
cppu \
sal \
rdf \
xslt \
))
.IF "$(SYSTEM_LIBXML)" == "YES" $(eval $(call gb_Library_add_exception_objects,unordf,\
CFLAGS+=-DSYSTEM_LIBXML $(LIBXML_CFLAGS) unoxml/source/rdf/CBlankNode \
.ENDIF unoxml/source/rdf/CURI \
unoxml/source/rdf/CLiteral \
unoxml/source/rdf/librdf_repository \
unoxml/source/rdf/librdf_services \
))
# --- Files -------------------------------------------------------- ifeq ($(SYSTEM_REDLAND),YES)
$(eval $(call gb_Library_set_cxxflags,unordf,\
$$(CXXFLAGS) \
-DSYSTEM_REDLAND $$(REDLAND_CFLAGS) \
))
endif
SLOFILES = \ ifeq ($(SYSTEM_LIBXSLT),YES)
$(SLO)$/attr.obj \ $(eval $(call gb_Library_set_cxxflags,unordf,\
$(SLO)$/cdatasection.obj \ $$(CXXFLAGS) \
$(SLO)$/characterdata.obj \ $$(LIBXSLT_CFLAGS) \
$(SLO)$/comment.obj \ ))
$(SLO)$/document.obj \ endif
$(SLO)$/documentbuilder.obj \
$(SLO)$/documentfragment.obj \
$(SLO)$/documenttype.obj \
$(SLO)$/element.obj \
$(SLO)$/entity.obj \
$(SLO)$/entityreference.obj \
$(SLO)$/node.obj \
$(SLO)$/notation.obj \
$(SLO)$/processinginstruction.obj \
$(SLO)$/text.obj \
$(SLO)$/domimplementation.obj \
$(SLO)$/elementlist.obj \
$(SLO)$/childlist.obj \
$(SLO)$/notationsmap.obj \
$(SLO)$/entitiesmap.obj \
$(SLO)$/attributesmap.obj \
$(SLO)$/saxbuilder.obj
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
# vim: set noet sw=4 ts=4:
#************************************************************************* #*************************************************************************
# #
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# Copyright 2000, 2010 Oracle and/or its affiliates. # Copyright 2009 by Sun Microsystems, Inc.
# #
# OpenOffice.org - a multi-platform office productivity suite # OpenOffice.org - a multi-platform office productivity suite
# #
...@@ -14,79 +14,81 @@ ...@@ -14,79 +14,81 @@
# #
# OpenOffice.org is distributed in the hope that it will be useful, # OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details # GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code). # (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 # You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see # version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html> # <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License. # for a copy of the LGPLv3 License.
# #
#************************************************************************* #*************************************************************************
PRJ=..$/.. $(eval $(call gb_Library_Library,unoxml))
PRJNAME=unoxml $(eval $(call gb_Library_set_componentfile,unoxml,unoxml/source/service/unoxml))
TARGET=unordf
LIBTARGET=NO $(eval $(call gb_Library_set_include,unoxml,\
$$(INCLUDE) \
ENABLE_EXCEPTIONS=TRUE -I$(OUTDIR)/inc/offuh \
))
# --- Settings -----------------------------------------------------
$(eval $(call gb_Library_set_defs,unoxml,\
.INCLUDE : settings.mk $$(DEFS) \
))
.IF "$(SYSTEM_REDLAND)" == "YES"
CFLAGS+=-DSYSTEM_REDLAND $(REDLAND_CFLAGS) $(eval $(call gb_Library_add_linked_libs,unoxml,\
.ENDIF ucbhelper \
sax \
.IF "$(SYSTEM_LIBXSLT)" == "YES" comphelper \
CFLAGS+= $(LIBXSLT_CFLAGS) cppuhelper \
.ELSE cppu \
LIBXSLTINCDIR=external$/libxslt sal \
CFLAGS+= -I$(SOLARINCDIR)$/$(LIBXSLTINCDIR) xml2 \
.ENDIF ))
# --- Files -------------------------------------------------------- $(eval $(call gb_Library_add_exception_objects,unoxml,\
.IF "$(L10N_framework)"=="" unoxml/source/dom/node \
unoxml/source/dom/document \
SLOFILES = \ unoxml/source/dom/element \
$(SLO)$/CBlankNode.obj \ unoxml/source/dom/attr \
$(SLO)$/CURI.obj \ unoxml/source/dom/cdatasection \
$(SLO)$/CLiteral.obj \ unoxml/source/dom/characterdata \
$(SLO)$/librdf_repository.obj \ unoxml/source/dom/comment \
$(SLO)$/librdf_services.obj unoxml/source/dom/documentbuilder \
unoxml/source/dom/documentfragment \
unoxml/source/dom/documenttype \
SHL1DEPN= makefile.mk unoxml/source/dom/entity \
SHL1OBJS= $(SLOFILES) unoxml/source/dom/entityreference \
unoxml/source/dom/notation \
SHL1TARGET= $(TARGET)$(DLLPOSTFIX) unoxml/source/dom/processinginstruction \
SHL1IMPLIB= i$(TARGET) unoxml/source/dom/text \
unoxml/source/dom/domimplementation \
SHL1VERSIONMAP=$(SOLARENV)/src/component.map unoxml/source/dom/elementlist \
SHL1DEF=$(MISC)$/$(SHL1TARGET).def unoxml/source/dom/childlist \
DEF1NAME=$(SHL1TARGET) unoxml/source/dom/notationsmap \
unoxml/source/dom/entitiesmap \
SHL1STDLIBS= \ unoxml/source/dom/attributesmap \
$(REDLANDLIB) \ unoxml/source/dom/saxbuilder \
$(XSLTLIB) \ unoxml/source/xpath/xpathobject \
$(CPPUHELPERLIB) \ unoxml/source/xpath/nodelist \
$(CPPULIB) \ unoxml/source/xpath/xpathapi \
$(SALLIB) \ unoxml/source/events/event \
unoxml/source/events/eventdispatcher \
.ENDIF unoxml/source/events/mutationevent \
unoxml/source/events/uievent \
# --- Targets ------------------------------------------------------ unoxml/source/events/mouseevent \
unoxml/source/events/testlistener \
.INCLUDE : target.mk unoxml/source/service/services \
))
ALLTAR : $(MISC)/unordf.component ifeq ($(SYSTEM_LIBXML),YES)
$(eval $(call gb_Library_set_cxxflags,unoxml,\
$$(CXXFLAGS) \
-DSYSTEM_LIBXML $$(LIBXML_CFLAGS) \
))
endif
# vim: set noet sw=4 ts=4:
$(MISC)/unordf.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
unordf.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt unordf.component
...@@ -25,32 +25,14 @@ ...@@ -25,32 +25,14 @@
# #
#************************************************************************* #*************************************************************************
PRJ=../.. ifeq ($(strip $(SOLARENV)),)
$(error No environment set!)
endif
PRJNAME=unoxml gb_PARTIALBUILD := T
TARGET=eventsimpl GBUILDDIR := $(SOLARENV)/gbuild
ENABLE_EXCEPTIONS=TRUE include $(GBUILDDIR)/gbuild.mk
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
.IF "$(SYSTEM_LIBXML)" == "YES"
CFLAGS+=-DSYSTEM_LIBXML $(LIBXML_CFLAGS)
.ENDIF
# --- Files --------------------------------------------------------
SLOFILES =\
$(SLO)$/event.obj \
$(SLO)$/eventdispatcher.obj \
$(SLO)$/mutationevent.obj \
$(SLO)$/uievent.obj \
$(SLO)$/mouseevent.obj \
$(SLO)$/testlistener.obj \
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
# vim: set noet sw=4 ts=4:
#************************************************************************* #*************************************************************************
# #
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# #
# Copyright 2000, 2010 Oracle and/or its affiliates. # Copyright 2009 by Sun Microsystems, Inc.
# #
# OpenOffice.org - a multi-platform office productivity suite # OpenOffice.org - a multi-platform office productivity suite
# #
...@@ -14,46 +14,27 @@ ...@@ -14,46 +14,27 @@
# #
# OpenOffice.org is distributed in the hope that it will be useful, # OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details # GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code). # (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 # You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see # version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html> # <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License. # for a copy of the LGPLv3 License.
# #
#***********************************************************************/ #*************************************************************************
.IF "$(OOO_SUBSEQUENT_TESTS)" == ""
nothing .PHONY:
.ELSE
PRJ = ../../..
PRJNAME = unoxml
TARGET = qa_complex_unoxml
.IF "$(OOO_JUNIT_JAR)" != ""
PACKAGE = complex/unoxml
JAVATESTFILES = \
RDFRepositoryTest.java
JAVAFILES = $(JAVATESTFILES) \
TestDocument.java
JARFILES = OOoRunner.jar ridl.jar test.jar unoil.jar jurt.jar
EXTRAJARFILES = $(OOO_JUNIT_JAR)
# Sample how to debug
# JAVAIFLAGS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9003,suspend=y
.END
.INCLUDE: settings.mk
.INCLUDE: target.mk
.INCLUDE: installationtest.mk
ALLTAR : javatest $(eval $(call gb_Module_Module,unoxml))
.END $(eval $(call gb_Module_add_targets,unoxml,\
Library_unoxml \
Library_unordf \
))
$(eval $(call gb_Module_add_subsequentcheck_targets,unoxml,\
JunitTest_unoxml_complex \
JunitTest_unordf_complex \
))
# vim: set noet sw=4 ts=4:
ux unoxml : offuh cppuhelper LIBXML2:libxml2 LIBXSLT:libxslt REDLAND:redland sax comphelper ucbhelper NULL ux unoxml : offuh cppuhelper LIBXML2:libxml2 LIBXSLT:libxslt REDLAND:redland sax comphelper ucbhelper NULL
ux unoxml\source\dom nmake - all ux_dom NULL ux unoxml\prj nmake - all ux_prj NULL
ux unoxml\source\xpath nmake - all ux_xpath ux_dom NULL
ux unoxml\source\events nmake - all ux_events ux_dom NULL
ux unoxml\source\service nmake - all ux_service ux_dom ux_xpath ux_events NULL
ux unoxml\source\rdf nmake - all ux_librdf NULL
ux unoxml\qa\complex\unoxml nmake - all ux_complex ux_librdf NULL
..\%__SRC%\lib\lib*.so %_DEST%\lib%_EXT%\lib*.so
..\%__SRC%\lib\lib*.dylib %_DEST%\lib%_EXT%\lib*.dylib
..\%__SRC%\bin\*.dll %_DEST%\bin%_EXT%\*.dll
..\%__SRC%\misc\unordf.component %_DEST%\xml%_EXT%\unordf.component
..\%__SRC%\misc\unoxml.component %_DEST%\xml%_EXT%\unoxml.component
...@@ -25,28 +25,16 @@ ...@@ -25,28 +25,16 @@
# #
#************************************************************************* #*************************************************************************
PRJ=../.. PRJ=..
TARGET=prj
PRJNAME=unoxml .INCLUDE : settings.mk
TARGET=xpathimpl
ENABLE_EXCEPTIONS=TRUE
# --- Settings ----------------------------------------------------- .IF "$(VERBOSE)"!=""
VERBOSEFLAG :=
.INCLUDE : settings.mk .ELSE
VERBOSEFLAG := -s
.IF "$(SYSTEM_LIBXML)" == "YES"
CFLAGS+=-DSYSTEM_LIBXML $(LIBXML_CFLAGS)
.ENDIF .ENDIF
# --- Files -------------------------------------------------------- all:
cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET)
SLOFILES = \
$(SLO)$/xpathobject.obj \
$(SLO)$/nodelist.obj \
$(SLO)$/xpathapi.obj
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
...@@ -29,10 +29,11 @@ package complex.unoxml; ...@@ -29,10 +29,11 @@ package complex.unoxml;
import java.io.File; import java.io.File;
import org.openoffice.test.OfficeFileUrl; import org.openoffice.test.OfficeFileUrl;
import org.openoffice.test.Argument;
final class TestDocument { final class TestDocument {
public static String getUrl(String name) { public static String getUrl(String name) {
return OfficeFileUrl.getAbsolute(new File("testdocuments", name)); return OfficeFileUrl.getAbsolute(new File(Argument.get("tdoc"), name));
} }
private TestDocument() {} private TestDocument() {}
......
...@@ -38,7 +38,7 @@ using namespace ::com::sun::star; ...@@ -38,7 +38,7 @@ using namespace ::com::sun::star;
extern "C" extern "C"
{ {
void SAL_CALL SAL_DLLPUBLIC_EXPORT void SAL_CALL
component_getImplementationEnvironment(const sal_Char **o_ppEnvironmentTypeName, component_getImplementationEnvironment(const sal_Char **o_ppEnvironmentTypeName,
uno_Environment ** /* ppEnvironment */) uno_Environment ** /* ppEnvironment */)
{ {
...@@ -65,7 +65,8 @@ static ::cppu::ImplementationEntry const entries[] = { ...@@ -65,7 +65,8 @@ static ::cppu::ImplementationEntry const entries[] = {
{ 0, 0, 0, 0, 0, 0 } { 0, 0, 0, 0, 0, 0 }
}; };
extern "C" void * SAL_CALL component_getFactory( SAL_DLLPUBLIC_EXPORT void * SAL_CALL
component_getFactory(
const char * implName, void * serviceManager, void * registryKey) const char * implName, void * serviceManager, void * registryKey)
{ {
return ::cppu::component_getFactoryHelper( return ::cppu::component_getFactoryHelper(
......
#*************************************************************************
#
# 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=unoxml
TARGET=unoxml
LIBTARGET=NO
ENABLE_EXCEPTIONS=TRUE
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
.IF "$(SYSTEM_LIBXML)" == "YES"
CFLAGS+=-DSYSTEM_LIBXML $(LIBXML_CFLAGS)
.ENDIF
# --- Files --------------------------------------------------------
SLOFILES = \
$(SLO)$/services.obj
SHL1DEPN= makefile.mk
SHL1OBJS= $(SLOFILES)
SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
SHL1IMPLIB= i$(TARGET)
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
SHL1DEF=$(MISC)$/$(SHL1TARGET).def
DEF1NAME=$(SHL1TARGET)
SHL1LIBS= \
$(SLB)$/domimpl.lib \
$(SLB)$/xpathimpl.lib \
$(SLB)$/eventsimpl.lib
SHL1STDLIBS= \
$(UCBHELPERLIB) \
$(LIBXML2LIB) \
$(COMPHELPERLIB) \
$(CPPUHELPERLIB) \
$(CPPULIB) \
$(SAXLIB) \
$(SALLIB)\
$(EXPATASCII3RDLIB)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
ALLTAR : $(MISC)/unoxml.component
$(MISC)/unoxml.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
unoxml.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt unoxml.component
...@@ -54,13 +54,13 @@ using namespace ::com::sun::star::registry; ...@@ -54,13 +54,13 @@ using namespace ::com::sun::star::registry;
extern "C" extern "C"
{ {
void SAL_CALL SAL_DLLPUBLIC_EXPORT void SAL_CALL
component_getImplementationEnvironment(const sal_Char **ppEnvironmentTypeName, uno_Environment ** /*ppEnvironment */) component_getImplementationEnvironment(const sal_Char **ppEnvironmentTypeName, uno_Environment ** /*ppEnvironment */)
{ {
*ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ; *ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ;
} }
void* SAL_CALL SAL_DLLPUBLIC_EXPORT void* SAL_CALL
component_getFactory(const sal_Char *pImplementationName, void *pServiceManager, void * /*pRegistryKey*/) component_getFactory(const sal_Char *pImplementationName, void *pServiceManager, void * /*pRegistryKey*/)
{ {
void* pReturn = NULL ; void* pReturn = NULL ;
......
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