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

convert dtrans to gbuilb

üst f6d8dfb5
...@@ -149,10 +149,20 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_URE, \ ...@@ -149,10 +149,20 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_URE, \
)) ))
$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
mcnttype \
test \ test \
fileacc \ fileacc \
)) ))
ifeq ($(OS),WNT)
$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
dnd \
dtrans \
ftransl \
sysdtrans \
))
endif
ifeq ($(OS),IOS) ifeq ($(OS),IOS)
$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
sal_textenc \ sal_textenc \
......
...@@ -41,6 +41,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\ ...@@ -41,6 +41,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
cui \ cui \
dbaccess \ dbaccess \
drawinglayer \ drawinglayer \
dtrans \
editeng \ editeng \
fileaccess \ fileaccess \
forms \ forms \
......
# -*- 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:
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
#************************************************************************* #*************************************************************************
# #
# 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 2000, 2011 Oracle and/or its affiliates.
# #
# OpenOffice.org - a multi-platform office productivity suite # OpenOffice.org - a multi-platform office productivity suite
# #
...@@ -25,35 +26,33 @@ ...@@ -25,35 +26,33 @@
# #
#************************************************************************* #*************************************************************************
PRJ=..$/..$/.. $(eval $(call gb_Library_Library,dtrans))
PRJNAME=dtrans
TARGET=dnd
ENABLE_EXCEPTIONS=TRUE
COMP1TYPELIST=$(TARGET)
USE_BOUNDCHK=
.IF "$(USE_BOUNDCHK)"=="TR"
bndchk=tr
stoponerror=tr
.ENDIF
# --- Settings ----------------------------------------------------- $(eval $(call gb_Library_add_precompiled_header,dtrans,$(SRCDIR)/dtrans/inc/pch/precompiled_dtrans))
.INCLUDE : settings.mk $(eval $(call gb_Library_set_componentfile,dtrans,dtrans/source/generic/dtrans))
# ------------------------------------------------------------------ $(eval $(call gb_Library_set_include,dtrans,\
$$(INCLUDE) \
-I$(realpath $(SRCDIR)/dtrans/inc/pch) \
))
SLOFILES= $(SLO)$/dndentry.obj \ $(eval $(call gb_Library_add_api,dtrans,\
$(SLO)$/target.obj \ udkapi \
$(SLO)$/idroptarget.obj \ offapi \
$(SLO)$/source.obj \ ))
$(SLO)$/globals.obj \
$(SLO)$/targetdropcontext.obj \
$(SLO)$/targetdragcontext.obj \
$(SLO)$/sourcecontext.obj
$(eval $(call gb_Library_add_linked_libs,dtrans,\
cppu \
cppuhelper \
sal \
$(gb_STDLIBS) \
))
# --- Targets ------------------------------------------------------ $(eval $(call gb_Library_add_exception_objects,dtrans,\
dtrans/source/generic/clipboardmanager \
dtrans/source/generic/dtrans \
dtrans/source/generic/generic_clipboard \
))
.INCLUDE : target.mk # 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. # 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 # OpenOffice.org - a multi-platform office productivity suite
# #
...@@ -25,35 +26,37 @@ ...@@ -25,35 +26,37 @@
# #
#************************************************************************* #*************************************************************************
PRJ=..$/..$/.. $(eval $(call gb_Library_Library,ftransl))
PRJNAME=dtrans
TARGET=sysdtrans
ENABLE_EXCEPTIONS=TRUE
COMP1TYPELIST=$(TARGET)
USE_BOUNDCHK=
.IF "$(USE_BOUNDCHK)"=="TR"
bndchk=tr
stoponerror=tr
.ENDIF
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk $(eval $(call gb_Library_add_precompiled_header,ftransl,$(SRCDIR)/dtrans/inc/pch/precompiled_dtrans))
# ------------------------------------------------------------------ $(eval $(call gb_Library_set_componentfile,ftransl,dtrans/util/ftransl))
.IF "$(COM)" != "GCC" $(eval $(call gb_Library_set_include,ftransl,\
CFLAGS+=-GR $$(INCLUDE) \
.ENDIF -I$(realpath $(SRCDIR)/dtrans/inc/pch) \
CFLAGS+=-DUNICODE -D_UNICODE ))
SLOFILES=$(SLO)$/WinClipboard.obj \ $(eval $(call gb_Library_add_api,ftransl,\
$(SLO)$/WinClipbImpl.obj \ udkapi \
$(SLO)$/wcbentry.obj offapi \
))
$(eval $(call gb_Library_add_linked_libs,ftransl,\
advapi32 \
cppu \
cppuhelper \
gdi32 \
ole32 \
sal \
uwinapi \
$(gb_STDLIBS) \
))
# --- Targets ------------------------------------------------------ $(eval $(call gb_Library_add_exception_objects,ftransl,\
dtrans/source/win32/misc/ImplHelper \
dtrans/source/win32/ftransl/ftransl \
dtrans/source/win32/ftransl/ftranslentry \
))
.INCLUDE : target.mk # 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. # 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 # OpenOffice.org - a multi-platform office productivity suite
# #
...@@ -25,36 +26,39 @@ ...@@ -25,36 +26,39 @@
# #
#************************************************************************* #*************************************************************************
PRJ=..$/..$/.. $(eval $(call gb_Library_Library,mcnttype))
PRJNAME=dtrans
TARGET=dtutils
LIBTARGET=NO
USE_BOUNDCHK=
ENABLE_EXCEPTIONS=YES
.IF "$(USE_BOUNDCHK)"=="TR"
bndchk=tr
stoponerror=tr
.ENDIF
# --- Settings -----------------------------
.INCLUDE : settings.mk
#------------------------------------------- $(eval $(call gb_Library_add_precompiled_header,mcnttype,$(SRCDIR)/dtrans/inc/pch/precompiled_dtrans))
# files to compile to obj's
SLOFILES= $(SLO)$/ImplHelper.obj $(eval $(call gb_Library_set_componentfile,mcnttype,dtrans/util/mcnttype))
#------------------------------------------- $(eval $(call gb_Library_set_include,mcnttype,\
# build a static library $$(INCLUDE) \
-I$(realpath $(SRCDIR)/dtrans/inc/pch) \
))
LIB1TARGET= $(SLB)$/$(TARGET).lib $(eval $(call gb_Library_add_api,mcnttype,\
LIB1OBJFILES=$(SLOFILES) udkapi \
offapi \
))
$(eval $(call gb_Library_add_linked_libs,mcnttype,\
cppu \
cppuhelper \
sal \
$(gb_STDLIBS) \
))
# --- Targets ------------------------------ $(eval $(call gb_Library_add_exception_objects,mcnttype,\
dtrans/source/cnttype/mcnttfactory \
dtrans/source/cnttype/mcnttype \
dtrans/source/cnttype/mctfentry \
))
.INCLUDE : target.mk ifeq ($(GUI),WNT)
$(eval $(call gb_Library_add_linked_libs,mcnttype,\
uwinapi \
))
endif
# 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. # 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 # OpenOffice.org - a multi-platform office productivity suite
# #
...@@ -25,51 +26,56 @@ ...@@ -25,51 +26,56 @@
# #
#************************************************************************* #*************************************************************************
PRJ=..$/.. $(eval $(call gb_Library_Library,sysdtrans))
PRJNAME=dtrans
TARGET=generic
ENABLE_EXCEPTIONS=TRUE
LIBTARGET=NO
COMP1TYPELIST=dtrans
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
.IF "$(L10N_framework)"==""
# ------------------------------------------------------------------
SLOFILES= \ $(eval $(call gb_Library_add_precompiled_header,sysdtrans,$(SRCDIR)/dtrans/inc/pch/precompiled_dtrans))
$(SLO)$/generic_clipboard.obj \
$(SLO)$/clipboardmanager.obj \
$(SLO)$/dtrans.obj
SHL1TARGET= dtrans $(eval $(call gb_Library_set_componentfile,sysdtrans,dtrans/util/sysdtrans))
SHL1VERSIONMAP=$(SOLARENV)/src/component.map $(eval $(call gb_Library_set_include,sysdtrans,\
$$(INCLUDE) \
-I$(realpath $(SRCDIR)/dtrans/inc/pch) \
))
SHL1STDLIBS= \ $(eval $(call gb_Library_add_api,sysdtrans,\
$(SALLIB) \ udkapi \
$(CPPULIB) \ offapi \
$(CPPUHELPERLIB) ))
SHL1DEPN= $(eval $(call gb_Library_add_defs,sysdtrans,\
SHL1IMPLIB= i$(SHL1TARGET) -D_UNICODE \
SHL1OBJS= $(SLOFILES) -DUNICODE \
SHL1DEF= $(MISC)$/$(SHL1TARGET).def ))
DEF1NAME= $(SHL1TARGET) $(eval $(call gb_Library_add_linked_libs,sysdtrans,\
DEF1EXPORTFILE= exports.dxp advapi32 \
cppu \
cppuhelper \
gdi32 \
ole32 \
oleaut32 \
sal \
shell32 \
uuid \
uwinapi \
$(gb_STDLIBS) \
))
# --- Targets ------------------------------------------------------ $(eval $(call gb_Library_add_linked_static_libs,sysdtrans,\
.ENDIF # L10N_framework dtobj \
))
.INCLUDE : target.mk $(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 \
))
ALLTAR : $(MISC)/dtrans.component ifeq ($(COM),GCC)
$(eval $(call gb_Library_add_exception_objects,sysdtrans,\
source/win32/dtobj/XNotifyingDataObject \
))
endif
$(MISC)/dtrans.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ # vim: set noet sw=4 ts=4:
dtrans.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt dtrans.component
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
#************************************************************************* #*************************************************************************
# #
# 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 2000, 2011 Oracle and/or its affiliates.
# #
# OpenOffice.org - a multi-platform office productivity suite # OpenOffice.org - a multi-platform office productivity suite
# #
...@@ -25,30 +26,14 @@ ...@@ -25,30 +26,14 @@
# #
#************************************************************************* #*************************************************************************
PRJ=..$/..$/.. ifeq ($(strip $(SOLARENV)),)
PRJNAME=dtrans $(error No environment set!)
TARGET=mtaolecb endif
LIBTARGET=NO
ENABLE_EXCEPTIONS=YES
# --- Settings ----------------------------------
.INCLUDE : settings.mk
# --- Targets ----------------------------------
.IF "$(GUI)"=="WNT"
# --- static lib --------------------------
# don't do this in the source file. breaks pch
CDEFS+=-DUNICODE
SLOFILES=$(SLO)$/MtaOleClipb.obj gb_PARTIALBUILD := T
GBUILDDIR := $(SOLARENV)/gbuild
include $(GBUILDDIR)/gbuild.mk
LIB1TARGET=$(SLB)$/$(TARGET).lib $(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
LIB1OBJFILES=$(SLOFILES)
.ENDIF
.INCLUDE : target.mk # 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. # 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 # OpenOffice.org - a multi-platform office productivity suite
# #
...@@ -25,27 +26,19 @@ ...@@ -25,27 +26,19 @@
# #
#************************************************************************* #*************************************************************************
PRJ=..$/..$/.. $(eval $(call gb_Module_Module,dtrans))
PRJNAME=dtrans
TARGET=ftransl
ENABLE_EXCEPTIONS=TRUE
COMP1TYPELIST=$(TARGET)
USE_BOUNDCHK=
.IF "$(USE_BOUNDCHK)"=="TR"
bndchk=tr
stoponerror=tr
.ENDIF
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# ------------------------------------------------------------------
SLOFILES=$(SLO)$/ftranslentry.obj \ $(eval $(call gb_Module_add_targets,dtrans,\
$(SLO)$/ftransl.obj Library_mcnttype \
))
# --- Targets ------------------------------------------------------ ifeq ($(OS),WNT)
$(eval $(call gb_Module_add_targets,dtrans,\
Library_dnd \
Library_dtrans \
Library_ftransl \
Library_sysdtrans \
))
endif
.INCLUDE : target.mk # 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. # 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 # OpenOffice.org - a multi-platform office productivity suite
# #
...@@ -25,29 +26,12 @@ ...@@ -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=
.IF "$(USE_BOUNDCHK)"=="TR"
bndchk=tr
stoponerror=tr
.ENDIF
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# ------------------------------------------------------------------
SLOFILES=$(SLO)$/mctfentry.obj \
$(SLO)$/mcnttfactory.obj \
$(SLO)$/mcnttype.obj
# --- Targets ------------------------------------------------------ $(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))
.INCLUDE : target.mk # 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, 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:
dr dtrans : unotools offapi DESKTOP:rdbmaker stoc LIBXSLT:libxslt NULL dr dtrans : unotools offapi DESKTOP:rdbmaker stoc LIBXSLT:libxslt NULL
dr dtrans usr1 - all dr_mkout NULL dr dtrans\prj nmake - all dr_prj 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
..\%__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
#************************************************************************* #*************************************************************************
# #
# 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 2000, 2010 Oracle and/or its affiliates.
# #
# OpenOffice.org - a multi-platform office productivity suite # OpenOffice.org - a multi-platform office productivity suite
...@@ -24,24 +24,17 @@ ...@@ -24,24 +24,17 @@
# for a copy of the LGPLv3 License. # for a copy of the LGPLv3 License.
# #
#************************************************************************* #*************************************************************************
PRJ=..
PRJNAME=dtrans
TARGET=inc
# --- Settings ----------------------------------------------------- PRJ=..
TARGET=prj
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
# --- Targets -------------------------------------------------------
.INCLUDE : target.mk .INCLUDE : settings.mk
.IF "$(ENABLE_PCH)"!="" .IF "$(VERBOSE)"!=""
ALLTAR : \ VERBOSEFLAG :=
$(SLO)$/precompiled.pch \ .ELSE
$(SLO)$/precompiled_ex.pch VERBOSEFLAG := -s
.ENDIF
.ENDIF # "$(ENABLE_PCH)"!=""
all:
cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(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=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
#*************************************************************************
#
# 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
...@@ -63,6 +63,7 @@ my_components = \ ...@@ -63,6 +63,7 @@ my_components = \
component/dbaccess/util/dba \ component/dbaccess/util/dba \
component/dbaccess/util/dbu \ component/dbaccess/util/dbu \
component/dbaccess/util/sdbt \ component/dbaccess/util/sdbt \
component/dtrans/util/mcnttype \
component/fileaccess/source/fileacc \ component/fileaccess/source/fileacc \
component/forms/util/frm \ component/forms/util/frm \
component/formula/util/for \ component/formula/util/for \
...@@ -142,7 +143,6 @@ my_components = \ ...@@ -142,7 +143,6 @@ my_components = \
lnth \ lnth \
localebe1 \ localebe1 \
log \ log \
mcnttype \
migrationoo2 \ migrationoo2 \
msfilter \ msfilter \
mysql \ mysql \
...@@ -299,15 +299,15 @@ my_components += \ ...@@ -299,15 +299,15 @@ my_components += \
.IF "$(OS)" == "WNT" .IF "$(OS)" == "WNT"
my_components += \ my_components += \
ado \ ado \
dnd \
dtrans \
fop \ fop \
fps \ fps \
ftransl \
java_uno_accessbridge \ java_uno_accessbridge \
smplmail \ smplmail \
sysdtrans \
wininetbe1 \ wininetbe1 \
component/dtrans/source/generic/dtrans \
component/dtrans/util/dnd \
component/dtrans/util/ftransl \
component/dtrans/util/sysdtrans \
component/vcl/vcl.windows component/vcl/vcl.windows
.END .END
......
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