summaryrefslogtreecommitdiff
path: root/ridljar/javamaker
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-12-23 13:32:50 +0100
committerDavid Tardon <dtardon@redhat.com>2011-12-23 14:12:31 +0100
commit0659148988041764ee567a0199627beb5b5f4cb4 (patch)
tree4a813d378468159780d12956196bb88b13c6e639 /ridljar/javamaker
parent061c9518cd3e71212200a190edd25fa03518759e (diff)
gbuildize ridljar
Diffstat (limited to 'ridljar/javamaker')
-rw-r--r--ridljar/javamaker/Makefile38
-rw-r--r--ridljar/javamaker/makefile.mk46
2 files changed, 38 insertions, 46 deletions
diff --git a/ridljar/javamaker/Makefile b/ridljar/javamaker/Makefile
new file mode 100644
index 000000000000..6c818c6cff1c
--- /dev/null
+++ b/ridljar/javamaker/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.
+
+gb_PARTIALBUILD := T
+include $(GBUILDDIR)/gbuild_simple.mk
+
+done : $(OUTDIR)/bin/udkapi.rdb
+ $(call gb_Helper_execute,javamaker -BUCR -O./class $<) && touch $@
+
+.DEFAULT_GOAL := all
+.PHONY : all
+all : done
+
+# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/ridljar/javamaker/makefile.mk b/ridljar/javamaker/makefile.mk
deleted file mode 100644
index cf4e70d38c87..000000000000
--- a/ridljar/javamaker/makefile.mk
+++ /dev/null
@@ -1,46 +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 := ridljar
-TARGET := javamaker
-
-.INCLUDE: settings.mk
-
-RDB = $(SOLARBINDIR)$/udkapi.rdb
-
-.INCLUDE: target.mk
-
-.IF "$(SOLAR_JAVA)" != ""
-
-ALLTAR: $(MISC)$/javamaker.done
-
-$(MISC)$/javamaker.done .ERRREMOVE: $(RDB)
- $(JAVAMAKER) -BUCR -O$(CLASSDIR) $<
- $(TOUCH) $@
-
-.ENDIF