1*7871dc3eSAndrew Rist#************************************************************** 2cdf0e10cSrcweir# 3*7871dc3eSAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 4*7871dc3eSAndrew Rist# or more contributor license agreements. See the NOTICE file 5*7871dc3eSAndrew Rist# distributed with this work for additional information 6*7871dc3eSAndrew Rist# regarding copyright ownership. The ASF licenses this file 7*7871dc3eSAndrew Rist# to you under the Apache License, Version 2.0 (the 8*7871dc3eSAndrew Rist# "License"); you may not use this file except in compliance 9*7871dc3eSAndrew Rist# with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir# 11*7871dc3eSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir# 13*7871dc3eSAndrew Rist# Unless required by applicable law or agreed to in writing, 14*7871dc3eSAndrew Rist# software distributed under the License is distributed on an 15*7871dc3eSAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*7871dc3eSAndrew Rist# KIND, either express or implied. See the License for the 17*7871dc3eSAndrew Rist# specific language governing permissions and limitations 18*7871dc3eSAndrew Rist# under the License. 19cdf0e10cSrcweir# 20*7871dc3eSAndrew Rist#************************************************************** 21*7871dc3eSAndrew Rist 22*7871dc3eSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir$(eval $(call gb_Library_Library,fwe)) 25cdf0e10cSrcweir 26cdf0e10cSrcweir$(eval $(call gb_Library_set_include,fwe,\ 27cdf0e10cSrcweir -I$(SRCDIR)/framework/inc/pch \ 28cdf0e10cSrcweir -I$(SRCDIR)/framework/source/inc \ 29cdf0e10cSrcweir -I$(SRCDIR)/framework/inc \ 30cdf0e10cSrcweir -I$(WORKDIR)/inc/framework/ \ 31cdf0e10cSrcweir $$(INCLUDE) \ 32cdf0e10cSrcweir -I$(OUTDIR)/inc/framework \ 33cdf0e10cSrcweir -I$(OUTDIR)/inc/offuh \ 34cdf0e10cSrcweir)) 35cdf0e10cSrcweir 36cdf0e10cSrcweir$(eval $(call gb_Library_set_defs,fwe,\ 37cdf0e10cSrcweir $$(DEFS) \ 38cdf0e10cSrcweir -DFWE_DLLIMPLEMENTATION\ 39cdf0e10cSrcweir)) 40cdf0e10cSrcweir 41cdf0e10cSrcweir$(eval $(call gb_Library_add_linked_libs,fwe,\ 42cdf0e10cSrcweir comphelper \ 43cdf0e10cSrcweir cppu \ 44cdf0e10cSrcweir cppuhelper \ 45cdf0e10cSrcweir fwi \ 46cdf0e10cSrcweir sal \ 47cdf0e10cSrcweir stl \ 48cdf0e10cSrcweir svl \ 49cdf0e10cSrcweir svt \ 50cdf0e10cSrcweir tl \ 51cdf0e10cSrcweir utl \ 52cdf0e10cSrcweir vcl \ 53cdf0e10cSrcweir vos3 \ 54cdf0e10cSrcweir $(gb_STDLIBS) \ 55cdf0e10cSrcweir)) 56cdf0e10cSrcweir 57cdf0e10cSrcweir$(eval $(call gb_Library_add_exception_objects,fwe,\ 58cdf0e10cSrcweir framework/source/fwe/classes/actiontriggercontainer \ 59cdf0e10cSrcweir framework/source/fwe/classes/actiontriggerpropertyset \ 60cdf0e10cSrcweir framework/source/fwe/classes/actiontriggerseparatorpropertyset \ 61cdf0e10cSrcweir framework/source/fwe/classes/addonmenu \ 62cdf0e10cSrcweir framework/source/fwe/classes/addonsoptions \ 63cdf0e10cSrcweir framework/source/fwe/classes/bmkmenu \ 64cdf0e10cSrcweir framework/source/fwe/classes/framelistanalyzer \ 65cdf0e10cSrcweir framework/source/fwe/classes/fwkresid \ 66cdf0e10cSrcweir framework/source/fwe/classes/imagewrapper \ 67cdf0e10cSrcweir framework/source/fwe/classes/menuextensionsupplier \ 68cdf0e10cSrcweir framework/source/fwe/classes/rootactiontriggercontainer \ 69cdf0e10cSrcweir framework/source/fwe/classes/sfxhelperfunctions \ 70cdf0e10cSrcweir framework/source/fwe/dispatch/interaction \ 71cdf0e10cSrcweir framework/source/fwe/helper/acceleratorinfo \ 72cdf0e10cSrcweir framework/source/fwe/helper/actiontriggerhelper \ 73cdf0e10cSrcweir framework/source/fwe/helper/configimporter \ 74cdf0e10cSrcweir framework/source/fwe/helper/imageproducer \ 75cdf0e10cSrcweir framework/source/fwe/helper/propertysetcontainer \ 76cdf0e10cSrcweir framework/source/fwe/helper/titlehelper \ 77cdf0e10cSrcweir framework/source/fwe/helper/documentundoguard \ 78cdf0e10cSrcweir framework/source/fwe/helper/undomanagerhelper \ 79cdf0e10cSrcweir framework/source/fwe/interaction/preventduplicateinteraction \ 80cdf0e10cSrcweir framework/source/fwe/xml/eventsconfiguration \ 81cdf0e10cSrcweir framework/source/fwe/xml/eventsdocumenthandler \ 82cdf0e10cSrcweir framework/source/fwe/xml/menuconfiguration \ 83cdf0e10cSrcweir framework/source/fwe/xml/menudocumenthandler \ 84cdf0e10cSrcweir framework/source/fwe/xml/saxnamespacefilter \ 85cdf0e10cSrcweir framework/source/fwe/xml/statusbarconfiguration \ 86cdf0e10cSrcweir framework/source/fwe/xml/statusbardocumenthandler \ 87cdf0e10cSrcweir framework/source/fwe/xml/toolboxconfiguration \ 88cdf0e10cSrcweir framework/source/fwe/xml/toolboxdocumenthandler \ 89cdf0e10cSrcweir framework/source/fwe/xml/xmlnamespaces \ 90cdf0e10cSrcweir)) 91cdf0e10cSrcweir 92cdf0e10cSrcweir#todo: ImageListDescriptor can't be exported completely without exporting everything 93cdf0e10cSrcweirifeq ($(OS),LINUX) 94cdf0e10cSrcweir$(eval $(call gb_Library_set_cxxflags,fwe,$$(filter-out -fvisibility=hidden,$$(CXXFLAGS)))) 95cdf0e10cSrcweirendif 96be31882eSPedro Giffuniifeq ($(OS),FREEBSD) 97be31882eSPedro Giffuni$(eval $(call gb_Library_set_cxxflags,fwe,$$(filter-out -fvisibility=hidden,$$(CXXFLAGS)))) 98be31882eSPedro Giffuniendif 99cdf0e10cSrcweir 100cdf0e10cSrcweir# vim: set noet sw=4 ts=4: 101