tdf#75702 ODS import: send text:line-break to editeng
[LibreOffice.git] / basic / Library_sb.mk
blob28effaaae0e131db5671ef24ded172a5f220306d
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,sb))
22 $(eval $(call gb_Library_set_include,sb,\
23 $$(INCLUDE) \
24 -I$(SRCDIR)/basic/inc \
25 -I$(SRCDIR)/basic/source/inc \
28 $(eval $(call gb_Library_set_precompiled_header,sb,basic/inc/pch/precompiled_sb))
30 $(eval $(call gb_Library_use_external,sb,boost_headers))
32 $(eval $(call gb_Library_use_custom_headers,sb,\
33 officecfg/registry \
36 $(eval $(call gb_Library_use_sdk_api,sb))
37 $(eval $(call gb_Library_use_api,sb,oovbaapi))
39 $(eval $(call gb_Library_add_defs,sb,\
40 -DBASIC_DLLIMPLEMENTATION \
43 $(eval $(call gb_Library_use_libraries,sb,\
44 comphelper \
45 cppu \
46 cppuhelper \
47 sal \
48 salhelper \
49 i18nlangtag \
50 sot \
51 svl \
52 svt \
53 tl \
54 utl \
55 vcl \
56 xmlscript \
59 ifneq ($(filter SCRIPTING,$(BUILD_TYPE)),)
61 $(eval $(call gb_Library_set_componentfile,sb,basic/util/sb,services))
63 $(eval $(call gb_Library_add_exception_objects,sb,\
64 basic/source/basmgr/basicmanagerrepository \
65 basic/source/basmgr/basmgr \
66 basic/source/basmgr/vbahelper \
67 basic/source/classes/codecompletecache \
68 basic/source/classes/eventatt \
69 basic/source/classes/image \
70 basic/source/classes/propacc \
71 basic/source/classes/sb \
72 basic/source/classes/sbunoobj \
73 basic/source/classes/sbxmod \
74 basic/source/comp/basiccharclass \
75 basic/source/comp/buffer \
76 basic/source/comp/codegen \
77 basic/source/comp/dim \
78 basic/source/comp/exprtree \
79 basic/source/comp/exprgen \
80 basic/source/comp/exprnode \
81 basic/source/comp/io \
82 basic/source/comp/loops \
83 basic/source/comp/parser \
84 basic/source/comp/sbcomp \
85 basic/source/comp/scanner \
86 basic/source/comp/symtbl \
87 basic/source/comp/token \
88 basic/source/uno/dlgcont \
89 basic/source/uno/modsizeexceeded \
90 basic/source/uno/namecont \
91 basic/source/uno/scriptcont \
92 basic/source/runtime/comenumwrapper \
93 basic/source/runtime/ddectrl \
94 basic/source/runtime/inputbox \
95 basic/source/runtime/iosys \
96 basic/source/runtime/props \
97 basic/source/runtime/stdobj \
98 basic/source/runtime/stdobj1 \
99 basic/source/runtime/runtime \
100 basic/source/classes/errobject \
102 endif
104 $(eval $(call gb_Library_add_exception_objects,sb,\
105 basic/source/runtime/basrdll \
106 basic/source/classes/global \
107 basic/source/runtime/methods \
108 basic/source/runtime/methods1 \
109 basic/source/classes/sbintern \
110 basic/source/sbx/sbxarray \
111 basic/source/sbx/sbxbool \
112 basic/source/sbx/sbxbyte \
113 basic/source/sbx/sbxchar \
114 basic/source/sbx/sbxcoll \
115 basic/source/sbx/sbxcurr \
116 basic/source/sbx/sbxbase \
117 basic/source/sbx/sbxdate \
118 basic/source/sbx/sbxdbl \
119 basic/source/sbx/sbxdec \
120 basic/source/sbx/sbxexec \
121 basic/source/sbx/sbxform \
122 basic/source/sbx/sbxint \
123 basic/source/sbx/sbxlng \
124 basic/source/sbx/sbxobj \
125 basic/source/sbx/sbxres \
126 basic/source/sbx/sbxscan \
127 basic/source/sbx/sbxsng \
128 basic/source/sbx/sbxstr \
129 basic/source/sbx/sbxuint \
130 basic/source/sbx/sbxulng \
131 basic/source/sbx/sbxvalue \
132 basic/source/sbx/sbxvar \
135 ifeq ($(OS),WNT)
136 $(eval $(call gb_Library_use_system_win32_libs,sb,\
137 oleaut32 \
139 endif
141 ifeq ($(OS)$(CPUNAME),WNTINTEL)
142 $(eval $(call gb_Library_add_exception_objects,sb,\
143 basic/source/runtime/dllmgr-x86 \
145 $(eval $(call gb_Library_add_asmobjects,sb,\
146 basic/source/runtime/wnt-x86 \
148 else
149 ifeq ($(OS)$(CPUNAME),WNTX86_64)
150 $(eval $(call gb_Library_add_exception_objects,sb,\
151 basic/source/runtime/dllmgr-x64 \
153 else
154 $(eval $(call gb_Library_add_exception_objects,sb,\
155 basic/source/runtime/dllmgr-none \
157 endif
158 endif
160 # vim: set noet sw=4 ts=4: