migrate even more user setting (fdo#57061)
[LibreOffice.git] / toolkit / Library_tk.mk
blob7385829e8965af4455a60b420b584f3081b1cbdd
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 #
6 # Copyright 2000, 2011 Oracle and/or its affiliates.
8 # OpenOffice.org - a multi-platform office productivity suite
10 # This file is part of OpenOffice.org.
12 # OpenOffice.org is free software: you can redistribute it and/or modify
13 # it under the terms of the GNU Lesser General Public License version 3
14 # only, as published by the Free Software Foundation.
16 # OpenOffice.org is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU Lesser General Public License version 3 for more details
20 # (a copy is included in the LICENSE file that accompanied this code).
22 # You should have received a copy of the GNU Lesser General Public License
23 # version 3 along with OpenOffice.org. If not, see
24 # <http://www.openoffice.org/license.html>
25 # for a copy of the LGPLv3 License.
27 #*************************************************************************
29 $(eval $(call gb_Library_Library,tk))
31 $(eval $(call gb_Library_set_componentfile,tk,toolkit/util/tk))
33 $(eval $(call gb_Library_use_package,tk,toolkit_inc))
35 $(eval $(call gb_Library_set_include,tk,\
36 $$(INCLUDE) \
37 -I$(SRCDIR)/toolkit/inc \
38 -I$(SRCDIR)/toolkit/source \
41 $(eval $(call gb_Library_add_defs,tk,\
42 -DTOOLKIT_DLLIMPLEMENTATION \
45 $(eval $(call gb_Library_use_sdk_api,tk))
47 $(eval $(call gb_Library_use_libraries,tk,\
48 comphelper \
49 cppu \
50 cppuhelper \
51 sal \
52 i18nisolang1 \
53 tl \
54 utl \
55 vcl \
56 $(gb_UWINAPI) \
59 $(eval $(call gb_Library_add_exception_objects,tk,\
60 toolkit/source/awt/asynccallback \
61 toolkit/source/awt/stylesettings \
62 toolkit/source/awt/scrollabledialog \
63 toolkit/source/awt/vclxaccessiblecomponent \
64 toolkit/source/awt/vclxbitmap \
65 toolkit/source/awt/vclxcontainer \
66 toolkit/source/awt/vclxdevice \
67 toolkit/source/awt/vclxfont \
68 toolkit/source/awt/vclxgraphics \
69 toolkit/source/awt/vclxmenu \
70 toolkit/source/awt/vclxpointer \
71 toolkit/source/awt/vclxprinter \
72 toolkit/source/awt/vclxregion \
73 toolkit/source/awt/vclxspinbutton \
74 toolkit/source/awt/vclxsystemdependentwindow \
75 toolkit/source/awt/vclxtabpagecontainer \
76 toolkit/source/awt/animatedimagespeer \
77 toolkit/source/awt/vclxtoolkit \
78 toolkit/source/awt/vclxtopwindow \
79 toolkit/source/awt/vclxwindow \
80 toolkit/source/awt/vclxwindow1 \
81 toolkit/source/awt/vclxwindows \
82 toolkit/source/awt/xsimpleanimation \
83 toolkit/source/awt/xthrobber \
84 toolkit/source/controls/accessiblecontrolcontext \
85 toolkit/source/controls/controlmodelcontainerbase \
86 toolkit/source/controls/dialogcontrol \
87 toolkit/source/controls/eventcontainer \
88 toolkit/source/controls/formattedcontrol \
89 toolkit/source/controls/geometrycontrolmodel \
90 toolkit/source/controls/grid/defaultgridcolumnmodel \
91 toolkit/source/controls/grid/defaultgriddatamodel \
92 toolkit/source/controls/grid/gridcolumn \
93 toolkit/source/controls/grid/grideventforwarder \
94 toolkit/source/controls/grid/sortablegriddatamodel \
95 toolkit/source/controls/grid/gridcontrol \
96 toolkit/source/controls/roadmapcontrol \
97 toolkit/source/controls/roadmapentry \
98 toolkit/source/controls/tabpagecontainer \
99 toolkit/source/controls/tabpagemodel \
100 toolkit/source/controls/stdtabcontroller \
101 toolkit/source/controls/stdtabcontrollermodel \
102 toolkit/source/controls/tkscrollbar \
103 toolkit/source/controls/tksimpleanimation \
104 toolkit/source/controls/tkspinbutton \
105 toolkit/source/controls/tkthrobber \
106 toolkit/source/controls/animatedimages \
107 toolkit/source/controls/spinningprogress \
108 toolkit/source/controls/tree/treecontrol \
109 toolkit/source/controls/tree/treedatamodel \
110 toolkit/source/controls/unocontrol \
111 toolkit/source/controls/unocontrolbase \
112 toolkit/source/controls/unocontrolcontainer \
113 toolkit/source/controls/unocontrolcontainermodel \
114 toolkit/source/controls/unocontrolmodel \
115 toolkit/source/controls/unocontrols \
116 toolkit/source/helper/accessibilityclient \
117 toolkit/source/helper/externallock \
118 toolkit/source/helper/formpdfexport \
119 toolkit/source/helper/imagealign \
120 toolkit/source/helper/listenermultiplexer \
121 toolkit/source/helper/property \
122 toolkit/source/helper/registerservices \
123 toolkit/source/helper/servicenames \
124 toolkit/source/helper/tkresmgr \
125 toolkit/source/helper/unopropertyarrayhelper \
126 toolkit/source/helper/unowrapper \
127 toolkit/source/helper/vclunohelper \
130 ifeq ($(GUIBASE),aqua)
131 $(eval $(call gb_Library_add_cxxflags,tk,\
132 $(gb_OBJCXXFLAGS) \
134 endif
136 ifeq ($(GUIBASE),cocoatouch)
137 $(eval $(call gb_Library_add_cxxflags,tk,\
138 $(gb_OBJCXXFLAGS)))
139 endif
141 ifneq ($(GUIBASE),headless)
142 ifneq (,$(filter LINUX DRAGONFLY OPENBSD FREEBSD NETBSD, $(OS)))
143 $(eval $(call gb_Library_add_libs,tk,\
144 -lX11 \
146 endif
147 endif
149 ifeq ($(OS),ANDROID)
150 $(eval $(call gb_Library_use_libraries,tk,\
151 libotouch \
153 endif
155 # vim: set noet sw=4 ts=4: