1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24$(eval $(call gb_Library_Library,svl)) 25 26$(eval $(call gb_Library_add_package_headers,svl,svl_inc)) 27 28$(eval $(call gb_Library_add_precompiled_header,svl,$(SRCDIR)/svl/inc/pch/precompiled_svl)) 29 30$(eval $(call gb_Library_set_componentfile,svl,svl/util/svl)) 31 32$(eval $(call gb_Library_set_include,svl,\ 33 $$(SOLARINC) \ 34 -I$(SRCDIR)/svl/source/inc \ 35 -I$(SRCDIR)/svl/inc/pch \ 36)) 37 38$(eval $(call gb_Library_add_api,svl,\ 39 udkapi \ 40 offapi \ 41)) 42 43$(eval $(call gb_Library_add_defs,svl,\ 44 -DSVL_DLLIMPLEMENTATION \ 45)) 46 47$(eval $(call gb_Library_add_linked_libs,svl,\ 48 basegfx \ 49 comphelper \ 50 cppu \ 51 cppuhelper \ 52 i18nisolang1 \ 53 i18nutil \ 54 jvmfwk \ 55 sal \ 56 sot \ 57 stl \ 58 tl \ 59 ucbhelper \ 60 utl \ 61 vos3 \ 62 $(gb_STDLIBS) \ 63)) 64 65$(eval $(call gb_Library_add_exception_objects,svl,\ 66 svl/inc/pch/precompiled_svl \ 67 svl/source/config/asiancfg \ 68 svl/source/config/cjkoptions \ 69 svl/source/config/ctloptions \ 70 svl/source/config/itemholder2 \ 71 svl/source/config/languageoptions \ 72 svl/source/config/srchcfg \ 73 svl/source/filepicker/pickerhistory \ 74 svl/source/filerec/filerec \ 75 svl/source/items/aeitem \ 76 svl/source/items/cenumitm \ 77 svl/source/items/cintitem \ 78 svl/source/items/cntwall \ 79 svl/source/items/ctypeitm \ 80 svl/source/items/custritm \ 81 svl/source/items/dateitem \ 82 svl/source/items/eitem \ 83 svl/source/items/flagitem \ 84 svl/source/items/globalnameitem \ 85 svl/source/items/ilstitem \ 86 svl/source/items/imageitm \ 87 svl/source/items/intitem \ 88 svl/source/items/itemiter \ 89 svl/source/items/itempool \ 90 svl/source/items/itemprop \ 91 svl/source/items/itemset \ 92 svl/source/items/lckbitem \ 93 svl/source/items/macitem \ 94 svl/source/items/poolcach \ 95 svl/source/items/poolio \ 96 svl/source/items/poolitem \ 97 svl/source/items/ptitem \ 98 svl/source/items/rectitem \ 99 svl/source/items/rngitem \ 100 svl/source/items/sfontitm \ 101 svl/source/items/sitem \ 102 svl/source/items/slstitm \ 103 svl/source/items/srchitem \ 104 svl/source/items/stritem \ 105 svl/source/items/style \ 106 svl/source/items/stylepool \ 107 svl/source/items/szitem \ 108 svl/source/items/visitem \ 109 svl/source/items/whiter \ 110 svl/source/memtools/svarray \ 111 svl/source/misc/PasswordHelper \ 112 svl/source/misc/adrparse \ 113 svl/source/misc/documentlockfile \ 114 svl/source/misc/filenotation \ 115 svl/source/misc/folderrestriction \ 116 svl/source/misc/fstathelper \ 117 svl/source/misc/inethist \ 118 svl/source/misc/inettype \ 119 svl/source/misc/lngmisc \ 120 svl/source/misc/lockfilecommon \ 121 svl/source/misc/ownlist \ 122 svl/source/misc/restrictedpaths \ 123 svl/source/misc/sharecontrolfile \ 124 svl/source/misc/strmadpt \ 125 svl/source/misc/svldata \ 126 svl/source/misc/urihelper \ 127 svl/source/notify/brdcst \ 128 svl/source/notify/broadcast \ 129 svl/source/notify/hint \ 130 svl/source/notify/isethint \ 131 svl/source/notify/listener \ 132 svl/source/notify/listenerbase \ 133 svl/source/notify/listeneriter \ 134 svl/source/notify/lstner \ 135 svl/source/notify/smplhint \ 136 svl/source/numbers/numfmuno \ 137 svl/source/numbers/numhead \ 138 svl/source/numbers/numuno \ 139 svl/source/numbers/supservs \ 140 svl/source/numbers/zforfind \ 141 svl/source/numbers/zforlist \ 142 svl/source/numbers/zformat \ 143 svl/source/numbers/zforscan \ 144 svl/source/svsql/converter \ 145 svl/source/undo/undo \ 146 svl/source/uno/pathservice \ 147 svl/source/uno/registerservices \ 148)) 149 150ifeq ($(OS),WNT) 151$(eval $(call gb_Library_add_exception_objects,svl,\ 152 svl/source/svdde/ddecli \ 153 svl/source/svdde/ddedata \ 154 svl/source/svdde/ddeinf \ 155 svl/source/svdde/ddestrg \ 156 svl/source/svdde/ddesvr \ 157 svl/source/svdde/ddewrap \ 158)) 159 160$(eval $(call gb_Library_add_linked_libs,svl,\ 161 user32 \ 162)) 163 164else 165$(eval $(call gb_Library_add_exception_objects,svl,\ 166 svl/unx/source/svdde/ddedummy \ 167)) 168endif 169# vim: set noet sw=4 ts=4: 170