workaround clang-14 bug
[LibreOffice.git] / jvmfwk / CustomTarget_jvmfwk_jvmfwk3_ini.mk
blob9444051e4989a8ebb57bb54036a32501957330cc
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/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_CustomTarget_CustomTarget,jvmfwk/jvmfwk3_ini))
22 $(eval $(call gb_CustomTarget_register_targets,jvmfwk/jvmfwk3_ini, \
23 $(call gb_Helper_get_rcfile,jvmfwk3) \
26 $(gb_CustomTarget_workdir)/jvmfwk/jvmfwk3_ini/$(call gb_Helper_get_rcfile,jvmfwk3): \
27 $(SRCDIR)/jvmfwk/CustomTarget_jvmfwk_jvmfwk3_ini.mk
28 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,1)
29 $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),ECH)
30 ( printf '[Bootstrap]\n' && \
31 printf 'UNO_JAVA_JFW_VENDOR_SETTINGS=$(if $(filter MACOSX,$(OS)),$${ORIGIN}/../share/misc/,$${ORIGIN}/)javavendors.xml\n' && \
32 printf 'UNO_JAVA_JFW_SHARED_DATA=$${URE_OVERRIDE_JAVA_JFW_SHARED_DATA}\n' && \
33 printf 'UNO_JAVA_JFW_USER_DATA=$${URE_OVERRIDE_JAVA_JFW_USER_DATA}\n' && \
34 printf 'UNO_JAVA_JFW_CLASSPATH_URLS=$${URE_MORE_JAVA_CLASSPATH_URLS}\n' \
35 ) > $@
36 $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),ECH)
38 # vim: set noet sw=4 ts=4: