| 1 |
# ************** <auto-copyright.pl BEGIN do not edit this line> ************** |
|---|
| 2 |
# |
|---|
| 3 |
# VR Juggler is (C) Copyright 1998-2007 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 |
.NOTPARALLEL: Makefile |
|---|
| 28 |
|
|---|
| 29 |
default: debug ; |
|---|
| 30 |
|
|---|
| 31 |
srcdir= @srcdir@ |
|---|
| 32 |
top_srcdir= @top_srcdir@ |
|---|
| 33 |
|
|---|
| 34 |
CONFIGURE_ARGS= @CONFIGURE_ARGS@ |
|---|
| 35 |
CFG_SHELL= @CFG_SHELL@ |
|---|
| 36 |
DEPS= vapor jackal gadgeteer |
|---|
| 37 |
VERSION_FILES= $(foreach dep,$(DEPS),$(srcdir)/../../$(dep)/VERSION) |
|---|
| 38 |
|
|---|
| 39 |
DPP_CFG_DIR= $(top_srcdir)/Doozer++/config |
|---|
| 40 |
DPP_PKG_DIR= $(top_srcdir)/Doozer++/config/pkgs |
|---|
| 41 |
VJ_M4_DIR= $(top_srcdir)/macros |
|---|
| 42 |
|
|---|
| 43 |
DPP_CFG_DEPS= abi.m4 basic_progs.m4 cplusplus.m4 gcc.m4 general.m4 \ |
|---|
| 44 |
install.m4 linker.m4 perl.m4 sys.m4 win32.m4 |
|---|
| 45 |
VJ_M4_DEPS= gadget.m4 vpr.m4 vrj-helpers.m4 |
|---|
| 46 |
|
|---|
| 47 |
M4_DEPS= $(addprefix $(DPP_CFG_DIR)/, $(DPP_CFG_DEPS)) \ |
|---|
| 48 |
$(addprefix $(VJ_M4_DIR)/, $(VJ_M4_DEPS)) |
|---|
| 49 |
|
|---|
| 50 |
vpath configure $(srcdir) |
|---|
| 51 |
vpath %.ac $(srcdir) |
|---|
| 52 |
vpath %.in $(srcdir) |
|---|
| 53 |
|
|---|
| 54 |
# These are necessary to deal with the last-resort rule at the end of the file. |
|---|
| 55 |
Makefile.pre: ; |
|---|
| 56 |
configure.ac: ; |
|---|
| 57 |
Makefile.in: ; |
|---|
| 58 |
Makefile.inc.in: ; |
|---|
| 59 |
make.defs.mk.in: ; |
|---|
| 60 |
$(M4_DEPS): ; |
|---|
| 61 |
$(VERSION_FILES): ; |
|---|
| 62 |
|
|---|
| 63 |
configure: configure.ac $(M4_DEPS) |
|---|
| 64 |
cd $(srcdir) && ./autogen.sh |
|---|
| 65 |
|
|---|
| 66 |
config.status: configure ; |
|---|
| 67 |
|
|---|
| 68 |
Makefile: configure config.status Makefile.in Makefile.inc.in \ |
|---|
| 69 |
make.defs.mk.in $(VERSION_FILES) |
|---|
| 70 |
$(CFG_SHELL) $(srcdir)/configure $(CONFIGURE_ARGS) |
|---|
| 71 |
@$(MAKE) -f Makefile cleandepend |
|---|
| 72 |
|
|---|
| 73 |
%:: Makefile |
|---|
| 74 |
@$(MAKE) -f Makefile $@ |
|---|