1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 11# OpenOffice.org is free software: you can redistribute it and/or modify 12# it under the terms of the GNU Lesser General Public License version 3 13# only, as published by the Free Software Foundation. 14# 15# OpenOffice.org is distributed in the hope that it will be useful, 16# but WITHOUT ANY WARRANTY; without even the implied warranty of 17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18# GNU Lesser General Public License version 3 for more details 19# (a copy is included in the LICENSE file that accompanied this code). 20# 21# You should have received a copy of the GNU Lesser General Public License 22# version 3 along with OpenOffice.org. If not, see 23# <http://www.openoffice.org/license.html> 24# for a copy of the LGPLv3 License. 25# 26#************************************************************************* 27 28PRJ=.. 29 30PRJNAME=dtrans 31TARGET=dtrans 32TARGET1=mcnttype 33TARGET2=ftransl 34TARGET3=sysdtrans 35TARGET4=dnd 36 37# --- Settings ----------------------------------------------------- 38 39.INCLUDE : settings.mk 40.IF "$(L10N_framework)"=="" 41 42# --- mcnttype dynlib ---------------------------------------------- 43 44SHL1TARGET=$(TARGET1) 45 46SHL1LIBS=$(SLB)$/mcnttype.lib 47 48SHL1STDLIBS= \ 49 $(SALLIB) \ 50 $(CPPULIB) \ 51 $(CPPUHELPERLIB) 52 53.IF "$(GUI)"=="WNT" 54SHL1STDLIBS+= \ 55 $(UWINAPILIB) 56.ENDIF 57 58 59 60SHL1IMPLIB=i$(SHL1TARGET) 61 62#--- comment ----------------- 63 64SHL1DEF= $(MISC)$/$(SHL1TARGET).def 65DEF1NAME= $(SHL1TARGET) 66DEF1EXPORTFILE= exports.dxp 67SHL1VERSIONMAP=$(SOLARENV)/src/component.map 68 69 70.IF "$(GUI)"=="WNT" 71 72# --- ftransl dll --- 73 74SHL2TARGET=$(TARGET2) 75 76SHL2LIBS=$(SLB)$/ftransl.lib\ 77 $(SLB)$/dtutils.lib 78 79SHL2STDLIBS= \ 80 $(SALLIB) \ 81 $(CPPULIB) \ 82 $(CPPUHELPERLIB)\ 83 $(UWINAPILIB)\ 84 $(ADVAPI32LIB)\ 85 $(OLE32LIB)\ 86 $(GDI32LIB) 87 88SHL2IMPLIB=i$(SHL2TARGET) 89 90SHL2DEF= $(MISC)$/$(SHL2TARGET).def 91DEF2NAME= $(SHL2TARGET) 92DEF2EXPORTFILE= exports.dxp 93 94 95# --- sysdtrans dll --- 96 97SHL3TARGET=$(TARGET3) 98 99SHL3LIBS=$(SLB)$/sysdtrans.lib\ 100 $(SLB)$/dtutils.lib\ 101 $(SLB)$/dtobjfact.lib\ 102 $(SLB)$/mtaolecb.lib 103 104.IF "$(COM)" == "GCC" 105SHL3OBJS=$(SLO)$/XNotifyingDataObject.obj 106.ENDIF 107 108SHL3STDLIBS= \ 109 $(SALLIB) \ 110 $(CPPULIB) \ 111 $(CPPUHELPERLIB)\ 112 $(UWINAPILIB)\ 113 $(ADVAPI32LIB)\ 114 $(OLE32LIB)\ 115 $(OLEAUT32LIB)\ 116 $(GDI32LIB)\ 117 $(SHELL32LIB)\ 118 $(UUIDLIB) 119 120SHL3IMPLIB=i$(SHL3TARGET) 121 122SHL3DEF= $(MISC)$/$(SHL3TARGET).def 123DEF3NAME= $(SHL3TARGET) 124DEF3EXPORTFILE= exports.dxp 125 126 127# --- dnd dll --- 128 129SHL4TARGET=$(TARGET4) 130 131SHL4LIBS= \ 132 $(SLB)$/dnd.lib\ 133 $(SLB)$/dtobjfact.lib\ 134 $(SLB)$/dtutils.lib 135 136SHL4STDLIBS= \ 137 $(SALLIB) \ 138 $(CPPULIB) \ 139 $(CPPUHELPERLIB) \ 140 $(UWINAPILIB)\ 141 $(ADVAPI32LIB)\ 142 $(OLE32LIB)\ 143 $(OLEAUT32LIB)\ 144 $(GDI32LIB)\ 145 $(SHELL32LIB)\ 146 $(UUIDLIB) 147 148SHL4DEPN= 149SHL4IMPLIB=i$(SHL4TARGET) 150 151SHL4DEF= $(MISC)$/$(SHL4TARGET).def 152 153DEF4NAME= $(SHL4TARGET) 154DEF4EXPORTFILE= exports.dxp 155 156.ENDIF # "$(GUI)"=="WNT" 157 158.IF "$(GUI)"=="OS2" 159 160# --- sysdtrans dll --- 161 162SHL3TARGET=$(TARGET3) 163 164SHL3LIBS=$(SLB)$/sysdtrans.lib 165 166SHL3STDLIBS= \ 167 $(SALLIB) \ 168 $(CPPULIB) \ 169 $(CPPUHELPERLIB) \ 170 UClip.lib 171 172SHL3IMPLIB=i$(SHL3TARGET) 173 174SHL3DEF= $(MISC)$/$(SHL3TARGET).def 175DEF3NAME= $(SHL3TARGET) 176DEF3EXPORTFILE= exports.dxp 177 178.ENDIF # "$(GUI)"=="OS2" 179.ENDIF # L10N_framework 180 181.INCLUDE : target.mk 182 183ALLTAR : \ 184 $(MISC)/dnd.component \ 185 $(MISC)/ftransl.component \ 186 $(MISC)/mcnttype.component \ 187 $(MISC)/sysdtrans.component 188 189$(MISC)/dnd.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 190 dnd.component 191 $(XSLTPROC) --nonet --stringparam uri \ 192 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL4TARGETN:f)' -o $@ \ 193 $(SOLARENV)/bin/createcomponent.xslt dnd.component 194 195$(MISC)/ftransl.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 196 ftransl.component 197 $(XSLTPROC) --nonet --stringparam uri \ 198 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \ 199 $(SOLARENV)/bin/createcomponent.xslt ftransl.component 200 201$(MISC)/mcnttype.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 202 mcnttype.component 203 $(XSLTPROC) --nonet --stringparam uri \ 204 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 205 $(SOLARENV)/bin/createcomponent.xslt mcnttype.component 206 207$(MISC)/sysdtrans.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 208 sysdtrans.component 209 $(XSLTPROC) --nonet --stringparam uri \ 210 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL3TARGETN:f)' -o $@ \ 211 $(SOLARENV)/bin/createcomponent.xslt sysdtrans.component 212