2013-03-05 07:16:36 -06:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
|
|
|
# This file is part of the LibreOffice project.
|
|
|
|
#
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_Library,libreoffice))
|
|
|
|
|
2013-03-14 09:10:55 -05:00
|
|
|
$(eval $(call gb_Library_use_packages,libreoffice,\
|
|
|
|
sal_generated \
|
|
|
|
sal_odk_headers \
|
|
|
|
))
|
|
|
|
|
2013-03-05 07:16:36 -06:00
|
|
|
$(eval $(call gb_Library_set_include,libreoffice,\
|
|
|
|
$$(INCLUDE) \
|
|
|
|
-I$(SRCDIR)/desktop/inc \
|
|
|
|
))
|
|
|
|
|
2013-03-05 10:19:58 -06:00
|
|
|
$(eval $(call gb_Library_add_libs,libreoffice,\
|
|
|
|
$(if $(filter $(OS),LINUX), \
|
|
|
|
-ldl \
|
2013-03-05 16:21:57 -06:00
|
|
|
-lpthread \
|
2013-03-05 10:19:58 -06:00
|
|
|
) \
|
|
|
|
))
|
|
|
|
|
2013-03-05 07:16:36 -06:00
|
|
|
$(eval $(call gb_Library_use_libraries,libreoffice,\
|
|
|
|
$(gb_UWINAPI) \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,libreoffice,\
|
|
|
|
desktop/source/lib/shim \
|
|
|
|
))
|
|
|
|
|
|
|
|
# vim: set noet sw=4 ts=4:
|