odk: don't run compiler -dumpversion for eaach include of settings.mk
[LibreOffice.git] / shell / Library_syssh.mk
blob72ff73842dc39504d9e109014a3e61b2b70c0bce
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_Library_Library,syssh))
12 $(eval $(call gb_Library_use_sdk_api,syssh))
14 $(eval $(call gb_Library_use_libraries,syssh,\
15 cppu \
16 cppuhelper \
17 comphelper \
18 sal \
21 ifeq ($(OS),WNT)
23 $(eval $(call gb_Library_use_system_win32_libs,syssh,\
24 ole32 \
25 shell32 \
28 $(eval $(call gb_Library_set_componentfile,syssh,shell/source/win32/syssh,services))
30 $(eval $(call gb_Library_add_exception_objects,syssh,\
31 shell/source/win32/SysShExec \
34 else # OS != WNT
36 $(eval $(call gb_Library_use_static_libraries,syssh,\
37 shell_xmlparser \
40 $(eval $(call gb_Library_use_externals,syssh, \
41 expat \
44 $(eval $(call gb_Library_set_componentfile,syssh,shell/source/unix/exec/syssh,services))
46 $(eval $(call gb_Library_add_exception_objects,syssh,\
47 shell/source/unix/exec/shellexec \
50 ifeq ($(OS),EMSCRIPTEN)
51 $(eval $(call gb_Library_add_exception_objects,syssh,\
52 shell/source/unix/exec/shellexec_em \
54 endif
56 endif # OS
58 # vim: set shiftwidth=4 tabstop=4 noexpandtab: