xref: /aoo42x/main/slideshow/Library_OGLTrans.mk (revision df3f5cbc)
1*df3f5cbcSdamjan#**************************************************************
2*df3f5cbcSdamjan#
3*df3f5cbcSdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4*df3f5cbcSdamjan#  or more contributor license agreements.  See the NOTICE file
5*df3f5cbcSdamjan#  distributed with this work for additional information
6*df3f5cbcSdamjan#  regarding copyright ownership.  The ASF licenses this file
7*df3f5cbcSdamjan#  to you under the Apache License, Version 2.0 (the
8*df3f5cbcSdamjan#  "License"); you may not use this file except in compliance
9*df3f5cbcSdamjan#  with the License.  You may obtain a copy of the License at
10*df3f5cbcSdamjan#
11*df3f5cbcSdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12*df3f5cbcSdamjan#
13*df3f5cbcSdamjan#  Unless required by applicable law or agreed to in writing,
14*df3f5cbcSdamjan#  software distributed under the License is distributed on an
15*df3f5cbcSdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*df3f5cbcSdamjan#  KIND, either express or implied.  See the License for the
17*df3f5cbcSdamjan#  specific language governing permissions and limitations
18*df3f5cbcSdamjan#  under the License.
19*df3f5cbcSdamjan#
20*df3f5cbcSdamjan#**************************************************************
21*df3f5cbcSdamjan
22*df3f5cbcSdamjan$(eval $(call gb_Library_Library,OGLTrans))
23*df3f5cbcSdamjan
24*df3f5cbcSdamjan$(eval $(call gb_Library_set_componentfile,OGLTrans,slideshow/source/engine/OGLTrans/ogltrans))
25*df3f5cbcSdamjan
26*df3f5cbcSdamjan$(eval $(call gb_Library_set_include,OGLTrans,\
27*df3f5cbcSdamjan        $$(INCLUDE) \
28*df3f5cbcSdamjan	-I$(SRCDIR)/slideshow/source/inc \
29*df3f5cbcSdamjan	-I$(SRCDIR)/slideshow/inc/pch \
30*df3f5cbcSdamjan))
31*df3f5cbcSdamjan
32*df3f5cbcSdamjan$(eval $(call gb_Library_add_api,OGLTrans,\
33*df3f5cbcSdamjan	offapi \
34*df3f5cbcSdamjan	udkapi \
35*df3f5cbcSdamjan))
36*df3f5cbcSdamjan
37*df3f5cbcSdamjan$(eval $(call gb_Library_add_linked_libs,OGLTrans,\
38*df3f5cbcSdamjan	canvastools \
39*df3f5cbcSdamjan	comphelper \
40*df3f5cbcSdamjan	cppu \
41*df3f5cbcSdamjan	cppuhelper \
42*df3f5cbcSdamjan	sal \
43*df3f5cbcSdamjan	vcl \
44*df3f5cbcSdamjan	$(gb_STDLIBS) \
45*df3f5cbcSdamjan))
46*df3f5cbcSdamjan
47*df3f5cbcSdamjanifeq ($(GUI),UNX)
48*df3f5cbcSdamjanifneq ($(GUIBASE),aqua)
49*df3f5cbcSdamjan$(eval $(call gb_Library_add_libs,OGLTrans,\
50*df3f5cbcSdamjan	-lGL \
51*df3f5cbcSdamjan	-lGLU \
52*df3f5cbcSdamjan	-lX11 \
53*df3f5cbcSdamjan))
54*df3f5cbcSdamjanendif
55*df3f5cbcSdamjanelse
56*df3f5cbcSdamjan$(eval $(call gb_Library_add_linked_libs,OGLTrans,\
57*df3f5cbcSdamjan	gdi32 \
58*df3f5cbcSdamjan	glu32 \
59*df3f5cbcSdamjan	opengl32 \
60*df3f5cbcSdamjan))
61*df3f5cbcSdamjanendif
62*df3f5cbcSdamjan
63*df3f5cbcSdamjan$(eval $(call gb_Library_add_exception_objects,OGLTrans,\
64*df3f5cbcSdamjan	slideshow/source/engine/OGLTrans/OGLTrans_TransitionImpl \
65*df3f5cbcSdamjan	slideshow/source/engine/OGLTrans/OGLTrans_Shaders \
66*df3f5cbcSdamjan	slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl \
67*df3f5cbcSdamjan))
68*df3f5cbcSdamjan
69*df3f5cbcSdamjan
70*df3f5cbcSdamjan# vim: set noet sw=4 ts=4:
71