xref: /trunk/main/framework/Library_fwe.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2011 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28$(eval $(call gb_Library_Library,fwe))
29
30$(eval $(call gb_Library_set_include,fwe,\
31	-I$(SRCDIR)/framework/inc/pch \
32	-I$(SRCDIR)/framework/source/inc \
33	-I$(SRCDIR)/framework/inc \
34	-I$(WORKDIR)/inc/framework/ \
35	$$(INCLUDE) \
36	-I$(OUTDIR)/inc/framework \
37	-I$(OUTDIR)/inc/offuh \
38))
39
40$(eval $(call gb_Library_set_defs,fwe,\
41	$$(DEFS) \
42	-DFWE_DLLIMPLEMENTATION\
43))
44
45$(eval $(call gb_Library_add_linked_libs,fwe,\
46	comphelper \
47	cppu \
48	cppuhelper \
49	fwi \
50	sal \
51	stl \
52	svl \
53	svt \
54	tl \
55	utl \
56	vcl \
57	vos3 \
58	$(gb_STDLIBS) \
59))
60
61$(eval $(call gb_Library_add_exception_objects,fwe,\
62	framework/source/fwe/classes/actiontriggercontainer \
63	framework/source/fwe/classes/actiontriggerpropertyset \
64	framework/source/fwe/classes/actiontriggerseparatorpropertyset \
65	framework/source/fwe/classes/addonmenu \
66	framework/source/fwe/classes/addonsoptions \
67	framework/source/fwe/classes/bmkmenu \
68	framework/source/fwe/classes/framelistanalyzer \
69	framework/source/fwe/classes/fwkresid \
70	framework/source/fwe/classes/imagewrapper \
71	framework/source/fwe/classes/menuextensionsupplier \
72	framework/source/fwe/classes/rootactiontriggercontainer \
73	framework/source/fwe/classes/sfxhelperfunctions \
74	framework/source/fwe/dispatch/interaction \
75	framework/source/fwe/helper/acceleratorinfo \
76	framework/source/fwe/helper/actiontriggerhelper \
77	framework/source/fwe/helper/configimporter \
78	framework/source/fwe/helper/imageproducer \
79	framework/source/fwe/helper/propertysetcontainer \
80	framework/source/fwe/helper/titlehelper \
81	framework/source/fwe/helper/documentundoguard \
82	framework/source/fwe/helper/undomanagerhelper \
83	framework/source/fwe/interaction/preventduplicateinteraction \
84	framework/source/fwe/xml/eventsconfiguration \
85	framework/source/fwe/xml/eventsdocumenthandler \
86	framework/source/fwe/xml/menuconfiguration \
87	framework/source/fwe/xml/menudocumenthandler \
88	framework/source/fwe/xml/saxnamespacefilter \
89	framework/source/fwe/xml/statusbarconfiguration \
90	framework/source/fwe/xml/statusbardocumenthandler \
91	framework/source/fwe/xml/toolboxconfiguration \
92	framework/source/fwe/xml/toolboxdocumenthandler \
93	framework/source/fwe/xml/xmlnamespaces \
94))
95
96#todo: ImageListDescriptor can't be exported completely without exporting everything
97ifeq ($(OS),LINUX)
98$(eval $(call gb_Library_set_cxxflags,fwe,$$(filter-out -fvisibility=hidden,$$(CXXFLAGS))))
99endif
100
101# vim: set noet sw=4 ts=4:
102