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