Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
05872335
Kaydet (Commit)
05872335
authored
Mar 28, 2012
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
accessibility: use CustomTarget makefiles
üst
7b3f37f8
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
107 deletions
+26
-107
CustomTarget_bridge.mk
accessibility/CustomTarget_bridge.mk
+14
-13
CustomTarget_bridge_inc.mk
accessibility/CustomTarget_bridge_inc.mk
+9
-11
Jar_accessibility.mk
accessibility/Jar_accessibility.mk
+0
-5
Library_java_uno_accessbridge.mk
accessibility/Library_java_uno_accessbridge.mk
+1
-8
Module_accessibility.mk
accessibility/Module_accessibility.mk
+2
-2
Package_bridge.mk
accessibility/Package_bridge.mk
+0
-32
Package_bridge_inc.mk
accessibility/Package_bridge_inc.mk
+0
-36
No files found.
accessibility/
bridge/Makefile
→
accessibility/
CustomTarget_bridge.mk
Dosyayı görüntüle @
05872335
...
...
@@ -25,28 +25,29 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
gb_PARTIALBUILD
:=
T
$(eval $(call gb_CustomTarget_CustomTarget,accessibility/bridge,new_style))
ACBR := $(call gb_CustomTarget_get_workdir,accessibility/bridge)
$(call gb_CustomTarget_get_target,accessibility/bridge) : \
$(ACBR)/org/openoffice/java/accessibility/Build.java
ifeq ($(PRODUCT),)
DEBUGSWITCH
:=
true
PRODUCTSWITCH
:=
false
ac_
DEBUGSWITCH := true
ac_
PRODUCTSWITCH := false
else
DEBUGSWITCH
:=
false
PRODUCTSWITCH
:=
true
ac_
DEBUGSWITCH := false
ac_
PRODUCTSWITCH := true
endif
org/openoffice/java/accessibility/Build.java
:
$(ACBR)/org/openoffice/java/accessibility/Build.java :
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,1)
mkdir -p $(dir $@) && (\
echo package org.openoffice.java.accessibility\; && \
echo public class Build \{ && \
echo
public static final boolean DEBUG
=
$(DEBUGSWITCH)
\;
&&
\
echo
public static final boolean PRODUCT
=
$(PRODUCTSWITCH)
\;
&&
\
echo public static final boolean DEBUG = $(
ac_
DEBUGSWITCH)\; && \
echo public static final boolean PRODUCT = $(
ac_
PRODUCTSWITCH)\; && \
echo \} \
) > $@
.DEFAULT_GOAL
:=
all
.PHONY
:
all
all
:
\
org/openoffice/java/accessibility/Build.java
# vim: set ts=4 sw=4 et:
accessibility/
bridge/source/java/Makefile
→
accessibility/
CustomTarget_bridge_inc.mk
Dosyayı görüntüle @
05872335
...
...
@@ -25,19 +25,17 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
gb_PARTIALBUILD
:=
T
include
$(GBUILDDIR)/gbuild.mk
$(eval $(call gb_CustomTarget_CustomTarget,accessibility/bridge/inc,new_style))
TARGETDIR
:=
$(WORKDIR)
/CustomTarget/accessibility/bridge/inc
ACBI := $(call gb_CustomTarget_get_workdir,accessibility/bridge/inc)
$(TARGETDIR)/WindowsAccessBridgeAdapter.h
:
mkdir
-p
$
(
dir
$@
)
&&
\
cd
$
(
call gb_JavaClassSet_get_classdir,
$
(
call gb_Jar_get_classsetname,java_uno_accessbridge
))
&&
\
javah
-classpath
.
-o
$
(
call gb_Helper_convert_native,
$@
)
org.openoffice.accessibility.WindowsAccessBridgeAdapter
$(call gb_CustomTarget_get_target,accessibility/bridge/inc) : \
$(ACBI)/WindowsAccessBridgeAdapter.h
.DEFAULT_GOAL
:=
all
.PHONY
:
all
all
:
\
$(TARGETDIR)/WindowsAccessBridgeAdapter.h
$(ACBI)/WindowsAccessBridgeAdapter.h :| $(ACBI)/.dir \
$(call gb_Jar_get_target,java_uno_accessbridge)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),JVH,1)
cd $(call gb_JavaClassSet_get_classdir,$(call gb_Jar_get_classsetname,java_uno_accessbridge)) && \
javah -classpath . -o $(call gb_Helper_convert_native,$@) org.openoffice.accessibility.WindowsAccessBridgeAdapter
# vim: set ts=4 sw=4 et:
accessibility/Jar_accessibility.mk
Dosyayı görüntüle @
05872335
...
...
@@ -87,9 +87,4 @@ $(eval $(call gb_Jar_add_generated_sourcefiles,java_accessibility,\
CustomTarget/accessibility/bridge/org/openoffice/java/accessibility/Build \
))
# Dummy dep. to satisfy make's depsolver: .../classes is created by a
# custom target, so there is no dependency information for it here.
# It also makes sure that the package is built before this jar .-)
$(WORKDIR)/CustomTarget/accessibility/bridge/org/openoffice/java/accessibility/Build.java :| $(call gb_Package_get_target,accessibility_bridge)
# vim:set shiftwidth=4 softtabstop=4 expandtab:
accessibility/Library_java_uno_accessbridge.mk
Dosyayı görüntüle @
05872335
...
...
@@ -27,14 +27,7 @@
$(eval $(call gb_Library_Library,java_uno_accessbridge))
$(eval $(call gb_Library_add_package_headers,java_uno_accessbridge,\
accessibility_bridge_inc \
))
$(eval $(call gb_Library_set_include,java_uno_accessbridge,\
$$(INCLUDE) \
-I$(WORKDIR)/CustomTarget/accessibility/bridge/inc \
))
$(eval $(call gb_Library_add_custom_headers,java_uno_accessbridge,accessibility/bridge/inc))
$(eval $(call gb_Library_add_api,java_uno_accessbridge,\
offapi \
...
...
accessibility/Module_accessibility.mk
Dosyayı görüntüle @
05872335
...
...
@@ -35,11 +35,11 @@ $(eval $(call gb_Module_add_targets,accessibility,\
ifneq ($(SOLAR_JAVA),)
ifeq ($(OS),WNT)
$(eval $(call gb_Module_add_targets,accessibility,\
CustomTarget_bridge \
CustomTarget_bridge_inc \
Jar_accessibility \
Jar_uno_accessbridge \
Library_java_uno_accessbridge \
Package_bridge \
Package_bridge_inc \
))
endif
endif
...
...
accessibility/Package_bridge.mk
deleted
100644 → 0
Dosyayı görüntüle @
7b3f37f8
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2010 Red Hat, Inc., David Tardon <dtardon@redhat.com>
# (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Package_Package,accessibility_bridge,$(WORKDIR)/CustomTarget/accessibility/bridge))
$(eval $(call gb_Package_add_customtarget,accessibility_bridge,accessibility/bridge))
# vim:set shiftwidth=4 softtabstop=4 expandtab:
accessibility/Package_bridge_inc.mk
deleted
100644 → 0
Dosyayı görüntüle @
7b3f37f8
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2010 Red Hat, Inc., David Tardon <dtardon@redhat.com>
# (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Package_Package,accessibility_bridge_inc,$(WORKDIR)/CustomTarget/accessibility/bridge/inc))
$(eval $(call gb_Package_add_customtarget,accessibility_bridge_inc,accessibility/bridge/source/java))
$(eval $(call gb_CustomTarget_add_outdir_dependencies,accessibility/bridge/source/java,\
$(call gb_JavaClassSet_get_target,$(call gb_Jar_get_classsetname,java_uno_accessbridge)) \
))
# vim:set shiftwidth=4 softtabstop=4 expandtab:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment