2010-02-12 08:55:56 +00:00
|
|
|
# -*-makefile-*-
|
2002-02-08 12:13:21 +00:00
|
|
|
# Master/java.make
|
|
|
|
#
|
|
|
|
# Master Makefile rules to build java-based (not necessarily
|
|
|
|
# GNUstep) packages.
|
|
|
|
#
|
|
|
|
# Copyright (C) 2000 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# Author: Nicola Pero <nicola@brainstorm.co.uk>
|
|
|
|
#
|
|
|
|
# This file is part of the GNUstep Makefile Package.
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
2007-10-30 14:18:41 +00:00
|
|
|
# as published by the Free Software Foundation; either version 3
|
2002-02-08 12:13:21 +00:00
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public
|
2007-07-13 10:11:48 +00:00
|
|
|
# License along with this library; see the file COPYING.
|
2002-02-08 12:13:21 +00:00
|
|
|
# If not, write to the Free Software Foundation,
|
2005-05-22 03:20:14 +00:00
|
|
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2002-02-08 12:13:21 +00:00
|
|
|
|
|
|
|
ifeq ($(RULES_MAKE_LOADED),)
|
|
|
|
include $(GNUSTEP_MAKEFILES)/rules.make
|
|
|
|
endif
|
|
|
|
|
2002-02-20 13:08:27 +00:00
|
|
|
JAVA_PACKAGE_NAME := $(strip $(JAVA_PACKAGE_NAME))
|
2002-02-08 12:13:21 +00:00
|
|
|
|
2014-12-21 07:16:04 +00:00
|
|
|
|
Implemented parallel building of multiple instances of apps, bundles, libraries, ctools, clibraries, test-tools, test-apps, test-libraries, services, palettes, gswbundles, gswapps
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@29577 72102866-910b-0410-8b05-ffd578937521
2010-02-12 10:46:32 +00:00
|
|
|
# Parallel building here is probably of little help since most
|
|
|
|
# GNUmakefiles will have a single java package. There is no point in
|
|
|
|
# having more than one.
|
2002-02-08 12:13:21 +00:00
|
|
|
internal-all:: $(JAVA_PACKAGE_NAME:=.all.java-package.variables)
|
|
|
|
|
2014-12-21 07:16:04 +00:00
|
|
|
internal-jar:: $(JAVA_PACKAGE_NAME:=.jar.java-package.variables)
|
|
|
|
|
2002-02-08 12:13:21 +00:00
|
|
|
internal-install:: $(JAVA_PACKAGE_NAME:=.install.java-package.variables)
|
|
|
|
|
|
|
|
internal-uninstall:: $(JAVA_PACKAGE_NAME:=.uninstall.java-package.variables)
|
|
|
|
|
|
|
|
internal-clean:: $(JAVA_PACKAGE_NAME:=.clean.java-package.variables)
|
|
|
|
|
2002-10-16 03:30:58 +00:00
|
|
|
internal-distclean::
|
|
|
|
|
|
|
|
JAVA_PACKAGES_WITH_SUBPROJECTS = $(strip $(foreach java-package,$(JAVA_PACKAGE_NAME),$(patsubst %,$(java-package),$($(java-package)_SUBPROJECTS))))
|
|
|
|
ifneq ($(JAVA_PACKAGES_WITH_SUBPROJECTS),)
|
|
|
|
internal-distclean:: $(JAVA_PACKAGES_WITH_SUBPROJECTS:=.distclean.java-package.subprojects)
|
|
|
|
endif
|
2002-02-08 12:13:21 +00:00
|
|
|
|
|
|
|
$(JAVA_PACKAGE_NAME):
|
2010-02-14 23:13:47 +00:00
|
|
|
$(ECHO_NOTHING_RECURSIVE_MAKE)$(MAKE) -f $(MAKEFILE_NAME) --no-print-directory $@.all.java-package.variables$(END_ECHO_RECURSIVE_MAKE)
|