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
,\
24 -I
$(SRCDIR
)/basic
/inc \
25 -I
$(SRCDIR
)/basic
/source
/inc \
28 $(eval
$(call gb_Library_use_externals
,sb
,\
34 $(eval
$(call gb_Library_set_precompiled_header
,sb
,basic
/inc
/pch
/precompiled_sb
))
36 $(eval
$(call gb_Library_use_custom_headers
,sb
,\
40 $(eval
$(call gb_Library_use_sdk_api
,sb
))
41 $(eval
$(call gb_Library_use_api
,sb
,oovbaapi
))
43 $(eval
$(call gb_Library_add_defs
,sb
,\
44 -DBASIC_DLLIMPLEMENTATION \
47 $(eval
$(call gb_Library_use_libraries
,sb
,\
63 ifneq ($(filter SCRIPTING
,$(BUILD_TYPE
)),)
65 $(eval
$(call gb_Library_set_componentfile
,sb
,basic
/util
/sb
,services
))
67 $(eval
$(call gb_Library_add_exception_objects
,sb
,\
68 basic
/source
/basmgr
/basicmanagerrepository \
69 basic
/source
/basmgr
/basmgr \
70 basic
/source
/basmgr
/vbahelper \
71 basic
/source
/classes
/codecompletecache \
72 basic
/source
/classes
/eventatt \
73 basic
/source
/classes
/image \
74 basic
/source
/classes
/propacc \
75 basic
/source
/classes
/sb \
76 basic
/source
/classes
/sbunoobj \
77 basic
/source
/classes
/sbxmod \
78 basic
/source
/comp
/buffer \
79 basic
/source
/comp
/codegen \
80 basic
/source
/comp
/dim \
81 basic
/source
/comp
/exprtree \
82 basic
/source
/comp
/exprgen \
83 basic
/source
/comp
/exprnode \
84 basic
/source
/comp
/io \
85 basic
/source
/comp
/loops \
86 basic
/source
/comp
/parser \
87 basic
/source
/comp
/sbcomp \
88 basic
/source
/comp
/scanner \
89 basic
/source
/comp
/symtbl \
90 basic
/source
/comp
/token \
91 basic
/source
/uno
/dlgcont \
92 basic
/source
/uno
/modsizeexceeded \
93 basic
/source
/uno
/namecont \
94 basic
/source
/uno
/scriptcont \
95 basic
/source
/runtime
/comenumwrapper \
96 basic
/source
/runtime
/ddectrl \
97 basic
/source
/runtime
/inputbox \
98 basic
/source
/runtime
/iosys \
99 basic
/source
/runtime
/props \
100 basic
/source
/runtime
/stdobj \
101 basic
/source
/runtime
/stdobj1 \
102 basic
/source
/runtime
/runtime \
103 basic
/source
/classes
/errobject \
107 $(eval
$(call gb_Library_add_exception_objects
,sb
,\
108 basic
/source
/runtime
/basrdll \
109 basic
/source
/classes
/global \
110 basic
/source
/runtime
/methods \
111 basic
/source
/runtime
/methods1 \
112 basic
/source
/classes
/sbintern \
113 basic
/source
/comp
/basiccharclass \
114 basic
/source
/sbx
/sbxarray \
115 basic
/source
/sbx
/sbxbool \
116 basic
/source
/sbx
/sbxbyte \
117 basic
/source
/sbx
/sbxchar \
118 basic
/source
/sbx
/sbxcoll \
119 basic
/source
/sbx
/sbxcurr \
120 basic
/source
/sbx
/sbxbase \
121 basic
/source
/sbx
/sbxdate \
122 basic
/source
/sbx
/sbxdbl \
123 basic
/source
/sbx
/sbxdec \
124 basic
/source
/sbx
/sbxexec \
125 basic
/source
/sbx
/sbxform \
126 basic
/source
/sbx
/sbxint \
127 basic
/source
/sbx
/sbxlng \
128 basic
/source
/sbx
/sbxobj \
129 basic
/source
/sbx
/sbxres \
130 basic
/source
/sbx
/sbxscan \
131 basic
/source
/sbx
/sbxsng \
132 basic
/source
/sbx
/sbxstr \
133 basic
/source
/sbx
/sbxuint \
134 basic
/source
/sbx
/sbxulng \
135 basic
/source
/sbx
/sbxvalue \
136 basic
/source
/sbx
/sbxvar \
140 $(eval
$(call gb_Library_use_system_win32_libs
,sb
,\
145 ifeq ($(OS
)$(CPUNAME
),WNTINTEL
)
146 $(eval
$(call gb_Library_add_exception_objects
,sb
,\
147 basic
/source
/runtime
/dllmgr-x86 \
149 $(eval
$(call gb_Library_add_asmobjects
,sb
,\
150 basic
/source
/runtime
/wnt-x86 \
153 ifeq ($(OS
)$(CPUNAME
),WNTX86_64
)
154 $(eval
$(call gb_Library_add_exception_objects
,sb
,\
155 basic
/source
/runtime
/dllmgr-x64 \
158 $(eval
$(call gb_Library_add_exception_objects
,sb
,\
159 basic
/source
/runtime
/dllmgr-none \
164 # vim: set noet sw=4 ts=4: