convert dtrans to gbuilb

This commit is contained in:
Matúš Kukan
2011-07-31 16:53:30 +02:00
parent f6d8dfb5c4
commit c39a2440ea
24 changed files with 358 additions and 554 deletions

View File

@@ -149,10 +149,20 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_URE, \
))
$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
mcnttype \
test \
fileacc \
))
ifeq ($(OS),WNT)
$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
dnd \
dtrans \
ftransl \
sysdtrans \
))
endif
ifeq ($(OS),IOS)
$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
sal_textenc \

View File

@@ -41,6 +41,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
cui \
dbaccess \
drawinglayer \
dtrans \
editeng \
fileaccess \
forms \

74
dtrans/Library_dnd.mk Normal file
View File

@@ -0,0 +1,74 @@
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2011 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.
#
#*************************************************************************
$(eval $(call gb_Library_Library,dnd))
$(eval $(call gb_Library_add_precompiled_header,dnd,$(SRCDIR)/dtrans/inc/pch/precompiled_dtrans))
$(eval $(call gb_Library_set_componentfile,dnd,dtrans/util/dnd))
$(eval $(call gb_Library_set_include,dnd,\
$$(INCLUDE) \
-I$(realpath $(SRCDIR)/dtrans/inc/pch) \
))
$(eval $(call gb_Library_add_api,dnd,\
udkapi \
offapi \
))
$(eval $(call gb_Library_add_linked_libs,dnd,\
advapi32 \
cppu \
cppuhelper \
gdi32 \
ole32 \
oleaut32 \
sal \
shell32 \
uuid \
uwinapi \
$(gb_STDLIBS) \
))
$(eval $(call gb_Library_add_linked_static_libs,dnd,\
dtobj \
))
$(eval $(call gb_Library_add_exception_objects,dnd,\
dtrans/source/win32/dnd/dndentry \
dtrans/source/win32/dnd/globals \
dtrans/source/win32/dnd/idroptarget \
dtrans/source/win32/dnd/sourcecontext \
dtrans/source/win32/dnd/source \
dtrans/source/win32/dnd/target \
dtrans/source/win32/dnd/targetdragcontext \
dtrans/source/win32/dnd/targetdropcontext \
))
# vim: set noet sw=4 ts=4:

View File

@@ -1,8 +1,9 @@
# -*- 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,35 +26,33 @@
#
#*************************************************************************
PRJ=..$/..$/..
$(eval $(call gb_Library_Library,dtrans))
PRJNAME=dtrans
TARGET=dnd
ENABLE_EXCEPTIONS=TRUE
COMP1TYPELIST=$(TARGET)
USE_BOUNDCHK=
$(eval $(call gb_Library_add_precompiled_header,dtrans,$(SRCDIR)/dtrans/inc/pch/precompiled_dtrans))
.IF "$(USE_BOUNDCHK)"=="TR"
bndchk=tr
stoponerror=tr
.ENDIF
$(eval $(call gb_Library_set_componentfile,dtrans,dtrans/source/generic/dtrans))
# --- Settings -----------------------------------------------------
$(eval $(call gb_Library_set_include,dtrans,\
$$(INCLUDE) \
-I$(realpath $(SRCDIR)/dtrans/inc/pch) \
))
.INCLUDE : settings.mk
$(eval $(call gb_Library_add_api,dtrans,\
udkapi \
offapi \
))
# ------------------------------------------------------------------
$(eval $(call gb_Library_add_linked_libs,dtrans,\
cppu \
cppuhelper \
sal \
$(gb_STDLIBS) \
))
SLOFILES= $(SLO)$/dndentry.obj \
$(SLO)$/target.obj \
$(SLO)$/idroptarget.obj \
$(SLO)$/source.obj \
$(SLO)$/globals.obj \
$(SLO)$/targetdropcontext.obj \
$(SLO)$/targetdragcontext.obj \
$(SLO)$/sourcecontext.obj
$(eval $(call gb_Library_add_exception_objects,dtrans,\
dtrans/source/generic/clipboardmanager \
dtrans/source/generic/dtrans \
dtrans/source/generic/generic_clipboard \
))
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
# vim: set noet sw=4 ts=4:

View File

@@ -1,8 +1,9 @@
# -*- 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,35 +26,37 @@
#
#*************************************************************************
PRJ=..$/..$/..
$(eval $(call gb_Library_Library,ftransl))
PRJNAME=dtrans
TARGET=sysdtrans
ENABLE_EXCEPTIONS=TRUE
COMP1TYPELIST=$(TARGET)
USE_BOUNDCHK=
$(eval $(call gb_Library_add_precompiled_header,ftransl,$(SRCDIR)/dtrans/inc/pch/precompiled_dtrans))
.IF "$(USE_BOUNDCHK)"=="TR"
bndchk=tr
stoponerror=tr
.ENDIF
$(eval $(call gb_Library_set_componentfile,ftransl,dtrans/util/ftransl))
# --- Settings -----------------------------------------------------
$(eval $(call gb_Library_set_include,ftransl,\
$$(INCLUDE) \
-I$(realpath $(SRCDIR)/dtrans/inc/pch) \
))
.INCLUDE : settings.mk
$(eval $(call gb_Library_add_api,ftransl,\
udkapi \
offapi \
))
# ------------------------------------------------------------------
$(eval $(call gb_Library_add_linked_libs,ftransl,\
advapi32 \
cppu \
cppuhelper \
gdi32 \
ole32 \
sal \
uwinapi \
$(gb_STDLIBS) \
))
.IF "$(COM)" != "GCC"
CFLAGS+=-GR
.ENDIF
CFLAGS+=-DUNICODE -D_UNICODE
$(eval $(call gb_Library_add_exception_objects,ftransl,\
dtrans/source/win32/misc/ImplHelper \
dtrans/source/win32/ftransl/ftransl \
dtrans/source/win32/ftransl/ftranslentry \
))
SLOFILES=$(SLO)$/WinClipboard.obj \
$(SLO)$/WinClipbImpl.obj \
$(SLO)$/wcbentry.obj
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
# vim: set noet sw=4 ts=4:

View File

@@ -1,8 +1,9 @@
# -*- 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,36 +26,39 @@
#
#*************************************************************************
PRJ=..$/..$/..
$(eval $(call gb_Library_Library,mcnttype))
PRJNAME=dtrans
TARGET=dtutils
LIBTARGET=NO
USE_BOUNDCHK=
ENABLE_EXCEPTIONS=YES
$(eval $(call gb_Library_add_precompiled_header,mcnttype,$(SRCDIR)/dtrans/inc/pch/precompiled_dtrans))
.IF "$(USE_BOUNDCHK)"=="TR"
bndchk=tr
stoponerror=tr
.ENDIF
$(eval $(call gb_Library_set_componentfile,mcnttype,dtrans/util/mcnttype))
# --- Settings -----------------------------
$(eval $(call gb_Library_set_include,mcnttype,\
$$(INCLUDE) \
-I$(realpath $(SRCDIR)/dtrans/inc/pch) \
))
.INCLUDE : settings.mk
$(eval $(call gb_Library_add_api,mcnttype,\
udkapi \
offapi \
))
#-------------------------------------------
# files to compile to obj's
$(eval $(call gb_Library_add_linked_libs,mcnttype,\
cppu \
cppuhelper \
sal \
$(gb_STDLIBS) \
))
SLOFILES= $(SLO)$/ImplHelper.obj
$(eval $(call gb_Library_add_exception_objects,mcnttype,\
dtrans/source/cnttype/mcnttfactory \
dtrans/source/cnttype/mcnttype \
dtrans/source/cnttype/mctfentry \
))
#-------------------------------------------
# build a static library
LIB1TARGET= $(SLB)$/$(TARGET).lib
LIB1OBJFILES=$(SLOFILES)
# --- Targets ------------------------------
.INCLUDE : target.mk
ifeq ($(GUI),WNT)
$(eval $(call gb_Library_add_linked_libs,mcnttype,\
uwinapi \
))
endif
# vim: set noet sw=4 ts=4:

View File

@@ -0,0 +1,81 @@
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2011 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.
#
#*************************************************************************
$(eval $(call gb_Library_Library,sysdtrans))
$(eval $(call gb_Library_add_precompiled_header,sysdtrans,$(SRCDIR)/dtrans/inc/pch/precompiled_dtrans))
$(eval $(call gb_Library_set_componentfile,sysdtrans,dtrans/util/sysdtrans))
$(eval $(call gb_Library_set_include,sysdtrans,\
$$(INCLUDE) \
-I$(realpath $(SRCDIR)/dtrans/inc/pch) \
))
$(eval $(call gb_Library_add_api,sysdtrans,\
udkapi \
offapi \
))
$(eval $(call gb_Library_add_defs,sysdtrans,\
-D_UNICODE \
-DUNICODE \
))
$(eval $(call gb_Library_add_linked_libs,sysdtrans,\
advapi32 \
cppu \
cppuhelper \
gdi32 \
ole32 \
oleaut32 \
sal \
shell32 \
uuid \
uwinapi \
$(gb_STDLIBS) \
))
$(eval $(call gb_Library_add_linked_static_libs,sysdtrans,\
dtobj \
))
$(eval $(call gb_Library_add_exception_objects,sysdtrans,\
dtrans/source/win32/clipb/WinClipbImpl \
dtrans/source/win32/clipb/WinClipboard \
dtrans/source/win32/clipb/wcbentry \
dtrans/source/win32/mtaole/MtaOleClipb \
))
ifeq ($(COM),GCC)
$(eval $(call gb_Library_add_exception_objects,sysdtrans,\
source/win32/dtobj/XNotifyingDataObject \
))
endif
# vim: set noet sw=4 ts=4:

View File

@@ -1,8 +1,9 @@
# -*- 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,30 +26,14 @@
#
#*************************************************************************
PRJ=..$/..$/..
PRJNAME=dtrans
TARGET=mtaolecb
LIBTARGET=NO
ENABLE_EXCEPTIONS=YES
ifeq ($(strip $(SOLARENV)),)
$(error No environment set!)
endif
# --- Settings ----------------------------------
gb_PARTIALBUILD := T
GBUILDDIR := $(SOLARENV)/gbuild
include $(GBUILDDIR)/gbuild.mk
.INCLUDE : settings.mk
$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
# --- Targets ----------------------------------
.IF "$(GUI)"=="WNT"
# --- static lib --------------------------
# don't do this in the source file. breaks pch
CDEFS+=-DUNICODE
SLOFILES=$(SLO)$/MtaOleClipb.obj
LIB1TARGET=$(SLB)$/$(TARGET).lib
LIB1OBJFILES=$(SLOFILES)
.ENDIF
.INCLUDE : target.mk
# vim: set noet sw=4 ts=4:

View File

@@ -1,8 +1,9 @@
# -*- 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,27 +26,19 @@
#
#*************************************************************************
PRJ=..$/..$/..
PRJNAME=dtrans
TARGET=ftransl
ENABLE_EXCEPTIONS=TRUE
COMP1TYPELIST=$(TARGET)
USE_BOUNDCHK=
$(eval $(call gb_Module_Module,dtrans))
.IF "$(USE_BOUNDCHK)"=="TR"
bndchk=tr
stoponerror=tr
.ENDIF
$(eval $(call gb_Module_add_targets,dtrans,\
Library_mcnttype \
))
# --- Settings -----------------------------------------------------
ifeq ($(OS),WNT)
$(eval $(call gb_Module_add_targets,dtrans,\
Library_dnd \
Library_dtrans \
Library_ftransl \
Library_sysdtrans \
))
endif
.INCLUDE : settings.mk
# ------------------------------------------------------------------
SLOFILES=$(SLO)$/ftranslentry.obj \
$(SLO)$/ftransl.obj
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
# vim: set noet sw=4 ts=4:

View File

@@ -1,8 +1,9 @@
# -*- 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,29 +26,12 @@
#
#*************************************************************************
PRJ=..$/..
$(eval $(call gb_Package_Package,dtrans_xml,$(SRCDIR)/dtrans/source))
PRJNAME=dtrans
TARGET=mcnttype
ENABLE_EXCEPTIONS=TRUE
COMP1TYPELIST=$(TARGET)
USE_BOUNDCHK=
$(eval $(call gb_Package_add_file,dtrans_xml,xml/dnd.xml,win32/dnd/dnd.xml))
$(eval $(call gb_Package_add_file,dtrans_xml,xml/dtrans.xml,generic/dtrans.xml))
$(eval $(call gb_Package_add_file,dtrans_xml,xml/ftransl.xml,win32/ftransl/ftransl.xml))
$(eval $(call gb_Package_add_file,dtrans_xml,xml/mcnttype.xml,cnttype/mcnttype.xml))
$(eval $(call gb_Package_add_file,dtrans_xml,xml/sysdtrans.xml,win32/clipb/sysdtrans.xml))
.IF "$(USE_BOUNDCHK)"=="TR"
bndchk=tr
stoponerror=tr
.ENDIF
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# ------------------------------------------------------------------
SLOFILES=$(SLO)$/mctfentry.obj \
$(SLO)$/mcnttfactory.obj \
$(SLO)$/mcnttype.obj
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
# vim: set noet sw=4 ts=4:

View File

@@ -0,0 +1,51 @@
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2011 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.
#
#*************************************************************************
$(eval $(call gb_StaticLibrary_StaticLibrary,dtobj))
$(eval $(call gb_StaticLibrary_add_exception_objects,dtobj,\
dtrans/source/win32/dtobj/APNDataObject \
dtrans/source/win32/dtobj/DataFmtTransl \
dtrans/source/win32/dtobj/DOTransferable \
dtrans/source/win32/dtobj/DtObjFactory \
dtrans/source/win32/dtobj/DTransHelper \
dtrans/source/win32/dtobj/Fetc \
dtrans/source/win32/dtobj/FetcList \
dtrans/source/win32/dtobj/FmtFilter \
dtrans/source/win32/dtobj/TxtCnvtHlp \
dtrans/source/win32/dtobj/XTDataObject \
dtrans/source/win32/misc/ImplHelper \
))
ifneq ($(COM),GCC)
$(eval $(call gb_StaticLibrary_add_exception_objects,dtobj,\
source/win32/dtobj/XNotifyingDataObject \
))
endif
# vim: set noet sw=4 ts=4:

View File

@@ -1,15 +1,2 @@
dr dtrans : unotools offapi DESKTOP:rdbmaker stoc LIBXSLT:libxslt NULL
dr dtrans usr1 - all dr_mkout NULL
dr dtrans\inc nmake - all dr_inc NULL
dr dtrans\source\cnttype nmake - all dr_cnttype dr_generic dr_inc NULL
dr dtrans\source\win32\misc nmake - w dr_win32_misc dr_inc NULL
dr dtrans\source\win32\mtaole nmake - w dr_win32_mtaole dr_inc NULL
dr dtrans\source\win32\ftransl nmake - w dr_win32_ftransl dr_cnttype dr_win32_misc.w dr_inc NULL
dr dtrans\source\win32\clipb nmake - w dr_win32_clipb dr_win32_misc.w dr_inc NULL
dr dtrans\source\win32\dnd nmake - w dr_win32_dnd dr_cnttype dr_win32_misc.w dr_win32_dtobj.w dr_inc NULL
dr dtrans\source\win32\dtobj nmake - w dr_win32_dtobj dr_win32_clipb.w dr_win32_misc.w dr_win32_ftransl.w dr_inc NULL
dr dtrans\source\os2\clipb nmake - p dr_os2_clipb dr_inc NULL
dr dtrans\util nmake - all dr_util dr_cnttype dr_win32_misc.w dr_win32_mtaole.w dr_win32_ftransl.w dr_win32_clipb.w dr_win32_dnd.w dr_win32_dtobj.w dr_inc NULL
dr dtrans\source\generic nmake - all dr_generic dr_inc NULL
dr dtrans\prj nmake - all dr_prj NULL

View File

@@ -1,14 +0,0 @@
..\%__SRC%\lib\lib*.so %_DEST%\lib
..\%__SRC%\bin\*.dll %_DEST%\bin\*.dll
..\%__SRC%\lib\*.dylib %_DEST%\lib\*.dylib
..\source\win32\clipb\sysdtrans.xml %_DEST%\xml\sysdtrans.xml
..\source\win32\dnd\dnd.xml %_DEST%\xml\dnd.xml
..\source\win32\ftransl\ftransl.xml %_DEST%\xml\ftransl.xml
..\source\cnttype\mcnttype.xml %_DEST%\xml\mcnttype.xml
..\source\generic\dtrans.xml %_DEST%\xml\dtrans.xml
..\%__SRC%\misc\dnd.component %_DEST%\xml\dnd.component
..\%__SRC%\misc\dtrans.component %_DEST%\xml\dtrans.component
..\%__SRC%\misc\ftransl.component %_DEST%\xml\ftransl.component
..\%__SRC%\misc\mcnttype.component %_DEST%\xml\mcnttype.component
..\%__SRC%\misc\sysdtrans.component %_DEST%\xml\sysdtrans.component

View File

@@ -24,24 +24,17 @@
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..
TARGET=prj
PRJNAME=dtrans
TARGET=inc
.INCLUDE : settings.mk
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
# --- Targets -------------------------------------------------------
.INCLUDE : target.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$(MAXPROCESS) $(gb_MAKETARGET) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog

View File

@@ -1 +0,0 @@
component_getFactory

View File

@@ -1 +0,0 @@
component_getFactory

View File

@@ -1,75 +0,0 @@
#*************************************************************************
#
# 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=dtrans
TARGET=generic
ENABLE_EXCEPTIONS=TRUE
LIBTARGET=NO
COMP1TYPELIST=dtrans
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
.IF "$(L10N_framework)"==""
# ------------------------------------------------------------------
SLOFILES= \
$(SLO)$/generic_clipboard.obj \
$(SLO)$/clipboardmanager.obj \
$(SLO)$/dtrans.obj
SHL1TARGET= dtrans
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
SHL1STDLIBS= \
$(SALLIB) \
$(CPPULIB) \
$(CPPUHELPERLIB)
SHL1DEPN=
SHL1IMPLIB= i$(SHL1TARGET)
SHL1OBJS= $(SLOFILES)
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
DEF1NAME= $(SHL1TARGET)
DEF1EXPORTFILE= exports.dxp
# --- Targets ------------------------------------------------------
.ENDIF # L10N_framework
.INCLUDE : target.mk
ALLTAR : $(MISC)/dtrans.component
$(MISC)/dtrans.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
dtrans.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt dtrans.component

View File

@@ -1 +0,0 @@
component_getFactory

View File

@@ -1 +0,0 @@
component_getFactory

View File

@@ -1,76 +0,0 @@
#*************************************************************************
#
# 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=dtrans
TARGET=dtobjfact
ENABLE_EXCEPTIONS=TRUE
LIBTARGET=NO
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# ------------------------------------------------------------------
#-DUNICODE -D_UNICODE
.IF "$(COM)"!="GCC"
CFLAGS+=-GR -Ob0
.ENDIF
SLOFILES=$(SLO)$/DtObjFactory.obj\
$(SLO)$/APNDataObject.obj\
$(SLO)$/DOTransferable.obj\
$(SLO)$/DTransHelper.obj\
$(SLO)$/XTDataObject.obj\
$(SLO)$/TxtCnvtHlp.obj\
$(SLO)$/DataFmtTransl.obj\
$(SLO)$/FmtFilter.obj\
$(SLO)$/FetcList.obj\
$(SLO)$/Fetc.obj\
$(SLO)$/XNotifyingDataObject.obj
LIB1TARGET=$(SLB)$/$(TARGET).lib
.IF "$(COM)"!="GCC"
LIB1OBJFILES=$(SLOFILES)
.ELSE
LIB1OBJFILES=$(SLO)$/DtObjFactory.obj\
$(SLO)$/APNDataObject.obj\
$(SLO)$/DOTransferable.obj\
$(SLO)$/DTransHelper.obj\
$(SLO)$/XTDataObject.obj\
$(SLO)$/TxtCnvtHlp.obj\
$(SLO)$/DataFmtTransl.obj\
$(SLO)$/FmtFilter.obj\
$(SLO)$/FetcList.obj\
$(SLO)$/Fetc.obj
.ENDIF
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk

View File

@@ -1 +0,0 @@
component_getFactory

View File

@@ -1 +0,0 @@
component_getFactory

View File

@@ -1,190 +0,0 @@
#*************************************************************************
#
# 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=dtrans
TARGET=dtrans
TARGET1=mcnttype
TARGET2=ftransl
TARGET3=sysdtrans
TARGET4=dnd
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
.IF "$(L10N_framework)"==""
# --- mcnttype dynlib ----------------------------------------------
SHL1TARGET=$(TARGET1)
SHL1LIBS=$(SLB)$/mcnttype.lib
SHL1STDLIBS= \
$(SALLIB) \
$(CPPULIB) \
$(CPPUHELPERLIB)
.IF "$(GUI)"=="WNT"
SHL1STDLIBS+= \
$(UWINAPILIB)
.ENDIF
SHL1IMPLIB=i$(SHL1TARGET)
#--- comment -----------------
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
DEF1NAME= $(SHL1TARGET)
DEF1EXPORTFILE= exports.dxp
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
.IF "$(GUI)"=="WNT"
# --- ftransl dll ---
SHL2TARGET=$(TARGET2)
SHL2LIBS=$(SLB)$/ftransl.lib\
$(SLB)$/dtutils.lib
SHL2STDLIBS= \
$(SALLIB) \
$(CPPULIB) \
$(CPPUHELPERLIB)\
$(UWINAPILIB)\
$(ADVAPI32LIB)\
$(OLE32LIB)\
$(GDI32LIB)
SHL2IMPLIB=i$(SHL2TARGET)
SHL2DEF= $(MISC)$/$(SHL2TARGET).def
DEF2NAME= $(SHL2TARGET)
DEF2EXPORTFILE= exports.dxp
# --- sysdtrans dll ---
SHL3TARGET=$(TARGET3)
SHL3LIBS=$(SLB)$/sysdtrans.lib\
$(SLB)$/dtutils.lib\
$(SLB)$/dtobjfact.lib\
$(SLB)$/mtaolecb.lib
.IF "$(COM)" == "GCC"
SHL3OBJS=$(SLO)$/XNotifyingDataObject.obj
.ENDIF
SHL3STDLIBS= \
$(SALLIB) \
$(CPPULIB) \
$(CPPUHELPERLIB)\
$(UWINAPILIB)\
$(ADVAPI32LIB)\
$(OLE32LIB)\
$(OLEAUT32LIB)\
$(GDI32LIB)\
$(SHELL32LIB)\
$(UUIDLIB)
SHL3IMPLIB=i$(SHL3TARGET)
SHL3DEF= $(MISC)$/$(SHL3TARGET).def
DEF3NAME= $(SHL3TARGET)
DEF3EXPORTFILE= exports.dxp
# --- dnd dll ---
SHL4TARGET=$(TARGET4)
SHL4LIBS= \
$(SLB)$/dnd.lib\
$(SLB)$/dtobjfact.lib\
$(SLB)$/dtutils.lib
SHL4STDLIBS= \
$(SALLIB) \
$(CPPULIB) \
$(CPPUHELPERLIB) \
$(UWINAPILIB)\
$(ADVAPI32LIB)\
$(OLE32LIB)\
$(OLEAUT32LIB)\
$(GDI32LIB)\
$(SHELL32LIB)\
$(UUIDLIB)
SHL4DEPN=
SHL4IMPLIB=i$(SHL4TARGET)
SHL4DEF= $(MISC)$/$(SHL4TARGET).def
DEF4NAME= $(SHL4TARGET)
DEF4EXPORTFILE= exports.dxp
.ENDIF # "$(GUI)"=="WNT"
.ENDIF # L10N_framework
.INCLUDE : target.mk
ALLTAR : \
$(MISC)/dnd.component \
$(MISC)/ftransl.component \
$(MISC)/mcnttype.component \
$(MISC)/sysdtrans.component
$(MISC)/dnd.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
dnd.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL4TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt dnd.component
$(MISC)/ftransl.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
ftransl.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt ftransl.component
$(MISC)/mcnttype.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
mcnttype.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt mcnttype.component
$(MISC)/sysdtrans.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
sysdtrans.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL3TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt sysdtrans.component

View File

@@ -63,6 +63,7 @@ my_components = \
component/dbaccess/util/dba \
component/dbaccess/util/dbu \
component/dbaccess/util/sdbt \
component/dtrans/util/mcnttype \
component/fileaccess/source/fileacc \
component/forms/util/frm \
component/formula/util/for \
@@ -142,7 +143,6 @@ my_components = \
lnth \
localebe1 \
log \
mcnttype \
migrationoo2 \
msfilter \
mysql \
@@ -299,15 +299,15 @@ my_components += \
.IF "$(OS)" == "WNT"
my_components += \
ado \
dnd \
dtrans \
fop \
fps \
ftransl \
java_uno_accessbridge \
smplmail \
sysdtrans \
wininetbe1 \
component/dtrans/source/generic/dtrans \
component/dtrans/util/dnd \
component/dtrans/util/ftransl \
component/dtrans/util/sysdtrans \
component/vcl/vcl.windows
.END