office-gobmx/svl/Library_svl.mk
2011-09-12 15:30:32 +03:00

171 lines
5 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2011 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Library_Library,svl))
$(eval $(call gb_Library_add_package_headers,svl,svl_inc))
$(eval $(call gb_Library_add_precompiled_header,svl,$(SRCDIR)/svl/inc/pch/precompiled_svl))
$(eval $(call gb_Library_set_componentfile,svl,svl/util/svl))
$(eval $(call gb_Library_set_include,svl,\
$$(SOLARINC) \
-I$(realpath $(SRCDIR)/svl/source/inc) \
-I$(realpath $(SRCDIR)/svl/inc/pch) \
-I$(SRCDIR)/svl/inc/pch \
))
$(eval $(call gb_Library_add_api,svl,\
udkapi \
offapi \
))
$(eval $(call gb_Library_add_defs,svl,\
-DSVL_DLLIMPLEMENTATION \
))
$(eval $(call gb_Library_add_linked_libs,svl,\
basegfx \
comphelper \
cppu \
cppuhelper \
i18nisolang1 \
i18nutil \
jvmfwk \
sal \
sot \
tl \
ucbhelper \
utl \
$(gb_STDLIBS) \
))
$(eval $(call gb_Library_add_exception_objects,svl,\
svl/inc/pch/precompiled_svl \
svl/source/config/asiancfg \
svl/source/config/cjkoptions \
svl/source/config/ctloptions \
svl/source/config/itemholder2 \
svl/source/config/languageoptions \
svl/source/filepicker/pickerhistory \
svl/source/filerec/filerec \
svl/source/items/aeitem \
svl/source/items/cenumitm \
svl/source/items/cintitem \
svl/source/items/cntwall \
svl/source/items/ctypeitm \
svl/source/items/custritm \
svl/source/items/dateitem \
svl/source/items/eitem \
svl/source/items/flagitem \
svl/source/items/globalnameitem \
svl/source/items/ilstitem \
svl/source/items/imageitm \
svl/source/items/intitem \
svl/source/items/itemiter \
svl/source/items/itempool \
svl/source/items/itemprop \
svl/source/items/itemset \
svl/source/items/lckbitem \
svl/source/items/macitem \
svl/source/items/poolcach \
svl/source/items/poolio \
svl/source/items/poolitem \
svl/source/items/ptitem \
svl/source/items/rectitem \
svl/source/items/rngitem \
svl/source/items/sfontitm \
svl/source/items/sitem \
svl/source/items/slstitm \
svl/source/items/srchitem \
svl/source/items/stritem \
svl/source/items/style \
svl/source/items/stylepool \
svl/source/items/szitem \
svl/source/items/visitem \
svl/source/items/whiter \
svl/source/memtools/svarray \
svl/source/misc/PasswordHelper \
svl/source/misc/adrparse \
svl/source/misc/documentlockfile \
svl/source/misc/filenotation \
svl/source/misc/folderrestriction \
svl/source/misc/fstathelper \
svl/source/misc/inethist \
svl/source/misc/inettype \
svl/source/misc/lngmisc \
svl/source/misc/lockfilecommon \
svl/source/misc/ownlist \
svl/source/misc/restrictedpaths \
svl/source/misc/sharecontrolfile \
svl/source/misc/strmadpt \
svl/source/misc/svldata \
svl/source/misc/urihelper \
svl/source/notify/brdcst \
svl/source/notify/broadcast \
svl/source/notify/hint \
svl/source/notify/isethint \
svl/source/notify/listener \
svl/source/notify/listenerbase \
svl/source/notify/listeneriter \
svl/source/notify/lstner \
svl/source/notify/smplhint \
svl/source/numbers/numfmuno \
svl/source/numbers/numhead \
svl/source/numbers/numuno \
svl/source/numbers/supservs \
svl/source/numbers/zforfind \
svl/source/numbers/zforlist \
svl/source/numbers/zformat \
svl/source/numbers/zforscan \
svl/source/svsql/converter \
svl/source/undo/undo \
svl/source/uno/pathservice \
svl/source/uno/registerservices \
))
ifeq ($(OS),WNT)
$(eval $(call gb_Library_add_exception_objects,svl,\
svl/source/svdde/ddecli \
svl/source/svdde/ddedata \
svl/source/svdde/ddeinf \
svl/source/svdde/ddestrg \
svl/source/svdde/ddesvr \
))
$(eval $(call gb_Library_add_linked_libs,svl,\
user32 \
))
else
$(eval $(call gb_Library_add_exception_objects,svl,\
svl/unx/source/svdde/ddedummy \
))
endif
# vim: set noet sw=4 ts=4: