Version 6.1.4.1, tag libreoffice-6.1.4.1
[LibreOffice.git] / toolkit / Library_tk.mk
blob29dc182bbc4fe35a10ccc62ff3cf097301895ec0
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_externals,tk,\
25 boost_headers \
28 ifeq ($(ENABLE_HEADLESS),)
29 $(eval $(call gb_Library_use_externals,tk,\
30 epoxy \
32 endif
33 $(eval $(call gb_Library_set_include,tk,\
34 $$(INCLUDE) \
35 -I$(SRCDIR)/toolkit/inc \
36 -I$(SRCDIR)/toolkit/source \
39 $(eval $(call gb_Library_add_defs,tk,\
40 -DTOOLKIT_DLLIMPLEMENTATION \
41 -DSVT_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,svt))\" \
44 $(eval $(call gb_Library_use_sdk_api,tk))
46 $(eval $(call gb_Library_use_libraries,tk,\
47 comphelper \
48 cppu \
49 cppuhelper \
50 sal \
51 salhelper \
52 i18nlangtag \
53 tl \
54 utl \
55 vcl \
58 $(eval $(call gb_Library_add_exception_objects,tk,\
59 toolkit/source/awt/asynccallback \
60 toolkit/source/awt/stylesettings \
61 toolkit/source/awt/scrollabledialog \
62 toolkit/source/awt/vclxaccessiblecomponent \
63 toolkit/source/awt/vclxbitmap \
64 toolkit/source/awt/vclxcontainer \
65 toolkit/source/awt/vclxdevice \
66 toolkit/source/awt/vclxfont \
67 toolkit/source/awt/vclxgraphics \
68 toolkit/source/awt/vclxmenu \
69 toolkit/source/awt/vclxpointer \
70 toolkit/source/awt/vclxprinter \
71 toolkit/source/awt/vclxregion \
72 toolkit/source/awt/vclxspinbutton \
73 toolkit/source/awt/vclxsystemdependentwindow \
74 toolkit/source/awt/vclxtabpagecontainer \
75 toolkit/source/awt/animatedimagespeer \
76 toolkit/source/awt/vclxtoolkit \
77 toolkit/source/awt/vclxtopwindow \
78 toolkit/source/awt/vclxwindow \
79 toolkit/source/awt/vclxwindow1 \
80 toolkit/source/awt/vclxwindows \
81 toolkit/source/controls/accessiblecontrolcontext \
82 toolkit/source/controls/controlmodelcontainerbase \
83 toolkit/source/controls/dialogcontrol \
84 toolkit/source/controls/eventcontainer \
85 toolkit/source/controls/formattedcontrol \
86 toolkit/source/controls/geometrycontrolmodel \
87 toolkit/source/controls/grid/defaultgridcolumnmodel \
88 toolkit/source/controls/grid/defaultgriddatamodel \
89 toolkit/source/controls/grid/gridcolumn \
90 toolkit/source/controls/grid/grideventforwarder \
91 toolkit/source/controls/grid/sortablegriddatamodel \
92 toolkit/source/controls/grid/gridcontrol \
93 toolkit/source/controls/roadmapcontrol \
94 toolkit/source/controls/roadmapentry \
95 toolkit/source/controls/tabpagecontainer \
96 toolkit/source/controls/tabpagemodel \
97 toolkit/source/controls/stdtabcontroller \
98 toolkit/source/controls/stdtabcontrollermodel \
99 toolkit/source/controls/tkscrollbar \
100 toolkit/source/controls/tkspinbutton \
101 toolkit/source/controls/animatedimages \
102 toolkit/source/controls/spinningprogress \
103 toolkit/source/controls/tree/treecontrol \
104 toolkit/source/controls/tree/treedatamodel \
105 toolkit/source/controls/unocontrol \
106 toolkit/source/controls/unocontrolbase \
107 toolkit/source/controls/unocontrolcontainer \
108 toolkit/source/controls/unocontrolcontainermodel \
109 toolkit/source/controls/unocontrolmodel \
110 toolkit/source/controls/unocontrols \
111 toolkit/source/helper/accessibilityclient \
112 toolkit/source/helper/btndlg \
113 toolkit/source/helper/formpdfexport \
114 toolkit/source/helper/imagealign \
115 toolkit/source/helper/listenermultiplexer \
116 toolkit/source/helper/property \
117 toolkit/source/helper/servicenames \
118 toolkit/source/helper/tkresmgr \
119 toolkit/source/helper/unopropertyarrayhelper \
120 toolkit/source/helper/unowrapper \
121 toolkit/source/helper/vclunohelper \
124 ifeq ($(OS),MACOSX)
125 $(eval $(call gb_Library_add_cxxflags,tk,\
126 $(gb_OBJCXXFLAGS) \
128 $(eval $(call gb_Library_add_libs,tk,\
129 -lobjc \
131 endif
133 ifeq ($(OS),IOS)
134 $(eval $(call gb_Library_add_cxxflags,tk,\
135 $(gb_OBJCXXFLAGS)))
136 endif
138 # vim: set noet sw=4 ts=4: