xref: /trunk/main/sot/Library_sot.mk (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2009 by Sun Microsystems, Inc.
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,sot))
29
30$(eval $(call gb_Library_add_package_headers,sot,sot_inc))
31
32$(eval $(call gb_Library_add_precompiled_header,sot,$(SRCDIR)/sot/inc/pch/precompiled_sot))
33
34$(eval $(call gb_Library_set_componentfile,sot,sot/util/sot))
35
36$(eval $(call gb_Library_set_include,sot,\
37    -I$(SRCDIR)/sot/inc/pch \
38    $$(INCLUDE) \
39    -I$(OUTDIR)/inc/offuh \
40))
41
42$(eval $(call gb_Library_set_defs,sot,\
43    $$(DEFS) \
44    -DSOT_DLLIMPLEMENTATION \
45))
46
47$(eval $(call gb_Library_add_linked_libs,sot,\
48    comphelper \
49    cppu \
50    cppuhelper \
51    sal \
52    tl \
53    ucbhelper \
54    stl \
55    utl \
56    $(gb_STDLIBS) \
57))
58
59$(eval $(call gb_Library_add_exception_objects,sot,\
60    sot/source/unoolestorage/xolesimplestorage \
61    sot/source/unoolestorage/register \
62    sot/source/base/formats \
63    sot/source/base/object \
64    sot/source/base/exchange \
65    sot/source/base/filelist \
66    sot/source/base/factory \
67    sot/source/sdstor/stg \
68    sot/source/sdstor/stgavl \
69    sot/source/sdstor/stgcache \
70    sot/source/sdstor/stgdir \
71    sot/source/sdstor/stgelem \
72    sot/source/sdstor/stgio \
73    sot/source/sdstor/stgole \
74    sot/source/sdstor/stgstrms \
75    sot/source/sdstor/storage \
76    sot/source/sdstor/storinfo \
77    sot/source/sdstor/ucbstorage \
78    sot/source/sdstor/unostorageholder \
79))
80
81# vim: set noet sw=4 ts=4:
82