xref: /aoo4110/main/framework/Library_fwe.mk (revision b1cdbd2c)
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,fwe))
25
26$(eval $(call gb_Library_set_include,fwe,\
27	-I$(SRCDIR)/framework/inc/pch \
28	-I$(SRCDIR)/framework/source/inc \
29	-I$(SRCDIR)/framework/inc \
30	-I$(WORKDIR)/inc/framework/ \
31	$$(INCLUDE) \
32	-I$(OUTDIR)/inc/framework \
33	-I$(OUTDIR)/inc/offuh \
34))
35
36$(eval $(call gb_Library_set_defs,fwe,\
37	$$(DEFS) \
38	-DFWE_DLLIMPLEMENTATION\
39))
40
41$(eval $(call gb_Library_add_linked_libs,fwe,\
42	comphelper \
43	cppu \
44	cppuhelper \
45	fwi \
46	sal \
47	stl \
48	svl \
49	svt \
50	tl \
51	utl \
52	vcl \
53	vos3 \
54	$(gb_STDLIBS) \
55))
56
57$(eval $(call gb_Library_add_exception_objects,fwe,\
58	framework/source/fwe/classes/actiontriggercontainer \
59	framework/source/fwe/classes/actiontriggerpropertyset \
60	framework/source/fwe/classes/actiontriggerseparatorpropertyset \
61	framework/source/fwe/classes/addonmenu \
62	framework/source/fwe/classes/addonsoptions \
63	framework/source/fwe/classes/bmkmenu \
64	framework/source/fwe/classes/framelistanalyzer \
65	framework/source/fwe/classes/fwkresid \
66	framework/source/fwe/classes/imagewrapper \
67	framework/source/fwe/classes/menuextensionsupplier \
68	framework/source/fwe/classes/rootactiontriggercontainer \
69	framework/source/fwe/classes/sfxhelperfunctions \
70	framework/source/fwe/dispatch/interaction \
71	framework/source/fwe/helper/acceleratorinfo \
72	framework/source/fwe/helper/actiontriggerhelper \
73	framework/source/fwe/helper/configimporter \
74	framework/source/fwe/helper/imageproducer \
75	framework/source/fwe/helper/propertysetcontainer \
76	framework/source/fwe/helper/titlehelper \
77	framework/source/fwe/helper/documentundoguard \
78	framework/source/fwe/helper/undomanagerhelper \
79	framework/source/fwe/interaction/preventduplicateinteraction \
80	framework/source/fwe/xml/eventsconfiguration \
81	framework/source/fwe/xml/eventsdocumenthandler \
82	framework/source/fwe/xml/menuconfiguration \
83	framework/source/fwe/xml/menudocumenthandler \
84	framework/source/fwe/xml/saxnamespacefilter \
85	framework/source/fwe/xml/statusbarconfiguration \
86	framework/source/fwe/xml/statusbardocumenthandler \
87	framework/source/fwe/xml/toolboxconfiguration \
88	framework/source/fwe/xml/toolboxdocumenthandler \
89	framework/source/fwe/xml/xmlnamespaces \
90))
91
92#todo: ImageListDescriptor can't be exported completely without exporting everything
93ifeq ($(OS),LINUX)
94$(eval $(call gb_Library_set_cxxflags,fwe,$$(filter-out -fvisibility=hidden,$$(CXXFLAGS))))
95endif
96ifeq ($(OS),FREEBSD)
97$(eval $(call gb_Library_set_cxxflags,fwe,$$(filter-out -fvisibility=hidden,$$(CXXFLAGS))))
98endif
99
100# vim: set noet sw=4 ts=4:
101