Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / codemaker / Executable_cppumaker.mk
bloba508fd203371844bd15ece5524d85ef5a95e1c8b
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
14 # Major Contributor(s):
15 # Copyright (C) 2012 David Ostrovsky <d.ostrovsky@gmx.de> (initial developer)
17 # All Rights Reserved.
19 # For minor contributions see the git repository.
21 # Alternatively, the contents of this file may be used under the terms of
22 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
23 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
24 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
25 # instead of those above.
27 $(eval $(call gb_Executable_Executable,cppumaker))
29 $(eval $(call gb_Executable_use_external,cppumaker,boost_headers))
31 $(eval $(call gb_Executable_use_libraries,cppumaker,\
32 reg \
33 sal \
34 salhelper \
37 $(eval $(call gb_Executable_use_static_libraries,cppumaker,\
38 codemaker_cpp \
39 codemaker \
42 $(eval $(call gb_Executable_add_exception_objects,cppumaker,\
43 codemaker/source/cppumaker/cppumaker \
44 codemaker/source/cppumaker/cppuoptions \
45 codemaker/source/cppumaker/cpputype \
46 codemaker/source/cppumaker/dumputils \
47 codemaker/source/cppumaker/includes \
50 ifeq ($(OS)$(COM),WNTMSC)
51 $(eval $(call gb_Executable_add_cxxflags,cppumaker,\
52 -Ob0 \
54 endif
56 # vim:set shiftwidth=4 softtabstop=4 expandtab: