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_Package_Package
,jvmfwk_rcfiles
,$(SRCDIR
)/jvmfwk
))
12 # The below files (intended to be also used during the build) need to go into
13 # the same directory as dynamic libraries (either bin or lib):
16 jvmfwk_Package_RCFILESDIR
:= bin
18 jvmfwk_Package_RCFILESDIR
:= lib
21 $(eval
$(call gb_Package_add_file
,jvmfwk_rcfiles
,$(call gb_Helper_get_rcfile
,$(jvmfwk_Package_RCFILESDIR
)/sunjavaplugin
),plugins
/sunmajor
/pluginlib
/sunjavapluginrc
))
22 $(eval
$(call gb_Package_add_file
,jvmfwk_rcfiles
,$(call gb_Helper_get_rcfile
,$(jvmfwk_Package_RCFILESDIR
)/jvmfwk3
),source
/jvmfwk3rc
))
26 $(eval
$(call gb_Package_add_file
,jvmfwk_rcfiles
,$(jvmfwk_Package_RCFILESDIR
)/javavendors.xml
,distributions
/OpenOfficeorg
/javavendors_freebsd.xml
))
27 else ifeq ($(OS
),MACOSX
)
28 $(eval
$(call gb_Package_add_file
,jvmfwk_rcfiles
,$(jvmfwk_Package_RCFILESDIR
)/javavendors.xml
,distributions
/OpenOfficeorg
/javavendors_macosx.xml
))
29 else ifeq ($(OS
),LINUX
)
30 $(eval
$(call gb_Package_add_file
,jvmfwk_rcfiles
,$(jvmfwk_Package_RCFILESDIR
)/javavendors.xml
,distributions
/OpenOfficeorg
/javavendors_linux.xml
))
32 $(eval
$(call gb_Package_add_file
,jvmfwk_rcfiles
,$(jvmfwk_Package_RCFILESDIR
)/javavendors.xml
,distributions
/OpenOfficeorg
/javavendors_linux.xml
))
34 $(eval
$(call gb_Package_add_file
,jvmfwk_rcfiles
,$(jvmfwk_Package_RCFILESDIR
)/javavendors.xml
,distributions
/OpenOfficeorg
/javavendors_unx.xml
))
37 $(eval
$(call gb_Package_add_file
,jvmfwk_rcfiles
,$(jvmfwk_Package_RCFILESDIR
)/javavendors.xml
,distributions
/OpenOfficeorg
/javavendors_wnt.xml
))
39 $(call gb_Output_error
,Unsupported platform
)
42 # vim:set noet sw=4 ts=4: