xref: /aoo4110/main/toolkit/Library_tk.mk (revision b1cdbd2c)
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	-I$(OUTDIR)/inc/offuh \
38))
39
40$(eval $(call gb_Library_set_defs,ootk,\
41	$$(DEFS) \
42	-DTOOLKIT_DLLIMPLEMENTATION \
43))
44
45$(eval $(call gb_Library_add_linked_libs,ootk,\
46	comphelper \
47	cppu \
48	cppuhelper \
49	sal \
50	stl \
51	tl \
52	utl \
53	vcl \
54	$(gb_STDLIBS) \
55))
56
57$(eval $(call gb_Library_add_exception_objects,ootk,\
58	toolkit/source/awt/asynccallback \
59	toolkit/source/awt/stylesettings \
60	toolkit/source/awt/vclxaccessiblecomponent \
61	toolkit/source/awt/vclxbitmap \
62	toolkit/source/awt/vclxbutton \
63	toolkit/source/awt/vclxcontainer \
64	toolkit/source/awt/vclxdevice \
65	toolkit/source/awt/vclxdialog \
66	toolkit/source/awt/vclxfixedline \
67	toolkit/source/awt/vclxfont \
68	toolkit/source/awt/vclxgraphics \
69	toolkit/source/awt/vclxmenu \
70	toolkit/source/awt/vclxplugin \
71	toolkit/source/awt/vclxpointer \
72	toolkit/source/awt/vclxprinter \
73	toolkit/source/awt/vclxregion \
74	toolkit/source/awt/vclxscroller \
75	toolkit/source/awt/vclxspinbutton \
76	toolkit/source/awt/vclxsplitter \
77	toolkit/source/awt/vclxsystemdependentwindow \
78	toolkit/source/awt/vclxtabcontrol \
79	toolkit/source/awt/vclxtabpage \
80	toolkit/source/awt/vclxtabpagecontainer \
81	toolkit/source/awt/animatedimagespeer \
82	toolkit/source/awt/vclxtoolkit \
83	toolkit/source/awt/vclxtopwindow \
84	toolkit/source/awt/vclxwindow \
85	toolkit/source/awt/vclxwindow1 \
86	toolkit/source/awt/vclxwindows \
87	toolkit/source/controls/accessiblecontrolcontext \
88	toolkit/source/controls/controlmodelcontainerbase \
89	toolkit/source/controls/dialogcontrol \
90	toolkit/source/controls/eventcontainer \
91	toolkit/source/controls/formattedcontrol \
92	toolkit/source/controls/geometrycontrolmodel \
93	toolkit/source/controls/grid/defaultgridcolumnmodel \
94	toolkit/source/controls/grid/defaultgriddatamodel \
95	toolkit/source/controls/grid/gridcolumn \
96	toolkit/source/controls/grid/grideventforwarder \
97	toolkit/source/controls/grid/sortablegriddatamodel \
98	toolkit/source/controls/grid/gridcontrol \
99	toolkit/source/controls/roadmapcontrol \
100	toolkit/source/controls/roadmapentry \
101	toolkit/source/controls/tabpagecontainer \
102    toolkit/source/controls/tabpagemodel \
103	toolkit/source/controls/stdtabcontroller \
104	toolkit/source/controls/stdtabcontrollermodel \
105	toolkit/source/controls/tkscrollbar \
106	toolkit/source/controls/tkspinbutton \
107	toolkit/source/controls/animatedimages \
108	toolkit/source/controls/spinningprogress \
109	toolkit/source/controls/tree/treecontrol \
110	toolkit/source/controls/tree/treedatamodel \
111	toolkit/source/controls/unocontrol \
112	toolkit/source/controls/unocontrolbase \
113	toolkit/source/controls/unocontrolcontainer \
114	toolkit/source/controls/unocontrolcontainermodel \
115	toolkit/source/controls/unocontrolmodel \
116	toolkit/source/controls/unocontrols \
117	toolkit/source/helper/accessibilityclient \
118	toolkit/source/helper/externallock \
119	toolkit/source/helper/fixedhyperbase \
120	toolkit/source/helper/formpdfexport \
121	toolkit/source/helper/imagealign \
122	toolkit/source/helper/listenermultiplexer \
123	toolkit/source/helper/property \
124	toolkit/source/helper/registerservices \
125	toolkit/source/helper/servicenames \
126	toolkit/source/helper/tkresmgr \
127	toolkit/source/helper/unomemorystream \
128	toolkit/source/helper/unopropertyarrayhelper \
129	toolkit/source/helper/unowrapper \
130	toolkit/source/helper/vclunohelper \
131	toolkit/source/layout/core/bin \
132	toolkit/source/layout/core/box \
133	toolkit/source/layout/core/box-base \
134	toolkit/source/layout/core/byteseq \
135	toolkit/source/layout/core/container \
136	toolkit/source/layout/core/dialogbuttonhbox \
137	toolkit/source/layout/core/factory \
138	toolkit/source/layout/core/flow \
139	toolkit/source/layout/core/helper \
140	toolkit/source/layout/core/import \
141	toolkit/source/layout/core/localized-string \
142	toolkit/source/layout/core/proplist \
143	toolkit/source/layout/core/root \
144	toolkit/source/layout/core/table \
145	toolkit/source/layout/core/timer \
146	toolkit/source/layout/core/translate \
147	toolkit/source/layout/core/vcl \
148	toolkit/source/layout/vcl/wbutton \
149	toolkit/source/layout/vcl/wcontainer \
150	toolkit/source/layout/vcl/wfield \
151	toolkit/source/layout/vcl/wrapper \
152))
153
154ifeq ($(GUIBASE),aqua)
155$(eval $(call gb_Library_set_cxxflags,ootk,\
156	$$(CXXFLAGS) $(gb_OBJCXXFLAGS)))
157endif
158
159ifeq ($(OS),LINUX)
160$(eval $(call gb_Library_add_linked_libs,ootk,\
161	X11 \
162))
163endif
164
165# vim: set noet sw=4 ts=4:
166