fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / toolkit / Library_tk.mk
blob8525e3722be81088c51bdfb8af50755185ebed7c
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Library_Library,tk))
22 $(eval $(call gb_Library_set_componentfile,tk,toolkit/util/tk))
24 $(eval $(call gb_Library_use_external,tk,boost_headers))
26 $(eval $(call gb_Library_set_include,tk,\
27 $$(INCLUDE) \
28 -I$(SRCDIR)/toolkit/source \
31 $(eval $(call gb_Library_add_defs,tk,\
32 -DTOOLKIT_DLLIMPLEMENTATION \
35 $(eval $(call gb_Library_use_sdk_api,tk))
37 $(eval $(call gb_Library_use_libraries,tk,\
38 comphelper \
39 cppu \
40 cppuhelper \
41 sal \
42 i18nlangtag \
43 tl \
44 utl \
45 vcl \
46 $(gb_UWINAPI) \
49 $(eval $(call gb_Library_add_exception_objects,tk,\
50 toolkit/source/awt/asynccallback \
51 toolkit/source/awt/stylesettings \
52 toolkit/source/awt/scrollabledialog \
53 toolkit/source/awt/vclxaccessiblecomponent \
54 toolkit/source/awt/vclxbitmap \
55 toolkit/source/awt/vclxcontainer \
56 toolkit/source/awt/vclxdevice \
57 toolkit/source/awt/vclxfont \
58 toolkit/source/awt/vclxgraphics \
59 toolkit/source/awt/vclxmenu \
60 toolkit/source/awt/vclxpointer \
61 toolkit/source/awt/vclxprinter \
62 toolkit/source/awt/vclxregion \
63 toolkit/source/awt/vclxspinbutton \
64 toolkit/source/awt/vclxsystemdependentwindow \
65 toolkit/source/awt/vclxtabpagecontainer \
66 toolkit/source/awt/animatedimagespeer \
67 toolkit/source/awt/vclxtoolkit \
68 toolkit/source/awt/vclxtopwindow \
69 toolkit/source/awt/vclxwindow \
70 toolkit/source/awt/vclxwindow1 \
71 toolkit/source/awt/vclxwindows \
72 toolkit/source/awt/xsimpleanimation \
73 toolkit/source/awt/xthrobber \
74 toolkit/source/controls/accessiblecontrolcontext \
75 toolkit/source/controls/controlmodelcontainerbase \
76 toolkit/source/controls/dialogcontrol \
77 toolkit/source/controls/eventcontainer \
78 toolkit/source/controls/formattedcontrol \
79 toolkit/source/controls/geometrycontrolmodel \
80 toolkit/source/controls/grid/defaultgridcolumnmodel \
81 toolkit/source/controls/grid/defaultgriddatamodel \
82 toolkit/source/controls/grid/gridcolumn \
83 toolkit/source/controls/grid/grideventforwarder \
84 toolkit/source/controls/grid/sortablegriddatamodel \
85 toolkit/source/controls/grid/gridcontrol \
86 toolkit/source/controls/roadmapcontrol \
87 toolkit/source/controls/roadmapentry \
88 toolkit/source/controls/tabpagecontainer \
89 toolkit/source/controls/tabpagemodel \
90 toolkit/source/controls/stdtabcontroller \
91 toolkit/source/controls/stdtabcontrollermodel \
92 toolkit/source/controls/tkscrollbar \
93 toolkit/source/controls/tksimpleanimation \
94 toolkit/source/controls/tkspinbutton \
95 toolkit/source/controls/tkthrobber \
96 toolkit/source/controls/animatedimages \
97 toolkit/source/controls/spinningprogress \
98 toolkit/source/controls/tree/treecontrol \
99 toolkit/source/controls/tree/treedatamodel \
100 toolkit/source/controls/unocontrol \
101 toolkit/source/controls/unocontrolbase \
102 toolkit/source/controls/unocontrolcontainer \
103 toolkit/source/controls/unocontrolcontainermodel \
104 toolkit/source/controls/unocontrolmodel \
105 toolkit/source/controls/unocontrols \
106 toolkit/source/helper/accessibilityclient \
107 toolkit/source/helper/externallock \
108 toolkit/source/helper/formpdfexport \
109 toolkit/source/helper/imagealign \
110 toolkit/source/helper/listenermultiplexer \
111 toolkit/source/helper/property \
112 toolkit/source/helper/registerservices \
113 toolkit/source/helper/servicenames \
114 toolkit/source/helper/tkresmgr \
115 toolkit/source/helper/unopropertyarrayhelper \
116 toolkit/source/helper/unowrapper \
117 toolkit/source/helper/vclunohelper \
120 ifeq ($(OS),MACOSX)
121 $(eval $(call gb_Library_add_cxxflags,tk,\
122 $(gb_OBJCXXFLAGS) \
124 endif
126 ifeq ($(OS),IOS)
127 $(eval $(call gb_Library_add_cxxflags,tk,\
128 $(gb_OBJCXXFLAGS)))
129 endif
131 ifneq ($(GUIBASE),headless)
132 ifneq (,$(filter LINUX DRAGONFLY OPENBSD FREEBSD NETBSD, $(OS)))
133 $(eval $(call gb_Library_add_libs,tk,\
134 -lX11 \
136 endif
137 endif
139 ifeq ($(OS),ANDROID)
140 $(eval $(call gb_Library_use_libraries,tk,\
141 libotouch \
143 endif
145 # vim: set noet sw=4 ts=4: