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
,\
26 -I
$(SRCDIR
)/basic
/inc \
27 -I
$(SRCDIR
)/basic
/source
/inc \
30 $(eval
$(call gb_Library_set_precompiled_header
,sb
,basic
/inc
/pch
/precompiled_sb
))
32 $(eval
$(call gb_Library_use_external
,sb
,boost_headers
))
34 $(eval
$(call gb_Library_use_custom_headers
,sb
,\
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
,\
61 ifneq ($(filter SCRIPTING
,$(BUILD_TYPE
)),)
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
/global \
70 basic
/source
/classes
/image \
71 basic
/source
/classes
/propacc \
72 basic
/source
/classes
/sb \
73 basic
/source
/classes
/sbunoobj \
74 basic
/source
/classes
/sbxmod \
75 basic
/source
/comp
/basiccharclass \
76 basic
/source
/comp
/buffer \
77 basic
/source
/comp
/codegen \
78 basic
/source
/comp
/dim \
79 basic
/source
/comp
/exprtree \
80 basic
/source
/comp
/exprgen \
81 basic
/source
/comp
/exprnode \
82 basic
/source
/comp
/io \
83 basic
/source
/comp
/loops \
84 basic
/source
/comp
/parser \
85 basic
/source
/comp
/sbcomp \
86 basic
/source
/comp
/scanner \
87 basic
/source
/comp
/symtbl \
88 basic
/source
/comp
/token \
89 basic
/source
/uno
/dlgcont \
90 basic
/source
/uno
/modsizeexceeded \
91 basic
/source
/uno
/namecont \
92 basic
/source
/uno
/scriptcont \
93 basic
/source
/runtime
/comenumwrapper \
94 basic
/source
/runtime
/ddectrl \
95 basic
/source
/runtime
/inputbox \
96 basic
/source
/runtime
/iosys \
97 basic
/source
/runtime
/props \
98 basic
/source
/runtime
/stdobj \
99 basic
/source
/runtime
/stdobj1 \
100 basic
/source
/runtime
/runtime \
101 basic
/source
/classes
/errobject \
105 $(eval
$(call gb_Library_add_exception_objects
,sb
,\
106 basic
/source
/runtime
/basrdll \
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 \
136 $(eval
$(call gb_Library_use_system_win32_libs
,sb
,\
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 \
149 ifeq ($(OS
)$(CPUNAME
),WNTX86_64
)
150 $(eval
$(call gb_Library_add_exception_objects
,sb
,\
151 basic
/source
/runtime
/dllmgr-x64 \
154 $(eval
$(call gb_Library_add_exception_objects
,sb
,\
155 basic
/source
/runtime
/dllmgr-none \
160 # vim: set noet sw=4 ts=4: