workaround clang-14 bug
[LibreOffice.git] / basctl / Library_basctl.mk
blobcb41fa9e461c11a69ad97ad4d420e4a97cc4ebfa
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,basctl))
22 $(eval $(call gb_Library_set_componentfile,basctl,basctl/util/basctl,services))
24 $(eval $(call gb_Library_set_include,basctl,\
25 -I$(SRCDIR)/basctl/inc \
26 -I$(SRCDIR)/basctl/sdi \
27 -I$(SRCDIR)/basctl/source/inc \
28 $$(INCLUDE) \
29 -I$(WORKDIR)/SdiTarget/basctl/sdi \
32 $(eval $(call gb_Library_use_external,basctl,boost_headers))
34 $(eval $(call gb_Library_use_custom_headers,basctl,\
35 officecfg/registry \
38 $(eval $(call gb_Library_set_precompiled_header,basctl,basctl/inc/pch/precompiled_basctl))
40 $(eval $(call gb_Library_use_sdk_api,basctl))
42 $(eval $(call gb_Library_use_libraries,basctl,\
43 basegfx \
44 comphelper \
45 cppu \
46 cppuhelper \
47 editeng \
48 fwk \
49 sal \
50 i18nlangtag \
51 sb \
52 sfx \
53 sot \
54 svl \
55 svt \
56 svx \
57 svxcore \
58 tk \
59 tl \
60 utl \
61 ucbhelper \
62 vcl \
63 xmlscript \
66 ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
67 $(eval $(call gb_Library_add_exception_objects,basctl,\
68 basctl/source/accessibility/accessibledialogcontrolshape \
69 basctl/source/accessibility/accessibledialogwindow \
71 endif
73 $(eval $(call gb_Library_add_exception_objects,basctl,\
74 basctl/source/basicide/basdoc \
75 basctl/source/basicide/IDEComboBox \
76 basctl/source/basicide/basicrenderable \
77 basctl/source/basicide/baside2b \
78 basctl/source/basicide/baside2 \
79 basctl/source/basicide/baside3 \
80 basctl/source/basicide/basidectrlr \
81 basctl/source/basicide/basides1 \
82 basctl/source/basicide/basides2 \
83 basctl/source/basicide/basides3 \
84 basctl/source/basicide/basidesh \
85 basctl/source/basicide/basobj2 \
86 basctl/source/basicide/basobj3 \
87 basctl/source/basicide/bastype2 \
88 basctl/source/basicide/bastype3 \
89 basctl/source/basicide/bastypes \
90 basctl/source/basicide/breakpoint \
91 basctl/source/basicide/brkdlg \
92 basctl/source/basicide/doceventnotifier \
93 basctl/source/basicide/docsignature \
94 basctl/source/basicide/documentenumeration \
95 basctl/source/basicide/iderdll \
96 basctl/source/basicide/layout \
97 basctl/source/basicide/linenumberwindow \
98 basctl/source/basicide/LineStatusControl \
99 basctl/source/basicide/localizationmgr \
100 basctl/source/basicide/macrodlg \
101 basctl/source/basicide/moduldl2 \
102 basctl/source/basicide/moduldlg \
103 basctl/source/basicide/BasicColorConfig \
104 basctl/source/basicide/ColorSchemeDialog \
105 basctl/source/basicide/ObjectCatalog \
106 basctl/source/basicide/sbxitem \
107 basctl/source/basicide/scriptdocument \
108 basctl/source/basicide/textwindowpeer \
109 basctl/source/basicide/uiobject \
110 basctl/source/basicide/unomodel \
111 basctl/source/dlged/dlgedclip \
112 basctl/source/dlged/dlged \
113 basctl/source/dlged/dlgedfac \
114 basctl/source/dlged/dlgedfunc \
115 basctl/source/dlged/dlgedlist \
116 basctl/source/dlged/dlgedmod \
117 basctl/source/dlged/dlgedobj \
118 basctl/source/dlged/dlgedpage \
119 basctl/source/dlged/dlgedview \
120 basctl/source/dlged/managelang \
121 basctl/source/dlged/propbrw \
124 $(eval $(call gb_Library_add_sdi_headers,basctl,basctl/sdi/basslots))
126 $(eval $(call gb_SdiTarget_SdiTarget,basctl/sdi/basslots,basctl/sdi/baside))
128 $(eval $(call gb_SdiTarget_set_include,basctl/sdi/basslots,\
129 -I$(SRCDIR)/svx/sdi \
130 -I$(SRCDIR)/sfx2/sdi \
131 $$(INCLUDE) \
134 ifeq ($(OS),WNT)
135 $(eval $(call gb_Library_use_system_win32_libs,basctl,\
136 advapi32 \
137 gdi32 \
138 shell32 \
140 endif
142 # vim: set noet sw=4 ts=4: