~ubuntu-branches/ubuntu/edgy/sope/edgy

« back to all changes in this revision

Viewing changes to gnustep-make/Master/java.make

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Ley
  • Date: 2005-08-19 16:53:31 UTC
  • Revision ID: james.westby@ubuntu.com-20050819165331-hs683wz1osm708pw
Tags: upstream-4.4rc.2
ImportĀ upstreamĀ versionĀ 4.4rc.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
#   Master/java.make
 
3
#
 
4
#   Master Makefile rules to build java-based (not necessarily
 
5
#   GNUstep) packages.  
 
6
#
 
7
#   Copyright (C) 2000 Free Software Foundation, Inc.
 
8
#
 
9
#   Author:  Nicola Pero <nicola@brainstorm.co.uk> 
 
10
#
 
11
#   This file is part of the GNUstep Makefile Package.
 
12
#
 
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.
 
17
#   
 
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.
 
22
 
 
23
ifeq ($(RULES_MAKE_LOADED),)
 
24
include $(GNUSTEP_MAKEFILES)/rules.make
 
25
endif
 
26
 
 
27
JAVA_PACKAGE_NAME := $(strip $(JAVA_PACKAGE_NAME))
 
28
 
 
29
internal-all:: $(JAVA_PACKAGE_NAME:=.all.java-package.variables)
 
30
 
 
31
internal-install:: $(JAVA_PACKAGE_NAME:=.install.java-package.variables)
 
32
 
 
33
internal-uninstall:: $(JAVA_PACKAGE_NAME:=.uninstall.java-package.variables)
 
34
 
 
35
internal-clean:: $(JAVA_PACKAGE_NAME:=.clean.java-package.variables)
 
36
 
 
37
internal-distclean::
 
38
 
 
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)
 
42
endif
 
43
 
 
44
$(JAVA_PACKAGE_NAME):
 
45
        @$(MAKE) -f $(MAKEFILE_NAME) --no-print-directory \
 
46
                $@.all.java-package.variables