1997-09-16 01:07:48 +00:00
|
|
|
#
|
|
|
|
# aggregate.make
|
|
|
|
#
|
|
|
|
# Makefile rules to build a set of GNUstep-base subprojects.
|
|
|
|
#
|
|
|
|
# Copyright (C) 1997 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# Author: Scott Christley <scottc@net-community.com>
|
1997-10-06 03:58:06 +00:00
|
|
|
# Author: Ovidiu Predescu <ovidiu@net-community.com>
|
1997-09-16 01:07:48 +00:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public
|
|
|
|
# License along with this library; see the file COPYING.LIB.
|
|
|
|
# If not, write to the Free Software Foundation,
|
|
|
|
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
1997-11-14 22:50:41 +00:00
|
|
|
# prevent multiple inclusions
|
|
|
|
ifeq ($(AGGREGATE_MAKE_LOADED),)
|
|
|
|
AGGREGATE_MAKE_LOADED=yes
|
|
|
|
|
1997-09-16 01:07:48 +00:00
|
|
|
#
|
|
|
|
# Include in the common makefile rules
|
|
|
|
#
|
1998-02-06 19:15:05 +00:00
|
|
|
include $(GNUSTEP_MAKEFILES)/rules.make
|
1997-09-16 01:07:48 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The list of directory names with the subprojects
|
|
|
|
# are in the makefile variable SUBPROJECTS
|
|
|
|
#
|
1999-02-15 09:20:19 +00:00
|
|
|
SUBPROJECTS:=$(strip $(SUBPROJECTS))
|
1997-09-16 01:07:48 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Internal targets
|
|
|
|
#
|
1997-09-26 01:16:38 +00:00
|
|
|
internal-all internal-install internal-uninstall internal-clean \
|
|
|
|
internal-distclean internal-check::
|
1998-12-20 21:27:47 +00:00
|
|
|
@target=`echo $@ | sed 's/internal-//'`; \
|
1997-09-26 01:16:38 +00:00
|
|
|
for f in $(SUBPROJECTS); do \
|
1998-12-20 21:27:47 +00:00
|
|
|
echo Making $$target in $$f...; \
|
|
|
|
mf=$(MAKEFILE_NAME); \
|
|
|
|
if [ ! -f $$f/$$mf -a -f $$f/Makefile ]; then \
|
|
|
|
mf=Makefile; \
|
|
|
|
echo "WARNING: No $(MAKEFILE_NAME) found for subproject $$f; using 'Makefile'"; \
|
|
|
|
fi; \
|
|
|
|
if $(MAKE) -C $$f -f $$mf --no-keep-going $$target; then \
|
1998-12-21 15:07:10 +00:00
|
|
|
:; else exit $$?; \
|
1998-12-07 16:23:04 +00:00
|
|
|
fi; \
|
1998-12-20 21:27:47 +00:00
|
|
|
done
|
1997-11-14 22:50:41 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
# aggregate.make loaded
|
1998-05-28 06:56:11 +00:00
|
|
|
|
|
|
|
## Local variables:
|
|
|
|
## mode: makefile
|
|
|
|
## End:
|