make gbuild makefiles run independant of pwd again
[LibreOffice.git] / cui / Library_cui.mk
blob0d4639697d0ae268b25774da5c34edbc711a000b
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
14 # The Initial Developer of the Original Code is
15 # David Tardon, Red Hat Inc. <dtardon@redhat.com>
16 # Portions created by the Initial Developer are Copyright (C) 2010 the
17 # Initial Developer. All Rights Reserved.
19 # Major Contributor(s):
21 # For minor contributions see the git repository.
23 # Alternatively, the contents of this file may be used under the terms of
24 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
25 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
26 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
27 # instead of those above.
29 $(eval $(call gb_Library_Library,cui))
31 $(eval $(call gb_Library_set_componentfile,cui,cui/util/cui))
33 $(eval $(call gb_Library_add_precompiled_header,cui,$(SRCDIR)/cui/inc/pch/precompiled_cui))
35 $(eval $(call gb_Library_set_include,cui,\
36 $$(INCLUDE) \
37 -I$(realpath $(SRCDIR)/cui/source/inc) \
38 -I$(OUTDIR)/inc \
41 $(eval $(call gb_Library_add_defs,cui,\
42 $(if $(filter TRUE,$(ENABLE_GTK)),-DENABLE_GTK) \
43 $(if $(filter TRUE,$(ENABLE_KDE)),-DENABLE_KDE) \
44 $(if $(filter TRUE,$(ENABLE_KDE4)),-DENABLE_KDE4) \
47 $(eval $(call gb_Library_add_api,cui,\
48 offapi \
49 udkapi \
52 $(eval $(call gb_Library_add_linked_libs,cui,\
53 avmedia \
54 basegfx \
55 comphelper \
56 cppu \
57 cppuhelper \
58 editeng \
59 i18nisolang1 \
60 jvmfwk \
61 lng \
62 sal \
63 sax \
64 sb \
65 sfx \
66 sot \
67 svl \
68 svt \
69 svxcore \
70 svx \
71 tk \
72 tl \
73 ucbhelper \
74 utl \
75 vcl \
76 $(gb_STDLIBS) \
79 $(eval $(call gb_Library_use_externals,cui,\
80 icuuc \
83 ifeq ($(GUI),WNT)
84 $(eval $(call gb_Library_add_linked_libs,cui,\
85 advapi32 \
86 shlwapi \
88 endif
90 $(eval $(call gb_Library_add_exception_objects,cui,\
91 cui/source/customize/acccfg \
92 cui/source/customize/cfg \
93 cui/source/customize/cfgutil \
94 cui/source/customize/eventdlg \
95 cui/source/customize/macropg \
96 cui/source/customize/selector \
97 cui/source/dialogs/about \
98 cui/source/dialogs/colorpicker \
99 cui/source/dialogs/commonlingui \
100 cui/source/dialogs/cuicharmap \
101 cui/source/dialogs/cuifmsearch \
102 cui/source/dialogs/cuigaldlg \
103 cui/source/dialogs/cuigrfflt \
104 cui/source/dialogs/cuihyperdlg \
105 cui/source/dialogs/cuiimapwnd \
106 cui/source/dialogs/cuitbxform \
107 cui/source/dialogs/dlgname \
108 cui/source/dialogs/hangulhanjadlg \
109 cui/source/dialogs/hldocntp \
110 cui/source/dialogs/hldoctp \
111 cui/source/dialogs/hlinettp \
112 cui/source/dialogs/hlmailtp \
113 cui/source/dialogs/hlmarkwn \
114 cui/source/dialogs/hltpbase \
115 cui/source/dialogs/hyphen \
116 cui/source/dialogs/iconcdlg \
117 cui/source/dialogs/insdlg \
118 cui/source/dialogs/insrc \
119 cui/source/dialogs/linkdlg \
120 cui/source/dialogs/multifil \
121 cui/source/dialogs/multipat \
122 cui/source/dialogs/newtabledlg \
123 cui/source/dialogs/passwdomdlg \
124 cui/source/dialogs/pastedlg \
125 cui/source/dialogs/plfilter \
126 cui/source/dialogs/postdlg \
127 cui/source/dialogs/scriptdlg \
128 cui/source/dialogs/sdrcelldlg \
129 cui/source/dialogs/showcols \
130 cui/source/dialogs/SpellAttrib \
131 cui/source/dialogs/SpellDialog \
132 cui/source/dialogs/splitcelldlg \
133 cui/source/dialogs/srchxtra \
134 cui/source/dialogs/thesdlg \
135 cui/source/dialogs/zoom \
136 cui/source/factory/cuiexp \
137 cui/source/factory/cuiresmgr \
138 cui/source/factory/dlgfact \
139 cui/source/factory/init \
140 cui/source/options/cfgchart \
141 cui/source/options/connpoolconfig \
142 cui/source/options/connpooloptions \
143 cui/source/options/connpoolsettings \
144 cui/source/options/cuisrchdlg \
145 cui/source/options/dbregister \
146 cui/source/options/dbregisterednamesconfig \
147 cui/source/options/dbregistersettings \
148 cui/source/options/doclinkdialog \
149 cui/source/options/fontsubs \
150 cui/source/options/internationaloptions \
151 cui/source/options/optaccessibility \
152 cui/source/options/optasian \
153 cui/source/options/optchart \
154 cui/source/options/optcolor \
155 cui/source/options/optctl \
156 cui/source/options/optdict \
157 cui/source/options/optfltr \
158 cui/source/options/optgdlg \
159 cui/source/options/optgenrl \
160 cui/source/options/optHeaderTabListbox \
161 cui/source/options/opthtml \
162 cui/source/options/optimprove2 \
163 cui/source/options/optimprove \
164 cui/source/options/optinet2 \
165 cui/source/options/optjava \
166 cui/source/options/optjsearch \
167 cui/source/options/optlingu \
168 cui/source/options/optmemory \
169 cui/source/options/optpath \
170 cui/source/options/optsave \
171 cui/source/options/optupdt \
172 cui/source/options/radiobtnbox \
173 cui/source/options/readonlyimage \
174 cui/source/options/sdbcdriverenum \
175 cui/source/options/securityoptions \
176 cui/source/options/treeopt \
177 cui/source/options/webconninfo \
178 cui/source/tabpages/align \
179 cui/source/tabpages/autocdlg \
180 cui/source/tabpages/backgrnd \
181 cui/source/tabpages/bbdlg \
182 cui/source/tabpages/borderconn \
183 cui/source/tabpages/border \
184 cui/source/tabpages/chardlg \
185 cui/source/tabpages/connect \
186 cui/source/tabpages/dstribut \
187 cui/source/tabpages/grfpage \
188 cui/source/tabpages/labdlg \
189 cui/source/tabpages/macroass \
190 cui/source/tabpages/measure \
191 cui/source/tabpages/numfmt \
192 cui/source/tabpages/numpages \
193 cui/source/tabpages/page \
194 cui/source/tabpages/paragrph \
195 cui/source/tabpages/swpossizetabpage \
196 cui/source/tabpages/tabarea \
197 cui/source/tabpages/tabline \
198 cui/source/tabpages/tabstpge \
199 cui/source/tabpages/textanim \
200 cui/source/tabpages/textattr \
201 cui/source/tabpages/tparea \
202 cui/source/tabpages/tpbitmap \
203 cui/source/tabpages/tpcolor \
204 cui/source/tabpages/tpgradnt \
205 cui/source/tabpages/tphatch \
206 cui/source/tabpages/tpline \
207 cui/source/tabpages/tplnedef \
208 cui/source/tabpages/tplneend \
209 cui/source/tabpages/tpshadow \
210 cui/source/tabpages/transfrm \
211 cui/source/uno/services \
214 ifeq ($(GUI),WNT)
215 $(eval $(call gb_Library_add_exception_objects,cui,\
216 cui/source/dialogs/winpluginlib \
218 endif
220 # vim: set noet sw=4 ts=4: