diff options
author | David Tardon <dtardon@redhat.com> | 2012-02-17 08:34:22 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-02-17 08:34:22 +0100 |
commit | 096f2b849c08dc6890b548621b9a19dd78661e6a (patch) | |
tree | bd1b1951882f28924706c3cc74481cd5534bd132 /jvmfwk/plugins | |
parent | 00e26baaf5cca36a7e78036aa5694196ccbf7402 (diff) | |
parent | 144390821535d03735819d229e5ec397972b2436 (diff) |
merge feature/gbuild_java
Diffstat (limited to 'jvmfwk/plugins')
-rwxr-xr-x | jvmfwk/plugins/sunmajor/javaenvsetup/makefile.mk | 56 | ||||
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/Makefile | 38 | ||||
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/makefile.mk | 120 |
3 files changed, 38 insertions, 176 deletions
diff --git a/jvmfwk/plugins/sunmajor/javaenvsetup/makefile.mk b/jvmfwk/plugins/sunmajor/javaenvsetup/makefile.mk deleted file mode 100755 index 8e4a79581327..000000000000 --- a/jvmfwk/plugins/sunmajor/javaenvsetup/makefile.mk +++ /dev/null @@ -1,56 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/..$/.. - -PRJNAME=javaldx -TARGET=javaldx -TARGETTYPE=CUI -NO_DEFAULT_STL=TRUE -LIBTARGET=NO -ENABLE_EXCEPTIONS=true - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -# --- Files -------------------------------------------------------- - -.IF "$(OS)" != "MACOSX" && "$(SOLAR_JAVA)" != "" - -OBJFILES=$(OBJ)$/javaldx.obj - -APP1TARGET=javaldx -APP1OBJS=$(OBJFILES) -APP1STDLIBS=$(SALLIB) $(JVMFWKLIB) -APP1RPATH=UREBIN - -.ENDIF - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk diff --git a/jvmfwk/plugins/sunmajor/pluginlib/Makefile b/jvmfwk/plugins/sunmajor/pluginlib/Makefile new file mode 100644 index 000000000000..b190038ef79c --- /dev/null +++ b/jvmfwk/plugins/sunmajor/pluginlib/Makefile @@ -0,0 +1,38 @@ +# -*- 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. + +include $(GBUILDDIR)/gbuild.mk + +JREProperties.class : $(SRCDIR)/jvmfwk/plugins/sunmajor/pluginlib/JREProperties.java + $(call gb_Helper_abbreviate_dirs_native, \ + $(gb_JavaClassSet_JAVACCOMMAND) $(gb_JavaClassSet_JAVACDEBUG) -d $(dir $@) $^) + +.DEFAULT_GOAL := all +.PHONY : all +all : JREProperties.class + +# vim:set shiftwidth=4 tabstop=4 noexpandtab: diff --git a/jvmfwk/plugins/sunmajor/pluginlib/makefile.mk b/jvmfwk/plugins/sunmajor/pluginlib/makefile.mk deleted file mode 100644 index 03c4f58e37d8..000000000000 --- a/jvmfwk/plugins/sunmajor/pluginlib/makefile.mk +++ /dev/null @@ -1,120 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* -PRJ=..$/..$/.. - -PRJNAME= jvmfwk -TARGET = plugin -ENABLE_EXCEPTIONS=TRUE -LIBTARGET=NO -UNOCOMPONENT1=sunjavaplugin - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk -DLLPRE = - -.IF "$(VALGRIND_CFLAGS)" != "" -CDEFS += -DHAVE_VALGRIND_H -CFLAGS += $(VALGRIND_CFLAGS) -.END - -# ------------------------------------------------------------------ - -.IF "$(SOLAR_JAVA)"!="" - -SLOFILES= \ - $(SLO)$/sunversion.obj \ - $(SLO)$/sunjavaplugin.obj \ - $(SLO)$/vendorbase.obj \ - $(SLO)$/util.obj \ - $(SLO)$/sunjre.obj \ - $(SLO)$/gnujre.obj \ - $(SLO)$/vendorlist.obj \ - $(SLO)$/otherjre.obj - -LIB1OBJFILES= $(SLOFILES) - -LIB1TARGET=$(SLB)$/$(UNOCOMPONENT1).lib - -SHL1TARGET=$(ENFORCEDSHLPREFIX)$(UNOCOMPONENT1) - - -SHL1STDLIBS= \ - $(CPPUHELPER) \ - $(CPPULIB) \ - $(SALHELPERLIB) \ - $(SALLIB) - -.IF "$(OS)" == "ANDROID" -SHL1STDLIBS+=-llo-bootstrap -.ENDIF - -.IF "$(GUI)" == "WNT" -.IF "$(COM)"!="GCC" -SHL1STDLIBS += uwinapi.lib advapi32.lib -.ELSE -SHL1STDLIBS += -luwinapi -ladvapi32 -.ENDIF # GCC -.ENDIF #WNT - -.IF "$(JVM_ONE_PATH_CHECK)" != "" -CFLAGS += -DJVM_ONE_PATH_CHECK=\"$(JVM_ONE_PATH_CHECK)\" -.ENDIF - -SHL1VERSIONMAP = sunjavaplugin.map -SHL1DEPN= -SHL1IMPLIB= i$(UNOCOMPONENT1) -SHL1LIBS= $(LIB1TARGET) -SHL1DEF= $(MISC)$/$(SHL1TARGET).def -DEF1NAME= $(SHL1TARGET) -SHL1RPATH= URELIB - -JAVACLASSFILES= \ - $(CLASSDIR)$/JREProperties.class - -JAVAFILES = $(subst,$(CLASSDIR)$/, $(subst,.class,.java $(JAVACLASSFILES))) - -.ENDIF # SOLAR_JAVA - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk - -.IF "$(GUI)"=="WNT" -BOOTSTRAPFILE=$(BIN)$/sunjavaplugin.ini -.ELSE -BOOTSTRAPFILE=$(BIN)$/sunjavapluginrc -.ENDIF - - -$(BOOTSTRAPFILE): sunjavapluginrc - -$(COPY) $< $@ - - -ALLTAR: \ - $(BOOTSTRAPFILE) - |