4
# Master Makefile rules to build java-based (not necessarily
7
# Copyright (C) 2000 Free Software Foundation, Inc.
9
# Author: Nicola Pero <nicola@brainstorm.co.uk>
11
# This file is part of the GNUstep Makefile Package.
13
# This library is free software; you can redistribute it and/or
14
# modify it under the terms of the GNU General Public License
15
# as published by the Free Software Foundation; either version 2
16
# of the License, or (at your option) any later version.
18
# You should have received a copy of the GNU General Public
19
# License along with this library; see the file COPYING.LIB.
20
# If not, write to the Free Software Foundation,
21
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23
ifeq ($(RULES_MAKE_LOADED),)
24
include $(GNUSTEP_MAKEFILES)/rules.make
27
JAVA_PACKAGE_NAME := $(strip $(JAVA_PACKAGE_NAME))
29
internal-all:: $(JAVA_PACKAGE_NAME:=.all.java-package.variables)
31
internal-install:: $(JAVA_PACKAGE_NAME:=.install.java-package.variables)
33
internal-uninstall:: $(JAVA_PACKAGE_NAME:=.uninstall.java-package.variables)
35
internal-clean:: $(JAVA_PACKAGE_NAME:=.clean.java-package.variables)
39
JAVA_PACKAGES_WITH_SUBPROJECTS = $(strip $(foreach java-package,$(JAVA_PACKAGE_NAME),$(patsubst %,$(java-package),$($(java-package)_SUBPROJECTS))))
40
ifneq ($(JAVA_PACKAGES_WITH_SUBPROJECTS),)
41
internal-distclean:: $(JAVA_PACKAGES_WITH_SUBPROJECTS:=.distclean.java-package.subprojects)
45
@$(MAKE) -f $(MAKEFILE_NAME) --no-print-directory \
46
$@.all.java-package.variables