| 1 |
# ************** <auto-copyright.pl BEGIN do not edit this line> ************** |
|---|
| 2 |
# |
|---|
| 3 |
# VR Juggler is (C) Copyright 1998-2008 by Iowa State University |
|---|
| 4 |
# |
|---|
| 5 |
# Original Authors: |
|---|
| 6 |
# Allen Bierbaum, Christopher Just, |
|---|
| 7 |
# Patrick Hartling, Kevin Meinert, |
|---|
| 8 |
# Carolina Cruz-Neira, Albert Baker |
|---|
| 9 |
# |
|---|
| 10 |
# This library is free software; you can redistribute it and/or |
|---|
| 11 |
# modify it under the terms of the GNU Library General Public |
|---|
| 12 |
# License as published by the Free Software Foundation; either |
|---|
| 13 |
# version 2 of the License, or (at your option) any later version. |
|---|
| 14 |
# |
|---|
| 15 |
# This library is distributed in the hope that it will be useful, |
|---|
| 16 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 17 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 18 |
# Library General Public License for more details. |
|---|
| 19 |
# |
|---|
| 20 |
# You should have received a copy of the GNU Library General Public |
|---|
| 21 |
# License along with this library; if not, write to the |
|---|
| 22 |
# Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
|---|
| 23 |
# Boston, MA 02111-1307, USA. |
|---|
| 24 |
# |
|---|
| 25 |
# *************** <auto-copyright.pl END do not edit this line> *************** |
|---|
| 26 |
|
|---|
| 27 |
.PHONY: release |
|---|
| 28 |
|
|---|
| 29 |
default: debug |
|---|
| 30 |
|
|---|
| 31 |
bindir= @bindir@ |
|---|
| 32 |
datadir= @datadir@ |
|---|
| 33 |
exec_prefix= @exec_prefix@ |
|---|
| 34 |
libdir= @libdir@ |
|---|
| 35 |
libexecdir= @libexecdir@ |
|---|
| 36 |
prefix= @prefix@ |
|---|
| 37 |
releasedir= $(JUGGLERROOT_ABS)/release |
|---|
| 38 |
sbindir= @sbindir@ |
|---|
| 39 |
scriptdir= $(releasedir)/scripts |
|---|
| 40 |
srcdir= @srcdir@ |
|---|
| 41 |
sysconfdir= @sysconfdir@ |
|---|
| 42 |
topdir= @topdir@ |
|---|
| 43 |
|
|---|
| 44 |
MAKEFLAGS+= --no-print-directory |
|---|
| 45 |
JUGGLERROOT_ABS=@JUGGLERROOT_ABS@ |
|---|
| 46 |
|
|---|
| 47 |
#@SET_MAKE@ |
|---|
| 48 |
|
|---|
| 49 |
DIRS= @JUGGLER_PROJECTS@ |
|---|
| 50 |
|
|---|
| 51 |
debug dbg dbg-dso optim opt opt-dso profiled prof prof-dso release \ |
|---|
| 52 |
world world-all-abi all-abi install-all-abi install-debug install-optim \ |
|---|
| 53 |
install-profiled links clean-links: |
|---|
| 54 |
$(MAKE) GLOBAL_BUILD=1 RECTARGET="$@" \ |
|---|
| 55 |
instlinks="$(topdir)/instlinks" recursive |
|---|
| 56 |
|
|---|
| 57 |
build buildworld: |
|---|
| 58 |
$(MAKE) GLOBAL_BUILD=1 RECTARGET="buildworld" \ |
|---|
| 59 |
instlinks="$(topdir)/instlinks" recursive |
|---|
| 60 |
|
|---|
| 61 |
install installworld: |
|---|
| 62 |
$(MAKE) GLOBAL_BUILD=1 RECTARGET="installworld" recursive |
|---|
| 63 |
|
|---|
| 64 |
regen: |
|---|
| 65 |
@for dir in $(DIRS) ; do \ |
|---|
| 66 |
(cd $$dir && ./config.status) ; \ |
|---|
| 67 |
done |
|---|
| 68 |
|
|---|
| 69 |
clobber: |
|---|
| 70 |
$(MAKE) GLOBAL_BUILD=1 RECTARGET="$@" recursive |
|---|
| 71 |
rm -rf instlinks |
|---|
| 72 |
|
|---|
| 73 |
clean cleandepend: |
|---|
| 74 |
$(MAKE) GLOBAL_BUILD=1 RECTARGET="$@" recursive |
|---|
| 75 |
|
|---|
| 76 |
recursive: |
|---|
| 77 |
@for dir in $(DIRS) ; do \ |
|---|
| 78 |
echo "=====> $$dir" ; \ |
|---|
| 79 |
PATH="$(topdir)/instlinks/bin":$$PATH $(MAKE) -C $$dir -f Makefile.pre $(RECTARGET) || exit 1; \ |
|---|
| 80 |
echo "<===== $$dir" ; \ |
|---|
| 81 |
done |
|---|