2012-04-14 00:30:19 +02:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
2013-04-24 17:14:03 +01:00
|
|
|
# This file is part of the LibreOffice project.
|
2012-04-14 00:30:19 +02:00
|
|
|
#
|
2013-04-24 17:14:03 +01:00
|
|
|
# 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/.
|
2012-04-14 00:30:19 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_Executable_Executable,cppumaker))
|
|
|
|
|
2012-11-12 18:37:10 -05:00
|
|
|
$(eval $(call gb_Executable_use_external,cppumaker,boost_headers))
|
2012-11-13 11:30:57 +00:00
|
|
|
|
2012-04-14 00:30:19 +02:00
|
|
|
$(eval $(call gb_Executable_use_libraries,cppumaker,\
|
[API CHANGE] WIP: Experimental new binary type.rdb format
Make cppumaker work on top of unoidl/ instead of registry/, as a first step to
change all the various codemakers.
* API CHANGE: cppumaker no longer supports the -B switch, as that is meaningless
with the new format. When reading from an old-format .rdb file, /UCR is
hard-coded as the prefix now.
* TODO: The new format does not yet support deprecation annotations, so the
generated .hdl/.hpp files lack any SAL_DEPRECATED_INTERNALs for now.
* codemaker/typemanager.hxx is extended with access to unoidl/ functionality, so
the various codemakers can use registry/ and unoidl/ in parallel for now.
The access to registry/ functionality will be removed. (Added small throwaway
helper functions u2b/b2u to easily map between OString and OUString at the
remaining seams for now.)
* Includes a selective revert of ba044b1e9613ed30906a9a540b7da8392923e4e3
"remove needless forward rtl::OUString declarations" in those parts of
codemaker, unodevtools, unoidl that were covered by this local
work-in-progress patch; I would otherwise have hard a hard time re-applying
it.
* The generated .hdl/.hpp files are mostly unchanged, except for a few minor
things:
** Any SAL_DEPRECATED_INTERNALs are missing (see above).
** In comprehensive getCppuType definitions, some members were erroneously
classified as TypeCalss_UNKNOWN.
** In comprehensive getCppuType definitions, some unnecessary calls like
::cppu::UnoType< ::sal_Int32 >::get();
can be removed.
** For typedef sequence<X>, the .hdl file need not include X.hdl, but only needs
to forward-declare it.
** Unnecessary includes for optional bases of interfaces can be removed.
** Some numbering of local variable names (sMethodName1, ...) has changed.
Change-Id: Icad98f248ac15177337f1b4ab709a755a8af6238
2013-04-08 08:45:37 +02:00
|
|
|
unoidl \
|
2016-12-15 11:39:06 +00:00
|
|
|
$(if $(filter TRUE,$(DISABLE_DYNLOADING)),reg) \
|
|
|
|
$(if $(filter TRUE,$(DISABLE_DYNLOADING)),store) \
|
|
|
|
salhelper \
|
|
|
|
sal \
|
2012-04-14 00:30:19 +02:00
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_Executable_use_static_libraries,cppumaker,\
|
2012-04-14 05:31:32 -05:00
|
|
|
codemaker_cpp \
|
2012-04-14 00:30:19 +02:00
|
|
|
codemaker \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_Executable_add_exception_objects,cppumaker,\
|
|
|
|
codemaker/source/cppumaker/cppumaker \
|
|
|
|
codemaker/source/cppumaker/cppuoptions \
|
|
|
|
codemaker/source/cppumaker/cpputype \
|
[API CHANGE] WIP: Experimental new binary type.rdb format
Make cppumaker work on top of unoidl/ instead of registry/, as a first step to
change all the various codemakers.
* API CHANGE: cppumaker no longer supports the -B switch, as that is meaningless
with the new format. When reading from an old-format .rdb file, /UCR is
hard-coded as the prefix now.
* TODO: The new format does not yet support deprecation annotations, so the
generated .hdl/.hpp files lack any SAL_DEPRECATED_INTERNALs for now.
* codemaker/typemanager.hxx is extended with access to unoidl/ functionality, so
the various codemakers can use registry/ and unoidl/ in parallel for now.
The access to registry/ functionality will be removed. (Added small throwaway
helper functions u2b/b2u to easily map between OString and OUString at the
remaining seams for now.)
* Includes a selective revert of ba044b1e9613ed30906a9a540b7da8392923e4e3
"remove needless forward rtl::OUString declarations" in those parts of
codemaker, unodevtools, unoidl that were covered by this local
work-in-progress patch; I would otherwise have hard a hard time re-applying
it.
* The generated .hdl/.hpp files are mostly unchanged, except for a few minor
things:
** Any SAL_DEPRECATED_INTERNALs are missing (see above).
** In comprehensive getCppuType definitions, some members were erroneously
classified as TypeCalss_UNKNOWN.
** In comprehensive getCppuType definitions, some unnecessary calls like
::cppu::UnoType< ::sal_Int32 >::get();
can be removed.
** For typedef sequence<X>, the .hdl file need not include X.hdl, but only needs
to forward-declare it.
** Unnecessary includes for optional bases of interfaces can be removed.
** Some numbering of local variable names (sMethodName1, ...) has changed.
Change-Id: Icad98f248ac15177337f1b4ab709a755a8af6238
2013-04-08 08:45:37 +02:00
|
|
|
codemaker/source/cppumaker/dependencies \
|
2012-04-14 00:30:19 +02:00
|
|
|
codemaker/source/cppumaker/dumputils \
|
|
|
|
codemaker/source/cppumaker/includes \
|
|
|
|
))
|
|
|
|
|
Remove MinGW support
In OOo times, there'd originally been efforts to allow building on Windows with
MinGW. Later, in LO times, this has been shifted to an attempt of cross-
compiling for Windows on Linux. That attempt can be considered abandoned, and
the relevant code rotting.
Due to this heritage, there are now three kinds of MinGW-specific code in LO:
* Code from the original OOo native Windows effort that is no longer relevant
for the LO cross-compilation effort, but has never been removed properly.
* Code from the original OOo native Windows effort that is re-purposed for the
LO cross-compilation effort.
* Code that has been added specifially for the LO cross-compilation effort.
All three kinds of code are removed.
(An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing
--with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.)
Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568
Reviewed-on: https://gerrit.libreoffice.org/34127
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-10 14:05:21 +01:00
|
|
|
ifeq ($(OS),WNT)
|
2012-04-14 00:30:19 +02:00
|
|
|
$(eval $(call gb_Executable_add_cxxflags,cppumaker,\
|
|
|
|
-Ob0 \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2013-01-26 22:19:07 +01:00
|
|
|
# vim:set noet sw=4 ts=4:
|