bump product version to 4.1.6.2
[LibreOffice.git] / external / Module_external.mk
blob646a6d25d8bc850e3e1886edf62a2fc2752d6eb2
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_Module_Module,external))
12 $(eval $(call gb_Module_add_targets,external,\
15 ifeq ($(OS)$(COM),WNTGCC)
16 $(eval $(call gb_Module_add_targets,external,\
17 CustomTarget_jawt \
18 CustomTarget_wine \
19 Package_jawt \
20 Package_mingw_dlls \
21 Package_mingw_gccdlls \
22 Package_wine \
24 endif
26 ifeq ($(COM),MSC)
27 $(eval $(call gb_Module_add_targets,external,\
28 Package_dbghelp \
29 Package_msms \
30 Package_msvc_dlls \
31 $(if $(MSVC_USE_DEBUG_RUNTIME),Package_msvc_dlls_debug) \
32 $(if $(filter YES,$(WITH_MOZAB4WIN)),Package_msvc80_dlls) \
34 endif
36 ifeq ($(HAVE_GETOPT),NO)
37 $(eval $(call gb_Module_add_targets,external,\
38 UnpackedTarball_glibc \
39 StaticLibrary_gnu_getopt \
41 endif
43 ifeq ($(HAVE_READDIR_R),NO)
44 ifneq ($(OS),WNT)
45 $(eval $(call gb_Module_add_targets,external,\
46 $(if $(filter YES,$(HAVE_GETOPT)),UnpackedTarball_glibc) \
47 StaticLibrary_gnu_readdir_r \
49 endif
50 endif
52 # vim: set noet sw=4 ts=4: