1 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
3 # The contents of this file are subject to the Mozilla Public License Version
4 # 1.1 (the "License"); you may not use this file except in compliance with
5 # the License or as specified alternatively below. You may obtain a copy of
6 # the License at http://www.mozilla.org/MPL/
8 # Software distributed under the License is distributed on an "AS IS" basis,
9 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
10 # for the specific language governing rights and limitations under the
13 # The Initial Developer of the Original Code is
14 # David Tardon, Red Hat Inc. <dtardon@redhat.com>
15 # Portions created by the Initial Developer are Copyright (C) 2010 the
16 # Initial Developer. All Rights Reserved.
18 # Major Contributor(s):
20 # For minor contributions see the git repository.
22 # Alternatively, the contents of this file may be used under the terms of
23 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
24 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
25 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
26 # instead of those above.
28 $(eval
$(call gb_Library_Library
,OGLTrans
))
30 $(eval
$(call gb_Library_add_precompiled_header
,OGLTrans
,$(SRCDIR
)/sd
/inc
/pch
/precompiled_sd
))
32 $(eval
$(call gb_Library_set_include
,OGLTrans
,\
34 -I
$(realpath
$(SRCDIR
)/slideshow
/inc
/pch
) \
38 ifeq ($(strip $(VERBOSE
)),TRUE
)
39 $(eval
$(call gb_Library_add_defs
,OGLTrans
,\
44 ifneq ($(strip $(debug
)$(DEBUG
)),)
45 $(eval
$(call gb_Library_add_defs
,OGLTrans
,\
46 -DBOOST_SP_ENABLE_DEBUG_HOOKS \
50 $(eval
$(call gb_Library_add_api
,OGLTrans
,\
55 $(eval
$(call gb_Library_add_linked_libs
,OGLTrans
,\
65 $(eval
$(call gb_Library_set_componentfile
,OGLTrans
,slideshow
/source
/engine
/OGLTrans
/ogltrans
))
67 ifeq ($(strip $(OS
)),MACOSX
)
68 $(eval
$(call gb_Library_add_objcobjects
,OGLTrans
,\
69 slideshow
/source
/engine
/OGLTrans
/mac
/aquaOpenGLView \
70 slideshow
/source
/engine
/OGLTrans
/mac
/OGLTrans_Shaders \
74 $(eval
$(call gb_Library_add_objcxxobjects
,OGLTrans
,\
75 slideshow
/source
/engine
/OGLTrans
/mac
/OGLTrans_TransitionerImpl \
76 slideshow
/source
/engine
/OGLTrans
/mac
/OGLTrans_TransitionImpl \
77 , $(gb_LinkTarget_EXCEPTIONFLAGS
) \
80 $(eval
$(call gb_Library_add_linked_libs
,OGLTrans
,\
86 else ifeq ($(strip $(OS
)),WNT
)
87 $(eval
$(call gb_Library_add_linked_libs
,OGLTrans
,\
93 $(eval
$(call gb_Library_add_exception_objects
,OGLTrans
,\
94 slideshow
/source
/engine
/OGLTrans
/win
/OGLTrans_Shaders \
95 slideshow
/source
/engine
/OGLTrans
/win
/OGLTrans_TransitionerImpl \
96 slideshow
/source
/engine
/OGLTrans
/win
/OGLTrans_TransitionImpl \
100 $(eval
$(call gb_Library_add_exception_objects
,OGLTrans
,\
101 slideshow
/source
/engine
/OGLTrans
/unx
/OGLTrans_Shaders \
102 slideshow
/source
/engine
/OGLTrans
/unx
/OGLTrans_TransitionerImpl \
103 slideshow
/source
/engine
/OGLTrans
/unx
/OGLTrans_TransitionImpl \
106 $(eval
$(call gb_Library_add_linked_libs
,OGLTrans
,\
113 # vim: set noet ts=4 sw=4: