bump product version to 5.0.4.1
[LibreOffice.git] / basic / Library_sb.mk
blobb3641909558f7d71a0fc71a305b7a82456bd7fd2
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_componentfile,sb,basic/util/sb))
24 $(eval $(call gb_Library_set_include,sb,\
25 $$(INCLUDE) \
26 -I$(SRCDIR)/basic/inc \
27 -I$(SRCDIR)/basic/source/inc \
30 $(eval $(call gb_Library_set_precompiled_header,sb,$(SRCDIR)/basic/inc/pch/precompiled_sb))
32 $(eval $(call gb_Library_use_external,sb,boost_headers))
34 $(eval $(call gb_Library_use_custom_headers,sb,\
35 officecfg/registry \
38 $(eval $(call gb_Library_use_sdk_api,sb))
39 $(eval $(call gb_Library_use_api,sb,oovbaapi))
41 $(eval $(call gb_Library_add_defs,sb,\
42 -DBASIC_DLLIMPLEMENTATION \
45 $(eval $(call gb_Library_use_libraries,sb,\
46 comphelper \
47 cppu \
48 cppuhelper \
49 sal \
50 salhelper \
51 i18nlangtag \
52 sot \
53 svl \
54 svt \
55 tl \
56 utl \
57 vcl \
58 xmlscript \
59 $(gb_UWINAPI) \
62 ifneq ($(filter SCRIPTING,$(BUILD_TYPE)),)
64 $(eval $(call gb_Library_add_exception_objects,sb,\
65 basic/source/basmgr/basicmanagerrepository \
66 basic/source/basmgr/basmgr \
67 basic/source/basmgr/vbahelper \
68 basic/source/classes/codecompletecache \
69 basic/source/classes/errobject \
70 basic/source/classes/eventatt \
71 basic/source/classes/global \
72 basic/source/classes/image \
73 basic/source/classes/propacc \
74 basic/source/classes/sb \
75 basic/source/classes/sbintern \
76 basic/source/classes/sbunoobj \
77 basic/source/classes/sbxmod \
78 basic/source/comp/basiccharclass \
79 basic/source/comp/buffer \
80 basic/source/comp/codegen \
81 basic/source/comp/dim \
82 basic/source/comp/exprtree \
83 basic/source/comp/exprgen \
84 basic/source/comp/exprnode \
85 basic/source/comp/io \
86 basic/source/comp/loops \
87 basic/source/comp/parser \
88 basic/source/comp/sbcomp \
89 basic/source/comp/scanner \
90 basic/source/comp/symtbl \
91 basic/source/comp/token \
92 basic/source/uno/dlgcont \
93 basic/source/uno/modsizeexceeded \
94 basic/source/uno/namecont \
95 basic/source/uno/scriptcont \
96 basic/source/runtime/comenumwrapper \
97 basic/source/runtime/ddectrl \
98 basic/source/runtime/inputbox \
99 basic/source/runtime/iosys \
100 basic/source/runtime/props \
101 basic/source/runtime/runtime \
102 basic/source/runtime/stdobj \
103 basic/source/runtime/stdobj1 \
106 endif
108 $(eval $(call gb_Library_add_exception_objects,sb,\
109 basic/source/runtime/basrdll \
110 basic/source/runtime/methods \
111 basic/source/runtime/methods1 \
112 basic/source/sbx/sbxarray \
113 basic/source/sbx/sbxbool \
114 basic/source/sbx/sbxbyte \
115 basic/source/sbx/sbxchar \
116 basic/source/sbx/sbxcoll \
117 basic/source/sbx/sbxcurr \
118 basic/source/sbx/sbxbase \
119 basic/source/sbx/sbxdate \
120 basic/source/sbx/sbxdbl \
121 basic/source/sbx/sbxdec \
122 basic/source/sbx/sbxexec \
123 basic/source/sbx/sbxform \
124 basic/source/sbx/sbxint \
125 basic/source/sbx/sbxlng \
126 basic/source/sbx/sbxobj \
127 basic/source/sbx/sbxres \
128 basic/source/sbx/sbxscan \
129 basic/source/sbx/sbxsng \
130 basic/source/sbx/sbxstr \
131 basic/source/sbx/sbxuint \
132 basic/source/sbx/sbxulng \
133 basic/source/sbx/sbxvalue \
134 basic/source/sbx/sbxvar \
137 # Uncomment the following line if DBG_TRACE_PROFILING is active in source/inc/sbtrace.hxx
138 # $(eval $(call gb_Library_use_libraries,sb,\
139 canvastools \
142 ifeq ($(OS),WNT)
143 $(eval $(call gb_Library_use_system_win32_libs,sb,\
144 oleaut32 \
146 endif
148 ifeq ($(OS)$(CPUNAME),WNTINTEL)
149 $(eval $(call gb_Library_add_exception_objects,sb,\
150 basic/source/runtime/dllmgr-x86 \
152 else
153 ifeq ($(OS)$(CPUNAME),WNTX86_64)
154 $(eval $(call gb_Library_add_exception_objects,sb,\
155 basic/source/runtime/dllmgr-x64 \
157 else
158 $(eval $(call gb_Library_add_exception_objects,sb,\
159 basic/source/runtime/dllmgr-none \
161 endif
162 endif
163 ifeq ($(OS)$(COM)$(CPUNAME),WNTMSCINTEL)
164 $(eval $(call gb_Library_add_asmobjects,sb,\
165 basic/source/runtime/wnt-x86 \
167 endif
168 ifeq ($(OS)$(COM)$(CPUNAME),WNTGCCINTEL)
169 $(eval $(call gb_Library_add_asmobjects,sb,\
170 basic/source/runtime/wnt-mingw \
172 endif
174 # Runtime dependency for unit-tests
175 $(eval $(call gb_Library_use_restarget,sb,sb))
177 # vim: set noet sw=4 ts=4: