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,vbahelper)) 25 26$(eval $(call gb_Library_add_package_headers,vbahelper,vbahelper_inc)) 27 28# for platforms supporting PCH: declare the location of the pch file 29# this is the name of the cxx file (without extension) 30#$(eval $(call gb_Library_add_precompiled_header,vbahelper,$(SRCDIR)/vbahelper/PCH_FILE)) 31 32# in case UNO services are exported: declare location of component file 33#$(eval $(call gb_Library_set_componentfile,vbahelper,vbahelper/COMPONENT_FILE)) 34 35# add any additional include paths for this library here 36$(eval $(call gb_Library_set_include,vbahelper,\ 37 $$(INCLUDE) \ 38 -I$(OUTDIR)/inc/offuh \ 39)) 40 41$(eval $(call gb_Library_set_defs,vbahelper,\ 42 $$(DEFS) \ 43 -DVBAHELPER_DLLIMPLEMENTATION \ 44)) 45 46# add libraries to be linked to vbahelper; again these names need to be given as 47# specified in Repository.mk 48$(eval $(call gb_Library_add_linked_libs,vbahelper,\ 49 comphelper \ 50 cppu \ 51 cppuhelper \ 52 msfilter \ 53 sal \ 54 sb \ 55 sfx \ 56 stl \ 57 svl \ 58 svt \ 59 tk \ 60 tl \ 61 utl \ 62 vcl \ 63 $(gb_STDLIBS) \ 64)) 65 66# add all source files that shall be compiled with exceptions enabled 67# the name is relative to $(SRCROOT) and must not contain an extension 68$(eval $(call gb_Library_add_exception_objects,vbahelper,\ 69 vbahelper/source/vbahelper/collectionbase \ 70 vbahelper/source/vbahelper/vbaapplicationbase \ 71 vbahelper/source/vbahelper/vbacolorformat \ 72 vbahelper/source/vbahelper/vbacommandbar \ 73 vbahelper/source/vbahelper/vbacommandbarcontrol \ 74 vbahelper/source/vbahelper/vbacommandbarcontrols \ 75 vbahelper/source/vbahelper/vbacommandbarhelper \ 76 vbahelper/source/vbahelper/vbacommandbars \ 77 vbahelper/source/vbahelper/vbadialogbase \ 78 vbahelper/source/vbahelper/vbadialogsbase \ 79 vbahelper/source/vbahelper/vbadocumentbase \ 80 vbahelper/source/vbahelper/vbadocumentsbase \ 81 vbahelper/source/vbahelper/vbaeventshelperbase \ 82 vbahelper/source/vbahelper/vbafillformat \ 83 vbahelper/source/vbahelper/vbafontbase \ 84 vbahelper/source/vbahelper/vbaglobalbase \ 85 vbahelper/source/vbahelper/vbahelper \ 86 vbahelper/source/vbahelper/vbalineformat \ 87 vbahelper/source/vbahelper/vbapagesetupbase \ 88 vbahelper/source/vbahelper/vbapictureformat \ 89 vbahelper/source/vbahelper/vbapropvalue \ 90 vbahelper/source/vbahelper/vbashape \ 91 vbahelper/source/vbahelper/vbashaperange \ 92 vbahelper/source/vbahelper/vbashapes \ 93 vbahelper/source/vbahelper/vbatextframe \ 94 vbahelper/source/vbahelper/vbawindowbase \ 95)) 96 97# vim: set noet sw=4 ts=4: 98 99