xref: /aoo42x/main/cui/Library_cui.mk (revision 036294fd)
1*036294fdSdamjan#**************************************************************
2*036294fdSdamjan#
3*036294fdSdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4*036294fdSdamjan#  or more contributor license agreements.  See the NOTICE file
5*036294fdSdamjan#  distributed with this work for additional information
6*036294fdSdamjan#  regarding copyright ownership.  The ASF licenses this file
7*036294fdSdamjan#  to you under the Apache License, Version 2.0 (the
8*036294fdSdamjan#  "License"); you may not use this file except in compliance
9*036294fdSdamjan#  with the License.  You may obtain a copy of the License at
10*036294fdSdamjan#
11*036294fdSdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12*036294fdSdamjan#
13*036294fdSdamjan#  Unless required by applicable law or agreed to in writing,
14*036294fdSdamjan#  software distributed under the License is distributed on an
15*036294fdSdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*036294fdSdamjan#  KIND, either express or implied.  See the License for the
17*036294fdSdamjan#  specific language governing permissions and limitations
18*036294fdSdamjan#  under the License.
19*036294fdSdamjan#
20*036294fdSdamjan#**************************************************************
21*036294fdSdamjan
22*036294fdSdamjan
23*036294fdSdamjan
24*036294fdSdamjan$(eval $(call gb_Library_Library,cui))
25*036294fdSdamjan
26*036294fdSdamjan$(eval $(call gb_Library_add_precompiled_header,cui,$(SRCDIR)/cui/inc/pch/precompiled_cui))
27*036294fdSdamjan
28*036294fdSdamjan$(eval $(call gb_Library_set_componentfile,cui,cui/util/cui))
29*036294fdSdamjan
30*036294fdSdamjan$(eval $(call gb_Library_set_include,cui,\
31*036294fdSdamjan        $$(INCLUDE) \
32*036294fdSdamjan	-I$(SRCDIR)/cui/inc/pch \
33*036294fdSdamjan	-I$(SRCDIR)/cui/source/inc \
34*036294fdSdamjan))
35*036294fdSdamjan
36*036294fdSdamjan$(eval $(call gb_Library_add_defs,cui,\
37*036294fdSdamjan	-DBUILD_VER_STRING="$(BUILD_VER_STRING)" \
38*036294fdSdamjan	-DCOPYRIGHT_YEAR=$(shell perl -e 'use POSIX qw(strftime); print strftime("%Y", gmtime($$ENV{SOURCE_DATE_EPOCH} || time));') \
39*036294fdSdamjan))
40*036294fdSdamjan
41*036294fdSdamjanifeq ($(ENABLE_GTK),TRUE)
42*036294fdSdamjan$(eval $(call gb_Library_add_defs,cui,-DENABLE_GTK))
43*036294fdSdamjanendif
44*036294fdSdamjan
45*036294fdSdamjanifeq ($(ENABLE_KDE),TRUE)
46*036294fdSdamjan$(eval $(call gb_Library_add_defs,cui,-DENABLE_KDE))
47*036294fdSdamjanendif
48*036294fdSdamjan
49*036294fdSdamjanifeq ($(ENABLE_KDE4),TRUE)
50*036294fdSdamjan$(eval $(call gb_Library_add_defs,cui,-DENABLE_KDE4))
51*036294fdSdamjanendif
52*036294fdSdamjan
53*036294fdSdamjan$(eval $(call gb_Library_add_api,cui,\
54*036294fdSdamjan	offapi \
55*036294fdSdamjan	udkapi \
56*036294fdSdamjan))
57*036294fdSdamjan
58*036294fdSdamjan$(eval $(call gb_Library_add_linked_libs,cui,\
59*036294fdSdamjan	avmedia \
60*036294fdSdamjan	basegfx \
61*036294fdSdamjan	comphelper \
62*036294fdSdamjan	cppuhelper \
63*036294fdSdamjan	cppu \
64*036294fdSdamjan	editeng \
65*036294fdSdamjan	i18nisolang1 \
66*036294fdSdamjan	jvmfwk \
67*036294fdSdamjan	lng \
68*036294fdSdamjan	ootk \
69*036294fdSdamjan	sal \
70*036294fdSdamjan	sb \
71*036294fdSdamjan	sax \
72*036294fdSdamjan	sfx \
73*036294fdSdamjan	sot \
74*036294fdSdamjan	stl \
75*036294fdSdamjan	svl \
76*036294fdSdamjan	svt \
77*036294fdSdamjan	svx \
78*036294fdSdamjan	svxcore \
79*036294fdSdamjan	tl \
80*036294fdSdamjan	ucbhelper \
81*036294fdSdamjan	utl \
82*036294fdSdamjan	vcl \
83*036294fdSdamjan	vos3 \
84*036294fdSdamjan	$(gb_STDLIBS) \
85*036294fdSdamjan))
86*036294fdSdamjan
87*036294fdSdamjanifeq ($(GUI),WNT)
88*036294fdSdamjan$(eval $(call gb_Library_add_linked_libs,cui,\
89*036294fdSdamjan	advapi32 \
90*036294fdSdamjan	shlwapi \
91*036294fdSdamjan))
92*036294fdSdamjanendif
93*036294fdSdamjan
94*036294fdSdamjan$(call gb_Library_use_external,cui,icuuc)
95*036294fdSdamjan
96*036294fdSdamjan$(eval $(call gb_Library_add_exception_objects,cui,\
97*036294fdSdamjan	cui/source/customize/acccfg \
98*036294fdSdamjan	cui/source/customize/cfg \
99*036294fdSdamjan	cui/source/customize/cfgutil \
100*036294fdSdamjan	cui/source/customize/eventdlg \
101*036294fdSdamjan	cui/source/customize/macropg \
102*036294fdSdamjan	cui/source/customize/selector \
103*036294fdSdamjan	cui/source/dialogs/about \
104*036294fdSdamjan	cui/source/dialogs/colorpicker \
105*036294fdSdamjan	cui/source/dialogs/commonlingui \
106*036294fdSdamjan	cui/source/dialogs/cuicharmap \
107*036294fdSdamjan	cui/source/dialogs/cuifmsearch \
108*036294fdSdamjan	cui/source/dialogs/cuigaldlg \
109*036294fdSdamjan	cui/source/dialogs/cuigrfflt \
110*036294fdSdamjan	cui/source/dialogs/cuihyperdlg \
111*036294fdSdamjan	cui/source/dialogs/cuiimapwnd \
112*036294fdSdamjan	cui/source/dialogs/cuitbxform \
113*036294fdSdamjan	cui/source/dialogs/dlgname \
114*036294fdSdamjan	cui/source/dialogs/hangulhanjadlg \
115*036294fdSdamjan	cui/source/dialogs/hldocntp \
116*036294fdSdamjan	cui/source/dialogs/hldoctp \
117*036294fdSdamjan	cui/source/dialogs/hlinettp \
118*036294fdSdamjan	cui/source/dialogs/hlmailtp \
119*036294fdSdamjan	cui/source/dialogs/hlmarkwn \
120*036294fdSdamjan	cui/source/dialogs/hltpbase \
121*036294fdSdamjan	cui/source/dialogs/hyphen \
122*036294fdSdamjan	cui/source/dialogs/iconcdlg \
123*036294fdSdamjan	cui/source/dialogs/insdlg \
124*036294fdSdamjan	cui/source/dialogs/insrc \
125*036294fdSdamjan	cui/source/dialogs/linkdlg \
126*036294fdSdamjan	cui/source/dialogs/multifil \
127*036294fdSdamjan	cui/source/dialogs/multipat \
128*036294fdSdamjan	cui/source/dialogs/newtabledlg \
129*036294fdSdamjan	cui/source/dialogs/passwdomdlg \
130*036294fdSdamjan	cui/source/dialogs/pastedlg \
131*036294fdSdamjan	cui/source/dialogs/plfilter \
132*036294fdSdamjan	cui/source/dialogs/postdlg \
133*036294fdSdamjan	cui/source/dialogs/scriptdlg \
134*036294fdSdamjan	cui/source/dialogs/sdrcelldlg \
135*036294fdSdamjan	cui/source/dialogs/showcols \
136*036294fdSdamjan	cui/source/dialogs/SpellAttrib \
137*036294fdSdamjan	cui/source/dialogs/SpellDialog \
138*036294fdSdamjan	cui/source/dialogs/splitcelldlg \
139*036294fdSdamjan	cui/source/dialogs/srchxtra \
140*036294fdSdamjan	cui/source/dialogs/thesdlg \
141*036294fdSdamjan	cui/source/dialogs/zoom \
142*036294fdSdamjan	cui/source/factory/dlgfact \
143*036294fdSdamjan	cui/source/factory/cuiexp \
144*036294fdSdamjan	cui/source/factory/cuiresmgr \
145*036294fdSdamjan	cui/source/factory/init \
146*036294fdSdamjan	cui/source/options/cfgchart \
147*036294fdSdamjan	cui/source/options/connpoolconfig \
148*036294fdSdamjan	cui/source/options/connpooloptions \
149*036294fdSdamjan	cui/source/options/connpoolsettings \
150*036294fdSdamjan	cui/source/options/cuisrchdlg \
151*036294fdSdamjan	cui/source/options/dbregister \
152*036294fdSdamjan	cui/source/options/dbregisterednamesconfig \
153*036294fdSdamjan	cui/source/options/dbregistersettings \
154*036294fdSdamjan	cui/source/options/doclinkdialog \
155*036294fdSdamjan	cui/source/options/fontsubs \
156*036294fdSdamjan	cui/source/options/internationaloptions \
157*036294fdSdamjan	cui/source/options/optaccessibility \
158*036294fdSdamjan	cui/source/options/optasian \
159*036294fdSdamjan	cui/source/options/optchart \
160*036294fdSdamjan	cui/source/options/optcolor \
161*036294fdSdamjan	cui/source/options/optctl \
162*036294fdSdamjan	cui/source/options/optdict \
163*036294fdSdamjan	cui/source/options/optfltr \
164*036294fdSdamjan	cui/source/options/optgdlg \
165*036294fdSdamjan	cui/source/options/optgenrl \
166*036294fdSdamjan	cui/source/options/optHeaderTabListbox \
167*036294fdSdamjan	cui/source/options/opthtml \
168*036294fdSdamjan	cui/source/options/optimprove \
169*036294fdSdamjan	cui/source/options/optimprove2 \
170*036294fdSdamjan	cui/source/options/optinet2 \
171*036294fdSdamjan	cui/source/options/optjava \
172*036294fdSdamjan	cui/source/options/optjsearch \
173*036294fdSdamjan	cui/source/options/optlingu \
174*036294fdSdamjan	cui/source/options/optmemory \
175*036294fdSdamjan	cui/source/options/optpath \
176*036294fdSdamjan	cui/source/options/optsave \
177*036294fdSdamjan	cui/source/options/optupdt \
178*036294fdSdamjan	cui/source/options/radiobtnbox \
179*036294fdSdamjan	cui/source/options/readonlyimage \
180*036294fdSdamjan	cui/source/options/sdbcdriverenum \
181*036294fdSdamjan	cui/source/options/securityoptions \
182*036294fdSdamjan	cui/source/options/treeopt \
183*036294fdSdamjan	cui/source/options/webconninfo \
184*036294fdSdamjan	cui/source/tabpages/align \
185*036294fdSdamjan	cui/source/tabpages/autocdlg \
186*036294fdSdamjan	cui/source/tabpages/backgrnd \
187*036294fdSdamjan	cui/source/tabpages/bbdlg \
188*036294fdSdamjan	cui/source/tabpages/border \
189*036294fdSdamjan	cui/source/tabpages/borderconn \
190*036294fdSdamjan	cui/source/tabpages/chardlg \
191*036294fdSdamjan	cui/source/tabpages/connect \
192*036294fdSdamjan	cui/source/tabpages/dstribut \
193*036294fdSdamjan	cui/source/tabpages/grfpage \
194*036294fdSdamjan	cui/source/tabpages/labdlg \
195*036294fdSdamjan	cui/source/tabpages/macroass \
196*036294fdSdamjan	cui/source/tabpages/measure \
197*036294fdSdamjan	cui/source/tabpages/numfmt \
198*036294fdSdamjan	cui/source/tabpages/numpages \
199*036294fdSdamjan	cui/source/tabpages/page \
200*036294fdSdamjan	cui/source/tabpages/paragrph \
201*036294fdSdamjan	cui/source/tabpages/swpossizetabpage \
202*036294fdSdamjan	cui/source/tabpages/tabarea \
203*036294fdSdamjan	cui/source/tabpages/tabline \
204*036294fdSdamjan	cui/source/tabpages/tabstpge \
205*036294fdSdamjan	cui/source/tabpages/textanim \
206*036294fdSdamjan	cui/source/tabpages/textattr \
207*036294fdSdamjan	cui/source/tabpages/tparea \
208*036294fdSdamjan	cui/source/tabpages/tpbitmap \
209*036294fdSdamjan	cui/source/tabpages/tpcolor \
210*036294fdSdamjan	cui/source/tabpages/tpgradnt \
211*036294fdSdamjan	cui/source/tabpages/tphatch \
212*036294fdSdamjan	cui/source/tabpages/tpline \
213*036294fdSdamjan	cui/source/tabpages/tplnedef \
214*036294fdSdamjan	cui/source/tabpages/tplneend \
215*036294fdSdamjan	cui/source/tabpages/tpshadow \
216*036294fdSdamjan	cui/source/tabpages/transfrm \
217*036294fdSdamjan	cui/source/uno/services/services \
218*036294fdSdamjan))
219*036294fdSdamjan
220*036294fdSdamjanifeq ($(GUI),WNT)
221*036294fdSdamjan$(eval $(call gb_Library_add_exception_objects,cui,\
222*036294fdSdamjan	cui/source/dialogs/winpluginlib \
223*036294fdSdamjan))
224*036294fdSdamjanendif
225*036294fdSdamjan
226*036294fdSdamjan# vim: set noet sw=4 ts=4:
227