xref: /trunk/main/toolkit/Library_tk.mk (revision b63233d8)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24$(eval $(call gb_Library_Library,ootk))
25
26$(eval $(call gb_Library_set_componentfile,ootk,toolkit/util/ootk))
27
28$(eval $(call gb_Library_add_package_headers,ootk,toolkit_inc))
29
30#$(eval $(call gb_Library_add_precompiled_header,ootk,$(SRCDIR)/toolkit/inc/pch/precompiled_toolkit))
31
32$(eval $(call gb_Library_set_include,ootk,\
33	$$(INCLUDE) \
34	-I$(SRCDIR)/toolkit/inc \
35	-I$(SRCDIR)/toolkit/inc/pch \
36	-I$(SRCDIR)/toolkit/source \
37))
38
39$(eval $(call gb_Library_add_defs,ootk,\
40	-DTOOLKIT_DLLIMPLEMENTATION \
41))
42
43$(eval $(call gb_Library_add_api,ootk,\
44	udkapi \
45	offapi \
46))
47
48$(eval $(call gb_Library_add_linked_libs,ootk,\
49	comphelper \
50	cppu \
51	cppuhelper \
52	sal \
53	stl \
54	tl \
55	utl \
56	vcl \
57	$(gb_STDLIBS) \
58))
59
60$(eval $(call gb_Library_add_exception_objects,ootk,\
61	toolkit/source/awt/asynccallback \
62	toolkit/source/awt/stylesettings \
63	toolkit/source/awt/vclxaccessiblecomponent \
64	toolkit/source/awt/vclxbitmap \
65	toolkit/source/awt/vclxbutton \
66	toolkit/source/awt/vclxcontainer \
67	toolkit/source/awt/vclxdevice \
68	toolkit/source/awt/vclxdialog \
69	toolkit/source/awt/vclxfixedline \
70	toolkit/source/awt/vclxfont \
71	toolkit/source/awt/vclxgraphics \
72	toolkit/source/awt/vclxmenu \
73	toolkit/source/awt/vclxplugin \
74	toolkit/source/awt/vclxpointer \
75	toolkit/source/awt/vclxprinter \
76	toolkit/source/awt/vclxregion \
77	toolkit/source/awt/vclxscroller \
78	toolkit/source/awt/vclxspinbutton \
79	toolkit/source/awt/vclxsplitter \
80	toolkit/source/awt/vclxsystemdependentwindow \
81	toolkit/source/awt/vclxtabcontrol \
82	toolkit/source/awt/vclxtabpage \
83	toolkit/source/awt/vclxtabpagecontainer \
84	toolkit/source/awt/animatedimagespeer \
85	toolkit/source/awt/vclxtoolkit \
86	toolkit/source/awt/vclxtopwindow \
87	toolkit/source/awt/vclxwindow \
88	toolkit/source/awt/vclxwindow1 \
89	toolkit/source/awt/vclxwindows \
90	toolkit/source/controls/accessiblecontrolcontext \
91	toolkit/source/controls/controlmodelcontainerbase \
92	toolkit/source/controls/dialogcontrol \
93	toolkit/source/controls/eventcontainer \
94	toolkit/source/controls/formattedcontrol \
95	toolkit/source/controls/geometrycontrolmodel \
96	toolkit/source/controls/grid/defaultgridcolumnmodel \
97	toolkit/source/controls/grid/defaultgriddatamodel \
98	toolkit/source/controls/grid/gridcolumn \
99	toolkit/source/controls/grid/grideventforwarder \
100	toolkit/source/controls/grid/sortablegriddatamodel \
101	toolkit/source/controls/grid/gridcontrol \
102	toolkit/source/controls/roadmapcontrol \
103	toolkit/source/controls/roadmapentry \
104	toolkit/source/controls/tabpagecontainer \
105    toolkit/source/controls/tabpagemodel \
106	toolkit/source/controls/stdtabcontroller \
107	toolkit/source/controls/stdtabcontrollermodel \
108	toolkit/source/controls/tkscrollbar \
109	toolkit/source/controls/tkspinbutton \
110	toolkit/source/controls/animatedimages \
111	toolkit/source/controls/spinningprogress \
112	toolkit/source/controls/tree/treecontrol \
113	toolkit/source/controls/tree/treedatamodel \
114	toolkit/source/controls/unocontrol \
115	toolkit/source/controls/unocontrolbase \
116	toolkit/source/controls/unocontrolcontainer \
117	toolkit/source/controls/unocontrolcontainermodel \
118	toolkit/source/controls/unocontrolmodel \
119	toolkit/source/controls/unocontrols \
120	toolkit/source/helper/accessibilityclient \
121	toolkit/source/helper/externallock \
122	toolkit/source/helper/fixedhyperbase \
123	toolkit/source/helper/formpdfexport \
124	toolkit/source/helper/imagealign \
125	toolkit/source/helper/listenermultiplexer \
126	toolkit/source/helper/property \
127	toolkit/source/helper/registerservices \
128	toolkit/source/helper/servicenames \
129	toolkit/source/helper/tkresmgr \
130	toolkit/source/helper/unomemorystream \
131	toolkit/source/helper/unopropertyarrayhelper \
132	toolkit/source/helper/unowrapper \
133	toolkit/source/helper/vclunohelper \
134	toolkit/source/layout/core/bin \
135	toolkit/source/layout/core/box \
136	toolkit/source/layout/core/box-base \
137	toolkit/source/layout/core/byteseq \
138	toolkit/source/layout/core/container \
139	toolkit/source/layout/core/dialogbuttonhbox \
140	toolkit/source/layout/core/factory \
141	toolkit/source/layout/core/flow \
142	toolkit/source/layout/core/helper \
143	toolkit/source/layout/core/import \
144	toolkit/source/layout/core/localized-string \
145	toolkit/source/layout/core/proplist \
146	toolkit/source/layout/core/root \
147	toolkit/source/layout/core/table \
148	toolkit/source/layout/core/timer \
149	toolkit/source/layout/core/translate \
150	toolkit/source/layout/core/vcl \
151	toolkit/source/layout/vcl/wbutton \
152	toolkit/source/layout/vcl/wcontainer \
153	toolkit/source/layout/vcl/wfield \
154	toolkit/source/layout/vcl/wrapper \
155))
156
157ifeq ($(GUIBASE),aqua)
158$(eval $(call gb_Library_add_cxxflags,ootk,\
159	$(gb_OBJCXXFLAGS) \
160))
161endif
162
163ifeq ($(OS),LINUX)
164$(eval $(call gb_Library_add_linked_libs,ootk,\
165	X11 \
166))
167endif
168
169# vim: set noet sw=4 ts=4:
170