odk: don't run compiler -dumpversion for eaach include of settings.mk
[LibreOffice.git] / sw / Library_swui.mk
blob2c6d8512fe446e5d8d2ec14f5e7b074f048ef559
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Library_Library,swui))
22 $(eval $(call gb_Library_set_componentfile,swui,sw/util/swui,services))
24 $(eval $(call gb_Library_set_include,swui,\
25 -I$(SRCDIR)/sw/inc \
26 -I$(SRCDIR)/sw/source/uibase/inc \
27 -I$(SRCDIR)/sw/source/ui/inc \
28 -I$(WORKDIR)/SdiTarget/sw/sdi \
29 $$(INCLUDE) \
32 $(eval $(call gb_Library_set_precompiled_header,swui,sw/inc/pch/precompiled_swui))
34 $(eval $(call gb_Library_use_externals,swui,\
35 boost_headers \
36 icu_headers \
37 libxml2 \
40 $(eval $(call gb_Library_use_custom_headers,swui,\
41 officecfg/registry \
44 $(eval $(call gb_Library_use_api,swui,\
45 udkapi \
46 offapi \
47 oovbaapi \
50 ifneq ($(SYSTEM_LIBXML),)
51 $(eval $(call gb_Library_add_cxxflags,swui,\
52 $(LIBXML_CFLAGS) \
54 endif
56 $(eval $(call gb_Library_use_libraries,swui,\
57 comphelper \
58 cppu \
59 cppuhelper \
60 $(call gb_Helper_optional,DBCONNECTIVITY, \
61 dbtools) \
62 editeng \
63 i18nlangtag \
64 i18nutil \
65 msfilter \
66 sal \
67 salhelper \
68 sfx \
69 sot \
70 svl \
71 svt \
72 svx \
73 svx \
74 svxcore \
75 sw \
76 tk \
77 tl \
78 ucbhelper \
79 utl \
80 vcl \
81 drawinglayercore \
82 drawinglayer \
83 lng \
86 $(eval $(call gb_Library_add_exception_objects,swui,\
87 sw/source/ui/chrdlg/break \
88 sw/source/ui/chrdlg/chardlg \
89 sw/source/ui/chrdlg/drpcps \
90 sw/source/ui/chrdlg/numpara \
91 sw/source/ui/chrdlg/pardlg \
92 sw/source/ui/chrdlg/swuiccoll \
93 sw/source/ui/chrdlg/tblnumfm \
94 sw/source/ui/config/mailconfigpage \
95 sw/source/ui/config/optcomp \
96 sw/source/ui/config/optload \
97 sw/source/ui/config/optpage \
98 sw/source/ui/dialog/abstract \
99 sw/source/ui/dialog/addrdlg \
100 sw/source/ui/dialog/ascfldlg \
101 sw/source/ui/dialog/docstdlg \
102 sw/source/ui/dialog/macassgn \
103 sw/source/ui/dialog/swdlgfact \
104 sw/source/ui/dialog/swmessdialog \
105 sw/source/ui/dialog/swuiexp \
106 sw/source/ui/dialog/uiregionsw \
107 sw/source/ui/dialog/wordcountdialog \
108 sw/source/ui/dochdl/selglos \
109 sw/source/ui/envelp/envfmt \
110 sw/source/ui/envelp/envlop1 \
111 sw/source/ui/envelp/envprt \
112 sw/source/ui/envelp/label1 \
113 sw/source/ui/envelp/labelexp \
114 sw/source/ui/envelp/labfmt \
115 sw/source/ui/envelp/labprt \
116 sw/source/ui/envelp/mailmrge \
117 sw/source/ui/fldui/DateFormFieldDialog \
118 sw/source/ui/fldui/DropDownFieldDialog \
119 sw/source/ui/fldui/DropDownFormFieldDialog \
120 sw/source/ui/fldui/changedb \
121 sw/source/ui/fldui/flddb \
122 sw/source/ui/fldui/flddinf \
123 sw/source/ui/fldui/flddok \
124 sw/source/ui/fldui/fldedt \
125 sw/source/ui/fldui/fldfunc \
126 sw/source/ui/fldui/fldpage \
127 sw/source/ui/fldui/fldref \
128 sw/source/ui/fldui/fldtdlg \
129 sw/source/ui/fldui/fldvar \
130 sw/source/ui/fldui/inpdlg \
131 sw/source/ui/fldui/javaedit \
132 sw/source/ui/fmtui/tmpdlg \
133 sw/source/ui/frmdlg/column \
134 sw/source/ui/frmdlg/cption \
135 sw/source/ui/frmdlg/frmdlg \
136 sw/source/ui/frmdlg/frmpage \
137 sw/source/ui/frmdlg/pattern \
138 sw/source/ui/frmdlg/uiborder \
139 sw/source/ui/frmdlg/wrap \
140 sw/source/ui/index/cntex \
141 sw/source/ui/index/cnttab \
142 sw/source/ui/index/multmrk \
143 sw/source/ui/index/swuiidxmrk \
144 sw/source/ui/misc/bookmark \
145 sw/source/ui/misc/contentcontroldlg \
146 sw/source/ui/misc/contentcontrollistitemdlg \
147 sw/source/ui/misc/pagenumberdlg \
148 sw/source/ui/misc/docfnote \
149 sw/source/ui/misc/glosbib \
150 sw/source/ui/misc/glossary \
151 sw/source/ui/misc/insfnote \
152 sw/source/ui/misc/linenum \
153 sw/source/ui/misc/num \
154 sw/source/ui/misc/outline \
155 sw/source/ui/misc/pgfnote \
156 sw/source/ui/misc/pggrid \
157 sw/source/ui/misc/srtdlg \
158 $(if $(ENABLE_CURL),sw/source/ui/misc/translatelangselect) \
159 sw/source/ui/misc/swmodalredlineacceptdlg \
160 sw/source/ui/misc/titlepage \
161 sw/source/ui/table/colwd \
162 sw/source/ui/table/convert \
163 sw/source/ui/table/autoformatpreview \
164 sw/source/ui/table/instable \
165 sw/source/ui/table/mergetbl \
166 sw/source/ui/table/rowht \
167 sw/source/ui/table/splittbl \
168 sw/source/ui/table/tabledlg \
169 sw/source/ui/table/tautofmt \
170 sw/source/ui/utlui/swrenamexnameddlg \
173 ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
174 $(eval $(call gb_Library_add_exception_objects,swui,\
175 sw/source/ui/dbui/addresslistdialog \
176 sw/source/ui/dbui/createaddresslistdialog \
177 sw/source/ui/dbui/customizeaddresslistdialog \
178 sw/source/ui/dbui/dbinsdlg \
179 sw/source/ui/dbui/dbtablepreviewdialog \
180 sw/source/ui/dbui/mailmergewizard \
181 sw/source/ui/dbui/mmaddressblockpage \
182 sw/source/ui/dbui/mmdocselectpage \
183 sw/source/ui/dbui/mmgreetingspage \
184 sw/source/ui/dbui/mmlayoutpage \
185 sw/source/ui/dbui/mmoutputtypepage \
186 sw/source/ui/dbui/mmresultdialogs \
187 sw/source/ui/dbui/selectdbtabledialog \
189 endif
191 # vim: set noet sw=4 ts=4: