xref: /trunk/main/framework/Library_fwi.mk (revision bcc22a4c08e1268a4f06e54fb146f88ef49f2cdc)
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_add_defs,fwi,\
29    -DFWI_DLLIMPLEMENTATION \
30))
31
32$(eval $(call gb_Library_add_api,fwi,\
33    udkapi \
34    offapi \
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))
45
46$(eval $(call gb_Library_add_linked_libs,fwi,\
47    comphelper \
48    cppu \
49    cppuhelper \
50    i18nisolang1 \
51    sal \
52    stl \
53    svl \
54    svt \
55    ootk \
56    tl \
57    utl \
58    vcl \
59    vos3 \
60    $(gb_STDLIBS) \
61))
62
63$(eval $(call gb_Library_add_exception_objects,fwi,\
64    framework/source/fwi/classes/converter \
65    framework/source/fwi/classes/propertysethelper \
66    framework/source/fwi/classes/protocolhandlercache \
67    framework/source/fwi/helper/mischelper \
68    framework/source/fwi/helper/networkdomain \
69    framework/source/fwi/helper/shareablemutex \
70    framework/source/fwi/jobs/configaccess \
71    framework/source/fwi/jobs/jobconst \
72    framework/source/fwi/threadhelp/lockhelper \
73    framework/source/fwi/threadhelp/transactionmanager \
74    framework/source/fwi/uielement/constitemcontainer \
75    framework/source/fwi/uielement/itemcontainer \
76    framework/source/fwi/uielement/rootitemcontainer \
77))
78
79ifeq ($(OS),WNT)
80$(eval $(call gb_Library_add_linked_libs,fwi,\
81    advapi32 \
82))
83endif
84
85# vim: set noet sw=4 ts=4:
86