root/juggler/tags/2.0_beta_1/Makefile.in

Revision 16372, 2.6 kB (checked in by patrickh, 4 years ago)

New feature: Users no longer have to keep track of when to run

autogen.sh or when to run configure in a module directory.

Refactor: The so-called "global build" now works much more like an

automation wrapper around the builds in the individual
module subdirectories. It is still a little too invasive,
but it is better than before.

Bug fixed: The *-config scripts could incorrectly report their

installation path if the corresponding $…_BASE_DIR
environment variable was set incorrectly but the -config
script was in the user's path. This was a side effect of
a hack introduced into the *-config scripts to allow them
to function properly within the scope of the global build.
That hack has been removed.

As noted above, this change makes the global build behave more like a
wrapper for automating the process of configurin gand building the
individual Juggler Suite modules than it did before. Now, each module
is conifgured and compiled in turn rather than having the configure.pl
wrapper script run all the configure scripts first. Making this change
allowed me to remove some hacks from the build process, and it increases
the automation of building Juggler. There is more information about this
in the vrjuggler-devel thread rooted here:

http://sourceforge.net/mailarchive/forum.php?thread_id=6119126&forum_id=3574

Approved by: A week's worth of silence on vrjuggler-devel

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 # ************** <auto-copyright.pl BEGIN do not edit this line> **************
2 #
3 # VR Juggler is (C) Copyright 1998-2003 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 # -----------------------------------------------------------------
26 # File:          $RCSfile$
27 # Date modified: $Date$
28 # Version:       $Revision$
29 # -----------------------------------------------------------------
30 #
31 # *************** <auto-copyright.pl END do not edit this line> ***************
32
33 default: debug
34
35 bindir=         @bindir@
36 datadir=        @datadir@
37 exec_prefix=    @exec_prefix@
38 libdir=         @libdir@
39 libexecdir=     @libexecdir@
40 prefix=         @prefix@
41 releasedir=     $(JUGGLERROOT_ABS)/release
42 sbindir=        @sbindir@
43 scriptdir=      $(releasedir)/scripts
44 srcdir=         @srcdir@
45 sysconfdir=     @sysconfdir@
46 topdir=         @topdir@
47
48 MAKEFLAGS+=     --no-print-directory
49 JUGGLERROOT_ABS=@JUGGLERROOT_ABS@
50
51 #@SET_MAKE@
52
53 DIRS=           @JUGGLER_PROJECTS@
54
55 debug dbg dbg-dso optim opt opt-dso profiled prof prof-dso release      \
56 world install-debug install-optim install-profiled links clean-links:
57         $(MAKE) GLOBAL_BUILD=1 RECTARGET="$@"                           \
58           instlinks="$(topdir)/instlinks" recursive
59
60 build buildworld:
61         $(MAKE) GLOBAL_BUILD=1 RECTARGET="buildworld"                   \
62           instlinks="$(topdir)/instlinks" recursive
63
64 install installworld:
65         $(MAKE) GLOBAL_BUILD=1 RECTARGET="installworld" recursive
66
67 install-deps:
68         $(MAKE) -C external $@
69
70 regen:
71         @for dir in $(DIRS) ; do                \
72             (cd $$dir && ./config.status) ;     \
73           done
74
75 clobber:
76         $(MAKE) GLOBAL_BUILD=1 RECTARGET="$@" recursive
77         rm -rf instlinks
78
79 clean cleandepend:
80         $(MAKE) GLOBAL_BUILD=1 RECTARGET="$@" recursive
81
82 recursive:
83         @for dir in $(DIRS) ; do \
84             echo "=====> $$dir" ; \
85             PATH="$(topdir)/instlinks/bin":$$PATH $(MAKE) -C $$dir -f Makefile.pre $(RECTARGET) || exit 1; \
86             echo "<===== $$dir" ; \
87           done
Note: See TracBrowser for help on using the browser.