office-gobmx/bridges/Library_cc50_solaris_intel.mk
Michael Stahl a53586f4ef gbuild: do not copy boost headers around
- do not use gb_UnpackedTarball_copy_header_files for boost
- adapt the optimization in concat-deps.c for new path
- use boost_headers in all LinkTargets that require it
- add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus

Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-26 22:20:06 +01:00

69 lines
2 KiB
Makefile

# -*- 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/.
#
ifneq ($(strip $(bridges_SELECTED_BRIDGE)),)
$(eval $(call gb_Output_error,cannot build bridge cc50_solaris_intel: bridge $(bridges_SELECTED_BRIDGE) already selected))
endif
bridges_SELECTED_BRIDGE := cc50_solaris_intel
$(eval $(call gb_Library_Library,sunpro5_uno))
$(eval $(call gb_Library_use_external,sunpro5_uno,boost_headers))
$(eval $(call gb_Library_use_internal_comprehensive_api,sunpro5_uno,\
udkapi \
))
$(eval $(call gb_Library_set_include,sunpro5_uno,\
-I$(SRCDIR)/bridges/inc \
$$(INCLUDE) \
))
ifeq ($(HAVE_POSIX_FALLOCATE),YES)
$(eval $(call gb_Library_add_defs,sunpro5_uno,\
-DHAVE_POSIX_FALLOCATE \
))
endif
# In case someone enabled the non-standard -fomit-frame-pointer which does not
# work with the .cxx sources of this library.
$(eval $(call gb_Library_add_cxxflags,sunpro5_uno,\
-fno-omit-frame-pointer \
-fno-strict-aliasing \
-O5 \
-xO5 \
))
$(eval $(call gb_Library_use_libraries,sunpro5_uno,\
cppu \
sal \
))
$(eval $(call gb_Library_add_asmobjects,sunpro5_uno,\
bridges/source/cpp_uno/cc50_solaris_intel/call \
))
$(eval $(call gb_Library_add_exception_objects,sunpro5_uno,\
bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno \
bridges/source/cpp_uno/cc50_solaris_intel/except \
bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp \
bridges/source/cpp_uno/shared/bridge \
bridges/source/cpp_uno/shared/component \
bridges/source/cpp_uno/shared/cppinterfaceproxy \
bridges/source/cpp_uno/shared/types \
bridges/source/cpp_uno/shared/unointerfaceproxy \
bridges/source/cpp_uno/shared/vtablefactory \
bridges/source/cpp_uno/shared/vtables \
))
$(eval $(call gb_Library_add_cxxobjects,sunpro5_uno,\
, $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
))
# vim: set noet sw=4 ts=4: