turn gb_CustomTarget_get_workdir into error and remove old _repo_targets
[LibreOffice.git] / codemaker / Executable_cppumaker.mk
blob9b8581356738aa3344fe2fd3a8ffba60403e87a3
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,cppumaker))
12 $(eval $(call gb_Executable_use_external,cppumaker,boost_headers))
14 ifeq ($(DISABLE_DYNLOADING),TRUE)
15 $(eval $(call gb_Executable_use_externals,cppumaker,\
16 dtoa \
18 endif
20 $(eval $(call gb_Executable_use_libraries,cppumaker,\
21 unoidl \
22 $(if $(filter TRUE,$(DISABLE_DYNLOADING)),reg) \
23 $(if $(filter TRUE,$(DISABLE_DYNLOADING)),store) \
24 salhelper \
25 sal \
28 $(eval $(call gb_Executable_use_static_libraries,cppumaker,\
29 codemaker_cpp \
30 codemaker \
33 $(eval $(call gb_Executable_add_exception_objects,cppumaker,\
34 codemaker/source/cppumaker/cppumaker \
35 codemaker/source/cppumaker/cppuoptions \
36 codemaker/source/cppumaker/cpputype \
37 codemaker/source/cppumaker/dependencies \
38 codemaker/source/cppumaker/dumputils \
39 codemaker/source/cppumaker/includes \
42 ifeq ($(OS),WNT)
43 $(eval $(call gb_Executable_add_cxxflags,cppumaker,\
44 -Ob0 \
46 endif
48 # vim:set noet sw=4 ts=4: