xref: /aoo4110/main/framework/Library_fwi.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,fwi))
25
26$(eval $(call gb_Library_add_package_headers,fwi,framework_inc))
27
28$(eval $(call gb_Library_set_defs,fwi,\
29	$$(DEFS) \
30	-DFWI_DLLIMPLEMENTATION \
31))
32
33$(eval $(call gb_Library_set_include,fwi,\
34	-I$(SRCDIR)/framework/inc/pch \
35	-I$(SRCDIR)/framework/source/inc \
36	-I$(SRCDIR)/framework/inc \
37	-I$(WORKDIR)/inc/framework/ \
38	$$(INCLUDE) \
39	-I$(OUTDIR)/inc/framework \
40	-I$(OUTDIR)/inc/offuh \
41))
42
43$(eval $(call gb_Library_add_linked_libs,fwi,\
44	comphelper \
45	cppu \
46	cppuhelper \
47	i18nisolang1 \
48	sal \
49	stl \
50	svl \
51	svt \
52	ootk \
53	tl \
54	utl \
55	vcl \
56	vos3 \
57	$(gb_STDLIBS) \
58))
59
60$(eval $(call gb_Library_add_exception_objects,fwi,\
61	framework/source/fwi/classes/converter \
62	framework/source/fwi/classes/propertysethelper \
63	framework/source/fwi/classes/protocolhandlercache \
64	framework/source/fwi/helper/mischelper \
65	framework/source/fwi/helper/networkdomain \
66	framework/source/fwi/helper/shareablemutex \
67	framework/source/fwi/jobs/configaccess \
68	framework/source/fwi/jobs/jobconst \
69	framework/source/fwi/threadhelp/lockhelper \
70	framework/source/fwi/threadhelp/transactionmanager \
71	framework/source/fwi/uielement/constitemcontainer \
72	framework/source/fwi/uielement/itemcontainer \
73	framework/source/fwi/uielement/rootitemcontainer \
74))
75
76ifeq ($(OS),WNT)
77$(eval $(call gb_Library_add_linked_libs,fwi,\
78	advapi32 \
79))
80endif
81
82# vim: set noet sw=4 ts=4:
83