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=sd 31TARGET=sdraw3 32GEN_HID=TRUE 33GEN_HID_OTHER=TRUE 34USE_DEFFILE=TRUE 35 36# --- Settings ----------------------------------------------------------- 37 38.INCLUDE : settings.mk 39 40# --- Resources ---------------------------------------------------- 41 42RESLIB1NAME=sd 43RESLIB1IMAGES=$(PRJ)$/res/imagelst $(PRJ)$/res 44RESLIB1SRSFILES=\ 45 $(SRS)$/app.srs \ 46 $(SRS)$/dlg.srs \ 47 $(SRS)$/core.srs \ 48 $(SRS)$/html.srs \ 49 $(SRS)$/accessibility.srs \ 50 $(SRS)$/notes.srs \ 51 $(SRS)$/animui.srs \ 52 $(SRS)$/slideshow.srs \ 53 $(SRS)$/slsview.srs \ 54 $(SRS)$/uitable.srs \ 55 $(SRS)$/view.srs \ 56 $(SRS)$/uiannotations.srs \ 57 58 59# --- StarDraw DLL 60 61SHL1TARGET= sd$(DLLPOSTFIX) 62SHL1USE_EXPORTS=name 63SHL1IMPLIB= sdi 64 65# dynamic libraries 66SHL1STDLIBS+= \ 67 $(EDITENGLIB) \ 68 $(SVXCORELIB) \ 69 $(SVXLIB) \ 70 $(SFXLIB) \ 71 $(BASICLIB) \ 72 $(CPPCANVASLIB) \ 73 $(BASEGFXLIB) \ 74 $(DRAWINGLAYERLIB) \ 75 $(BASEGFXLIB) \ 76 $(SVTOOLLIB) \ 77 $(TKLIB) \ 78 $(VCLLIB) \ 79 $(SVLLIB) \ 80 $(SOTLIB) \ 81 $(UNOTOOLSLIB) \ 82 $(TOOLSLIB) \ 83 $(I18NISOLANGLIB) \ 84 $(COMPHELPERLIB) \ 85 $(UCBHELPERLIB) \ 86 $(CPPUHELPERLIB) \ 87 $(CPPULIB) \ 88 $(VOSLIB) \ 89 $(CANVASTOOLSLIB) \ 90 $(SALLIB) \ 91 $(AVMEDIALIB) 92 93SHL1LIBS= $(LIB3TARGET) $(LIB5TARGET) $(LIB6TARGET) 94SHL1DEPN+= makefile.mk 95 96SHL1DEF= $(MISC)$/$(SHL1TARGET).def 97DEF1DEPN =$(MISC)$/$(SHL1TARGET).flt 98DEF1NAME =$(SHL1TARGET) 99DEFLIB1NAME = $(TARGET) $(LIB5TARGET:b) $(LIB6TARGET:b) 100 101.IF "$(GUI)" == "WNT" 102SHL1RES= $(RCTARGET) 103.ENDIF 104 105# --- Linken der Applikation --------------------------------------- 106 107LIB2TARGET=$(SLB)$/sdmod.lib 108LIB2OBJFILES= \ 109 $(SLO)$/sdmod1.obj \ 110 $(SLO)$/sdmod2.obj \ 111 $(SLO)$/sdmod.obj 112 113LIB3TARGET=$(SLB)$/sdraw3.lib 114LIB3FILES= \ 115 $(SLB)$/view.lib \ 116 $(SLB)$/app.lib \ 117 $(SLB)$/docshell.lib \ 118 $(SLB)$/dlg.lib \ 119 $(SLB)$/core.lib \ 120 $(SLB)$/undo.lib \ 121 $(SLB)$/annotations.lib \ 122 $(SLB)$/text.lib \ 123 $(SLB)$/helper.lib \ 124 $(SLB)$/xml.lib \ 125 $(SLB)$/cgm.lib \ 126 $(SLB)$/uitable.lib \ 127 $(SLB)$/uiannotations.lib\ 128 $(SLB)$/grf.lib \ 129 $(SLB)$/controller.lib 130 131LIB5TARGET=$(SLB)$/sdraw3_2.lib 132LIB5FILES= \ 133 $(SLB)$/html.lib \ 134 $(SLB)$/filter.lib \ 135 $(SLB)$/unoidl.lib \ 136 $(SLB)$/animui.lib \ 137 $(SLB)$/accessibility.lib \ 138 $(SLB)$/toolpanel.lib \ 139 $(SLB)$/uitools.lib \ 140 $(SLB)$/tpcontrols.lib 141 142LIB6TARGET=$(SLB)$/sdraw3_3.lib 143LIB6FILES= \ 144 $(SLB)$/func.lib \ 145 $(SLB)$/func_2.lib \ 146 $(SLB)$/slsshell.lib \ 147 $(SLB)$/slsmodel.lib \ 148 $(SLB)$/slsview.lib \ 149 $(SLB)$/slscontroller.lib \ 150 $(SLB)$/slscache.lib \ 151 $(SLB)$/slideshow.lib \ 152 $(SLB)$/framework_configuration.lib \ 153 $(SLB)$/framework_factories.lib \ 154 $(SLB)$/framework_module.lib \ 155 $(SLB)$/framework_tools.lib \ 156 $(SLB)$/presenter.lib 157 158# sdd 159SHL2TARGET= sdd$(DLLPOSTFIX) 160SHL2IMPLIB= sddimp 161SHL2VERSIONMAP=$(SOLARENV)/src/component.map 162SHL2DEF=$(MISC)$/$(SHL2TARGET).def 163DEF2NAME= $(SHL2TARGET) 164 165SHL2STDLIBS= \ 166 $(SFX2LIB) \ 167 $(SVXCORELIB) \ 168 $(SVTOOLLIB) \ 169 $(SVLLIB) \ 170 $(VCLLIB) \ 171 $(SOTLIB) \ 172 $(TOOLSLIB) \ 173 $(UNOTOOLSLIB) \ 174 $(UCBHELPERLIB) \ 175 $(CPPUHELPERLIB) \ 176 $(CPPULIB) \ 177 $(SALLIB) 178 179SHL2OBJS= $(SLO)$/sddetect.obj \ 180 $(SLO)$/detreg.obj 181 182SHL2DEPN+= makefile.mk 183 184# sdui 185SHL4TARGET= sdui$(DLLPOSTFIX) 186SHL4IMPLIB= sduiimp 187SHL4VERSIONMAP= sdui.map 188SHL4DEF=$(MISC)$/$(SHL4TARGET).def 189DEF4NAME= $(SHL4TARGET) 190SHL4LIBS= $(SLB)$/sdui_all.lib 191 192LIB4TARGET= $(SLB)$/sdui_all.lib 193LIB4FILES= \ 194 $(SLB)$/sdui.lib \ 195 $(SLB)$/func_ui.lib \ 196 $(SLB)$/html_ui.lib 197 198SHL4STDLIBS= \ 199 $(ISDLIB) \ 200 $(EDITENGLIB) \ 201 $(SVXCORELIB) \ 202 $(SVXLIB) \ 203 $(SFXLIB) \ 204 $(BASEGFXLIB) \ 205 $(SO2LIB) \ 206 $(SVTOOLLIB) \ 207 $(VCLLIB) \ 208 $(SVLLIB) \ 209 $(SOTLIB) \ 210 $(UNOTOOLSLIB) \ 211 $(TOOLSLIB) \ 212 $(I18NISOLANGLIB) \ 213 $(COMPHELPERLIB) \ 214 $(CPPUHELPERLIB) \ 215 $(CPPULIB) \ 216 $(CANVASLIB) \ 217 $(SALLIB) 218 219.IF "$(GUI)$(COM)" == "WNTMSC" 220.IF "$(ENABLE_PCH)" != "" 221#target sd 222SHL1OBJS += $(SLO)$/pchname.obj \ 223 $(SLO)$/pchname_ex.obj 224#target sdd 225SHL2OBJS += $(SLO)$/pchname.obj \ 226 $(SLO)$/pchname_ex.obj 227#target sdui 228SHL4OBJS += $(SLO)$/pchname.obj \ 229 $(SLO)$/pchname_ex.obj 230.ENDIF # "$(ENABLE_PCH)" != "" 231.ENDIF # "$(GUI)$(COM)" == "WNTMSC" 232 233# $(ISDLIB) is build in SHL1TARGET 234.IF "$(GUI)"=="UNX" || ("$(COM)"=="GCC" && "$(GUI)"=="WNT") 235SHL4DEPN=$(SHL1TARGETN) 236SHL5DEPN=$(SHL1TARGETN) 237.ELSE 238SHL4DEPN=$(SHL1IMPLIBN) 239SHL5DEPN=$(SHL1IMPLIBN) 240.ENDIF 241 242# ppt import/export library 243SHL5TARGET = sdfilt$(DLLPOSTFIX) 244SHL5IMPLIB = sdfilti 245SHL5VERSIONMAP= sdfilt.map 246SHL5DEF = $(MISC)$/$(SHL5TARGET).def 247SHL5LIBS = $(SLB)$/ppt.lib $(SLB)$/eppt.lib 248 249DEF5NAME=$(SHL5TARGET) 250 251SHL5STDLIBS = $(ISDLIB) \ 252 $(EDITENGLIB) \ 253 $(SVXCORELIB) \ 254 $(MSFILTERLIB) \ 255 $(SFX2LIB) \ 256 $(SVTOOLLIB) \ 257 $(SOTLIB) \ 258 $(VCLLIB) \ 259 $(SVLLIB) \ 260 $(SOTLIB) \ 261 $(UNOTOOLSLIB) \ 262 $(TOOLSLIB) \ 263 $(UCBHELPERLIB) \ 264 $(CPPUHELPERLIB) \ 265 $(CPPULIB) \ 266 $(SALLIB) \ 267 $(COMPHELPERLIB) \ 268 $(I18NISOLANGLIB) 269 270# --- Targets ------------------------------------------------------------- 271 272.INCLUDE : target.mk 273 274$(MISC)$/$(SHL1TARGET).flt: makefile.mk 275 @echo ------------------------------ 276 @echo Making: $@ 277 @$(TYPE) sd.flt > $@ 278 279ALLTAR : $(MISC)/sd.component $(MISC)/sdd.component 280 281$(MISC)/sd.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 282 sd.component 283 $(XSLTPROC) --nonet --stringparam uri \ 284 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 285 $(SOLARENV)/bin/createcomponent.xslt sd.component 286 287$(MISC)/sdd.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 288 sdd.component 289 $(XSLTPROC) --nonet --stringparam uri \ 290 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \ 291 $(SOLARENV)/bin/createcomponent.xslt sdd.component 292