Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / odk / settings / platform.mk
blob6980a72715d04c1946ea815669b5335886e44c6d
2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 # Licensed to the Apache Software Foundation (ASF) under one or more
11 # contributor license agreements. See the NOTICE file distributed
12 # with this work for additional information regarding copyright
13 # ownership. The ASF licenses this file to you under the Apache
14 # License, Version 2.0 (the "License"); you may not use this file
15 # except in compliance with the License. You may obtain a copy of
16 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 # Map target platform (extension cfg) and extension platform (SDK settings)
21 # See:
22 # http://wiki.openoffice.org/wiki/Documentation/DevGuide/Extensions/Target_Platform
23 # odk/settings/settings.mk
25 # only make version 3.81 or later accepts the multiple else conditions
26 ifeq "$(UNOPKG_PLATFORM)" "FreeBSD_x86"
27 EXTENSION_PLATFORM=freebsd_x86
28 else
29 ifeq "$(UNOPKG_PLATFORM)" "FreeBSD_x86_64"
30 EXTENSION_PLATFORM=freebsd_x86_64
31 else
32 ifeq "$(UNOPKG_PLATFORM)" "Linux_PowerPC"
33 EXTENSION_PLATFORM=linux_powerpc
34 else
35 ifeq "$(UNOPKG_PLATFORM)" "Linux_x86"
36 EXTENSION_PLATFORM=linux_x86
37 else
38 ifeq "$(UNOPKG_PLATFORM)" "Linux_x86_64"
39 EXTENSION_PLATFORM=linux_x86_64
40 else
41 ifeq "$(UNOPKG_PLATFORM)" "MacOSX_PowerPC"
42 EXTENSION_PLATFORM=macosx_powerpc
43 else
44 ifeq "$(UNOPKG_PLATFORM)" "MacOSX_x86"
45 EXTENSION_PLATFORM=macosx_x86
46 else
47 ifeq "$(UNOPKG_PLATFORM)" "MacOSX_x86_64"
48 EXTENSION_PLATFORM=macosx_x86_64
49 else
50 ifeq "$(UNOPKG_PLATFORM)" "Solaris_SPARC"
51 EXTENSION_PLATFORM=solaris_sparc
52 else
53 ifeq "$(UNOPKG_PLATFORM)" "Solaris_x86"
54 EXTENSION_PLATFORM=solaris_x86
55 else
56 ifeq "$(UNOPKG_PLATFORM)" "Windows"
57 ifeq "$(PROCTYPE)" "x86_64"
58 EXTENSION_PLATFORM=windows_x86_64
59 else
60 EXTENSION_PLATFORM=windows_x86
61 endif
62 endif
63 endif
64 endif
65 endif
66 endif
67 endif
68 endif
69 endif
70 endif
71 endif
72 endif