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=slideshow 31TARGET=OGLTrans 32TARGETTYPE=GUI 33ENABLE_EXCEPTIONS=TRUE 34 35# --- Settings ----------------------------------------------------------- 36 37.INCLUDE : settings.mk 38.INCLUDE : $(PRJ)$/util$/makefile.pmk 39 40# --- Nothing to do if we're compiling with --disable-opengl ----------- 41.IF "$(ENABLE_OPENGL)" != "TRUE" 42@all: 43 @echo "Building without OpenGL Transitions..." 44.ENDIF 45 46# --- Common ---------------------------------------------------------- 47#.IF "$(GUI)"=="UNX" 48 49SLOFILES = \ 50 $(SLO)$/OGLTrans_TransitionImpl.obj \ 51 $(SLO)$/OGLTrans_Shaders.obj \ 52 $(SLO)$/OGLTrans_TransitionerImpl.obj 53 54DLLPRE= 55SHL1TARGET=$(TARGET).uno 56 57.IF "$(GUI)"=="UNX" 58.IF "$(GUIBASE)"=="aqua" 59 SHL1STDLIBS= $(SALLIB) $(VCLLIB) $(CPPULIB) $(CPPUHELPERLIB) $(COMPHELPERLIB) $(CANVASTOOLSLIB) 60 CFLAGSCXX+=$(OBJCXXFLAGS) 61.ELSE 62 SHL1STDLIBS= $(SALLIB) $(VCLLIB) $(CPPULIB) $(CPPUHELPERLIB) $(COMPHELPERLIB) $(CANVASTOOLSLIB) -lGL -lGLU -lX11 63.ENDIF 64.ELSE 65 SHL1STDLIBS= $(SALLIB) $(VCLLIB) $(CPPULIB) $(CPPUHELPERLIB) $(COMPHELPERLIB) $(CANVASTOOLSLIB) opengl32.lib glu32.lib gdi32.lib 66.ENDIF 67SHL1IMPLIB=i$(TARGET) 68SHL1LIBS=$(SLB)$/$(TARGET).lib 69SHL1DEF=$(MISC)$/$(SHL1TARGET).def 70 71SHL1VERSIONMAP=$(SOLARENV)/src/component.map 72 73DEF1NAME=$(SHL1TARGET) 74DEF1EXPORTFILE=exports.dxp 75 76#.ENDIF 77 78# ========================================================================== 79 80.INCLUDE : target.mk 81 82ALLTAR : $(MISC)/ogltrans.component 83 84$(MISC)/ogltrans.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 85 ogltrans.component 86 $(XSLTPROC) --nonet --stringparam uri \ 87 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 88 $(SOLARENV)/bin/createcomponent.xslt ogltrans.component 89