1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24PRJ=..$/..$/.. 25 26PRJNAME=slideshow 27TARGET=OGLTrans 28TARGETTYPE=GUI 29ENABLE_EXCEPTIONS=TRUE 30 31# --- Settings ----------------------------------------------------------- 32 33.INCLUDE : settings.mk 34.INCLUDE : $(PRJ)$/util$/makefile.pmk 35 36# --- Nothing to do if we're compiling with --disable-opengl ----------- 37.IF "$(ENABLE_OPENGL)" != "TRUE" 38@all: 39 @echo "Building without OpenGL Transitions..." 40.ENDIF 41 42# --- Common ---------------------------------------------------------- 43#.IF "$(GUI)"=="UNX" 44 45SLOFILES = \ 46 $(SLO)$/OGLTrans_TransitionImpl.obj \ 47 $(SLO)$/OGLTrans_Shaders.obj \ 48 $(SLO)$/OGLTrans_TransitionerImpl.obj 49 50DLLPRE= 51SHL1TARGET=$(TARGET).uno 52 53.IF "$(GUI)"=="UNX" 54.IF "$(GUIBASE)"=="aqua" 55 SHL1STDLIBS= $(SALLIB) $(VCLLIB) $(CPPULIB) $(CPPUHELPERLIB) $(COMPHELPERLIB) $(CANVASTOOLSLIB) 56 CFLAGSCXX+=$(OBJCXXFLAGS) 57.ELSE 58 SHL1STDLIBS= $(SALLIB) $(VCLLIB) $(CPPULIB) $(CPPUHELPERLIB) $(COMPHELPERLIB) $(CANVASTOOLSLIB) -lGL -lGLU -lX11 59.ENDIF 60.ELSE 61 SHL1STDLIBS= $(SALLIB) $(VCLLIB) $(CPPULIB) $(CPPUHELPERLIB) $(COMPHELPERLIB) $(CANVASTOOLSLIB) opengl32.lib glu32.lib gdi32.lib 62.ENDIF 63SHL1IMPLIB=i$(TARGET) 64SHL1LIBS=$(SLB)$/$(TARGET).lib 65SHL1DEF=$(MISC)$/$(SHL1TARGET).def 66 67SHL1VERSIONMAP=$(SOLARENV)/src/component.map 68 69DEF1NAME=$(SHL1TARGET) 70DEF1EXPORTFILE=exports.dxp 71 72#.ENDIF 73 74# ========================================================================== 75 76.INCLUDE : target.mk 77 78ALLTAR : $(MISC)/ogltrans.component 79 80$(MISC)/ogltrans.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 81 ogltrans.component 82 $(XSLTPROC) --nonet --stringparam uri \ 83 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 84 $(SOLARENV)/bin/createcomponent.xslt ogltrans.component 85