Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / soltools / Executable_cpp.mk
blobf0d3d113b61631eb47120ab4001e3528e08028b7
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Executable_Executable,cpp))
12 ifeq ($(COM),MSC)
13 $(eval $(call gb_Executable_use_packages,cpp,\
14 soltools_inc \
16 endif
18 $(eval $(call gb_Executable_add_cobjects,cpp,\
19 soltools/cpp/_cpp \
20 soltools/cpp/_eval \
21 soltools/cpp/_include \
22 soltools/cpp/_lex \
23 soltools/cpp/_macro \
24 soltools/cpp/_mcrvalid \
25 soltools/cpp/_nlist \
26 soltools/cpp/_tokens \
27 soltools/cpp/_unix \
30 ifneq ($(or $(filter AIX MACOSX,$(OS)),$(filter NO,$(HAVE_GETOPT))),)
31 $(eval $(call gb_Executable_add_cobjects,cpp,\
32 soltools/cpp/_getopt \
34 endif
36 ifeq ($(HAVE_GETOPT),YES)
37 $(eval $(call gb_Executable_add_defs,cpp,\
38 -DHAVE_GETOPT \
40 endif
42 # vim:set shiftwidth=4 softtabstop=4 expandtab: