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