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$(eval $(call gb_Library_Library,OGLTrans)) 23 24$(eval $(call gb_Library_set_componentfile,OGLTrans,slideshow/source/engine/OGLTrans/ogltrans)) 25 26$(eval $(call gb_Library_set_include,OGLTrans,\ 27 $$(INCLUDE) \ 28 -I$(SRCDIR)/slideshow/source/inc \ 29 -I$(SRCDIR)/slideshow/inc/pch \ 30)) 31 32$(eval $(call gb_Library_add_api,OGLTrans,\ 33 offapi \ 34 udkapi \ 35)) 36 37$(eval $(call gb_Library_add_linked_libs,OGLTrans,\ 38 canvastools \ 39 comphelper \ 40 cppu \ 41 cppuhelper \ 42 sal \ 43 vcl \ 44 $(gb_STDLIBS) \ 45)) 46 47ifeq ($(GUI),UNX) 48ifneq ($(GUIBASE),aqua) 49$(eval $(call gb_Library_add_libs,OGLTrans,\ 50 -lGL \ 51 -lGLU \ 52 -lX11 \ 53)) 54endif 55else 56$(eval $(call gb_Library_add_linked_libs,OGLTrans,\ 57 gdi32 \ 58 glu32 \ 59 opengl32 \ 60)) 61endif 62 63$(eval $(call gb_Library_add_exception_objects,OGLTrans,\ 64 slideshow/source/engine/OGLTrans/OGLTrans_TransitionImpl \ 65 slideshow/source/engine/OGLTrans/OGLTrans_Shaders \ 66 slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl \ 67)) 68 69 70# vim: set noet sw=4 ts=4: 71