head	1.29;
access;
symbols
	TIGRIS_1_1_0RC2:1.22.6.1.2.1
	TIGRIS_1_1_0RC1:1.22.6.1.2.1
	TIGRIS_1_1:1.22.6.1.0.2
	TIGRIS_1_0_8:1.22.6.1
	TIGRIS_1_0_8RC3:1.22.6.1
	TIGRIS_1_0_8RC2:1.22.6.1
	TIGRIS_1_0_8RC1:1.22.6.1
	TIGRIS_1_0_7:1.22.6.1
	TIGRIS_1_0_7RC3:1.22.6.1
	TIGRIS_1_0_7RC2:1.22.6.1
	TIGRIS_1_0_7RC1:1.22.6.1
	TIGRIS_1_0_6:1.22.6.1
	TIGRIS_1_0_6RC5:1.22.6.1
	TIGRIS_1_0_6RC4:1.22.6.1
	TIGRIS_1_0_6RC3:1.22.6.1
	TIGRIS_1_0_6RC2:1.22.6.1
	TIGRIS_1_0_6RC1:1.22.6.1
	TIGRIS_1_0_5:1.22.6.1
	TIGRIS_1_0_5RC6:1.22.6.1
	TIGRIS_1_0_5RC5:1.22.6.1
	TIGRIS_1_0_5RC4:1.22.6.1
	TIGRIS_1_0_5RC3:1.22.6.1
	TIGRIS_1_0_5RC2:1.22.6.1
	TIGRIS_1_0_5RC1:1.22.6.1
	TIGRIS_1_0_4:1.22.6.1
	TIGRIS_1_0_3:1.22.6.1
	TIGRIS_1_0_2:1.22.6.1
	TIGRIS_1_0_1:1.22
	TIGRIS_1_0:1.22.0.6
	TIGRIS_1_0_0:1.22
	TIGRIS_1_0_0_RC1:1.22.0.2
	HELM_PEER_PORT_BRANCH:1.20.0.2
	TIGRIS_0_9_2_4:1.19
	TIGRIS_0_9_2_3:1.19
	TIGRIS_0_9_2:1.19.0.2
	TIGRIS_0_9_0:1.17.0.2
	TIGRIS_0_8_4:1.15.0.2
	TIGRIS_710_FF:1.9
	TIGRIS_706:1.8
	TIGRIS_SEP_13_2000:1.8.0.2
	TIGRIS_705:1.8
	TIGRIS_704:1.8
	TIGRIS_703:1.8
	TIGRIS_702:1.8
	TIGRIS_701:1.8
	TIGRIS_BASELINE:1.5;
locks; strict;
comment	@# @;


1.29
date	2001.08.03.00.16.27;	author jasonb;	state Exp;
branches;
next	1.28;

1.28
date	2001.07.19.23.10.06;	author dlr;	state Exp;
branches;
next	1.27;

1.27
date	2001.07.19.23.05.00;	author dlr;	state Exp;
branches;
next	1.26;

1.26
date	2001.07.19.22.49.24;	author dlr;	state Exp;
branches;
next	1.25;

1.25
date	2001.07.12.23.54.59;	author stack;	state Exp;
branches;
next	1.24;

1.24
date	2001.04.11.07.26.53;	author lucas;	state Exp;
branches;
next	1.23;

1.23
date	2001.04.10.05.05.51;	author stack;	state Exp;
branches;
next	1.22;

1.22
date	2001.02.23.23.39.30;	author ms;	state Exp;
branches
	1.22.6.1;
next	1.21;

1.21
date	2001.02.21.01.27.54;	author dlr;	state Exp;
branches;
next	1.20;

1.20
date	2001.02.06.18.07.15;	author ms;	state Exp;
branches
	1.20.2.1;
next	1.19;

1.19
date	2001.01.18.05.19.45;	author stack;	state Exp;
branches;
next	1.18;

1.18
date	2001.01.09.23.55.01;	author louis;	state Exp;
branches;
next	1.17;

1.17
date	2000.12.14.18.28.42;	author stack;	state Exp;
branches
	1.17.2.1;
next	1.16;

1.16
date	2000.12.08.02.58.17;	author stack;	state Exp;
branches;
next	1.15;

1.15
date	2000.11.16.19.00.53;	author stack;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	2000.11.15.18.54.23;	author stack;	state Exp;
branches;
next	1.13;

1.13
date	2000.11.13.22.54.39;	author jrobbins;	state Exp;
branches;
next	1.12;

1.12
date	2000.11.13.19.34.35;	author stack;	state Exp;
branches;
next	1.11;

1.11
date	2000.11.10.23.37.53;	author stack;	state Exp;
branches;
next	1.10;

1.10
date	2000.11.07.00.36.16;	author stack;	state Exp;
branches;
next	1.9;

1.9
date	2000.11.01.03.22.10;	author edk;	state Exp;
branches;
next	1.8;

1.8
date	2000.09.29.01.46.14;	author stack;	state Exp;
branches;
next	1.7;

1.7
date	2000.09.29.01.36.47;	author stack;	state Exp;
branches;
next	1.6;

1.6
date	2000.09.28.19.08.56;	author stack;	state Exp;
branches;
next	1.5;

1.5
date	2000.09.27.00.04.36;	author stack;	state Exp;
branches;
next	1.4;

1.4
date	2000.09.26.22.00.42;	author stack;	state Exp;
branches;
next	1.3;

1.3
date	2000.09.26.18.30.50;	author stack;	state Exp;
branches;
next	1.2;

1.2
date	2000.09.26.18.27.20;	author stack;	state Exp;
branches;
next	1.1;

1.1
date	2000.09.21.19.56.49;	author stack;	state Exp;
branches;
next	;

1.15.2.1
date	2001.01.09.23.39.47;	author louis;	state Exp;
branches;
next	;

1.17.2.1
date	2001.01.09.23.52.47;	author louis;	state Exp;
branches;
next	;

1.20.2.1
date	2001.02.09.20.06.51;	author dlr;	state Exp;
branches;
next	;

1.22.6.1
date	2001.04.24.22.28.17;	author stack;	state Exp;
branches
	1.22.6.1.2.1;
next	;

1.22.6.1.2.1
date	2001.08.03.00.34.38;	author jasonb;	state Exp;
branches;
next	;


desc
@@


1.29
log
@Solaris compatibility: Changes to make the system build on Solaris, plus
changed some other scripts so that they explicitly use bash as their
interpreter.
Issue number:
Obtained from:
Submitted by:
Reviewed by:
@
text
@## Sandbox Master Makefile
##
## $Id: Makefile,v 1.28 2001/07/19 23:10:06 dlr Exp $
##
## This make travels subdirectories invoking the target on any subdirectory
## makefiles found.  Always goes to the ${instance}--if defined--
## last. Dirs in between are made willy-nilly order (undefined).
##
## This makefile in its first manifestation is brutal;  The default 
## target does a configure, 'make', 'make install' and a reconfigure.   
## Does this because subdirs made after have dependencies on  what went before.  
## Sub dirs made later look in the ${SANDBOX}/site,  the install target 
## directory, to resolve their dependencies.  Hence the  need for the 
## make install at each step.  We should fix this.  Also should fix
## the fact that we have to call 'make' before the 'make install'.  
## Check that submakes check they've first done a make before they 
## go ahead w/ make install.
##
## Implemented the targets -- all, install, and clean -- from the 
## 'Standard Targets for Users' GNU list: 
##	http://www.gnu.org/manual/make-3.77/html_mono/make.html#SEC117
##
## Used the GNU Make manual writing thisfile: 
##	http://www.gnu.org/manual/make-3.77/html_mono/make.html
##
##


## DEFINES
##
LIBDIR=lib
ANZU=anzu
HELM=helm
EYEBROWSE=eyebrowse
RECONFIGURE=scripts/reconfigure.pl
CONFIGURE=scripts/configure.pl
PATCH_PERMISSIONS=scripts/patch_permissions
TIGRISINST=tigrisinst
SHELL=/bin/bash
export SHELL

# solaris needs: /usr/xpg4/bin/id -u (or putting /usrxpg4/bin 
# first in the path).
ID_CMD=id


# DEFINES
#
# List of all subdirectories that contain Makefiles.
# Uses make built-in shell command: 
#
#	http://www.gnu.org/manual/make-3.77/html_mono/make.html#SEC80
#
# First get all dirs w/ makefiles in them. Then filter this list
# for anzu, and eyebrowse.  Then filter for instance. This is 
# a little ugly because josh lucas turned up an issue
# w/ the filter-out function.  Doesn't work as expected when
# instance is not defined.
#
# Added a all_cvs_dirs for the 'make update' added 11/15/2000.
#
# Default $INSTANCE to 'tigrisint'.

instance := ${INSTANCE}
ifndef instance
	instance := 'tigrisinst'
endif

all_dirs_with_makefiles := $(shell ./scripts/make/list_makefile_dirs.bash )

all_dirs_filtered := $(filter-out %$(EYEBROWSE), \
	$(filter-out %$(ANZU), \
	$(all_dirs_with_makefiles) ) )

ifdef instance
	dirs := $(filter-out %$(instance), $(all_dirs_filtered) )
else
	dirs := $(all_dirs_filtered)
endif

all_cvs_dirs := $(shell ./scripts/make/list_cvs_dirs.bash )



## Default target
##
.PHONY: all
all: sandbox-env configure install reconfigure patch_permissions


## If anzu is present, it is built before helm.  If eyebrowse, it is built
## after helm.  Instance is built last.
## 	
.PHONY: install
install: build-lib build-eyebrowse build-anzu build-dirs build-instance


# Target to run the configure script
#
.PHONY: configure
configure:
	$(SANDBOX)/$(CONFIGURE)


# Target to run the configure script
#
.PHONY: reconfigure
reconfigure:
	$(SANDBOX)/$(RECONFIGURE)


.PHONY: patch_permissions
patch_permissions:
	@@ID=`${ID_CMD} -u`; \
	if [ `id -u` = "0" ] ; then \
		echo running patch_permissions ; \
		$(SANDBOX)/$(PATCH_PERMISSIONS); \
	fi

# Test that SANDBOX is defined.  
# Conditional to test for empty 
# string:  See: http://www.gnu.org/manual/make-3.77/html_mono/make.html#SEC72
# Exit 2 if not. See: 
# http://www.gnu.org/manual/make-3.77/html_mono/make.html#SEC81 
#
.PHONY: sandbox-env
sandbox-env:
ifndef SANDBOX
	@@echo "ERROR: SANDBOX undefined.  Source \$${SANDBOX}/scripts/env.sh"
	@@exit 2
endif


# Test for instance variable.  If not defined, then  we don't know what to 
# build last. If not, set, might be alright.
#
.PHONY: instance-env
instance-env:
ifdef instance
	@@if test ! -d $(SANDBOX)/$(instance); \
	then \
		echo "ERROR: No such directory $(instance) under $(SANDBOX)"; \
	echo "ERROR: $(instance) defined but not checked out under $(SANDBOX)";  \
	exit 2; \
	fi		
endif


# Install lib directory
#
.PHONY: build-lib
build-lib: 
	$(MAKE) install -C $(LIBDIR)

# Build anzu if present
#
.PHONY: build-anzu
build-anzu:
	@@if [ -d $(ANZU) ]; then \
		$(MAKE) -C $(ANZU); \
		$(MAKE) install -C $(ANZU); \
	fi


# Build eyebrowse if present.
# Eyebrowse depends on helm.
# Look for presence of helm
# dir.  If present, assume was
# built as part of build-dirs rule.
#
.PHONY: build-eyebrowse
build-eyebrowse:
	@@if [ -d $(EYEBROWSE) ]; then \
		if [ ! -d $(HELM) ]; then \
			echo "ERROR: $(EYEBROWSE) depends on $(HELM)"; \
			exit 2; \
		fi; \
		$(MAKE) eyebrowse         -C $(HELM); \
		$(MAKE) eyebrowse-install -C $(HELM); \
	fi


# Build the instance
#
.PHONY: build-instance
build-instance: instance-env build-dirs
ifdef instance
	$(MAKE) -C $(instance)
	$(MAKE) install -C $(instance)
endif


# Build all dirs except for those which are filtered out
#
.PHONY: build-dirs
build-dirs: build-anzu
	@@for dir in $(dirs); \
	do \
		$(MAKE) -C $$dir; \
		$(MAKE) install -C $$dir; \
	done
     

# Make update does a pull from cvs on all subdirs.
# Call it when you want to update your sandbox contents.
#
# I can't call 'cvs update -PAd' in the top directory.
# Gives an error if any of the subdirectories have been 
# pulled from other than the sandbox repository (i.e. 
# an instance).  Because of this, update each subdirectory 
# and the current directory.  One disadvantage
# to doing update this way is if a subdirectory is 
# removed from sandbox, our update will not notice 
# the change -- only the 'cvs -PAd' in top directory
# will pick up such additions or removals (The -I
# flag -- ignore file -- does not seem to work having
# it ignore instance).
#
.PHONY: update
update:
	@@for dir in $(all_cvs_dirs); \
	do \
		cd $$dir; \
		echo "UPDATING `pwd`"; \
		cvs update -Pd; \
		cd ..; \
	done 
	cvs update -l


# Make clean
# Its a phony target -- there is no  'clean' .  Explicitly 
# saying it's a PHONY target  saves us some bother (what if  someone
# put a file named 'clean' in this dir).  Makes things run a little 
# faster too.
#
.PHONY: clean
clean:
	@@for dir in $(dirs); \
	do \
		$(MAKE) $@@ -C $$dir; \
	done
	@@if [ -d $(ANZU) ]; then \
		$(MAKE) $@@ -C $(ANZU); \
	fi
	@@if [ -d $(EYEBROWSE) ]; then \
		$(MAKE) $@@ -C $(EYEBROWSE); \
	fi
	@@if [ -d $(instance) ]; then \
		$(MAKE) $@@ -C $(instance); \
	fi
	rm -rf site



# Null-to-do.  Means never up-to-date and so can use
# this target as a dependency for those places
# where we want target to always make.  Better to
# use .PHONY keyword and be explicit about your
# intent:
#  http://www.gnu.org/manual/make-3.77/html_mono/make.html#SEC33
#
FORCE:
@


1.28
log
@Changed handling of tigrisinst.  Previously, it was handled improperly
because original author wasn't aware of the tigrisinst on tigris.org.
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.27 2001/07/19 23:05:00 dlr Exp $
d39 2
d69 1
a69 3
all_dirs_with_makefiles := $(shell find . -type f -mindepth 2 -maxdepth 2 \
	-regex '.*/Makefile' \
	-exec dirname {} \; )
d81 1
a81 4
all_cvs_dirs := $(shell find . -type d -mindepth 2 -maxdepth 2 -path '*/CVS' \
    ! -path '*/log/*' \
    ! -path '*/www/*' \
    -exec dirname {} \; )
@


1.27
log
@Removed extra closing parens accidently and incorrectly left during my
last commit.
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.26 2001/07/19 22:49:24 dlr Exp $
d60 5
a64 8
# Added special handling of tigrisinst.  Treat tigrisinst as
# though no instance defined.  In tigrisinst case, helm is 
# the 'INSTANCE'
# 
ifneq (${INSTANCE},${TIGRISINST})
	instance := ${INSTANCE}
else
	instance :=
@


1.26
log
@Removed references to the deprecated Joist module.
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.25 2001/07/12 23:54:59 stack Exp $
d76 1
a76 1
	$(all_dirs_with_makefiles) ) ) )
@


1.25
log
@Backing out proxy setup.  It doesn't work.  IZ19 on helm.tigris.org
(http://helm.tigris.org/issues/show_bug.cgi?id=19) dicusses why  it failed
and makes proposal for alternative tigris caching-proxy.
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.24 2001/04/11 07:26:53 lucas Exp $
d6 2
a7 2
## makefiles found.  Always goes to  joist first and the ${instance}, 
## if defined, last. Dirs in between are made willy-nilly order (undefined).
a31 1
JOIST=joist
d53 1
a53 1
# for anzu, eyebrowse and joist.  Then filter for instance. This is 
a75 1
	$(filter-out %$(JOIST), \
d94 1
a94 1
all: sandbox-env joist-test configure install reconfigure patch_permissions
d97 2
a98 3
## Joist is explicitly buit first.  If anzu is present,
## it is built before helm.  If eyebrowse, it is build after helm.
## Instance is built last.
d101 1
a101 1
install: build-lib build-eyebrowse build-joist build-anzu build-dirs  build-instance
a154 9
# Test for presence of joist
#
.PHONY: joist-test
joist-test: sandbox-env
	@@if [ ! -d $(SANDBOX)/$(JOIST) ]; \
		then echo "ERROR: No $(SANDBOX)/$(JOIST) directory"; \
		exit 2; \
	 fi

a160 8
# Build joist
#
.PHONY: build-joist
build-joist: joist-test
	$(MAKE) -C $(JOIST)
	$(MAKE) install -C $(JOIST)  


d164 1
a164 1
build-anzu: build-joist
d199 1
a199 1
# Build all dirs but the the filtered out joist, anzu, eyebrowse and instance
d202 1
a202 1
build-dirs: build-joist build-anzu
a244 1
	$(MAKE) $@@ -C $(JOIST)
@


1.24
log
@beginning process of including turbine into sandbox/lib
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.23 2001/04/10 05:05:51 stack Exp $
a39 1
PROXY_CACHE_DIR=data/cache/httpd
d96 1
a96 1
all: sandbox-env joist-test configure install reconfigure proxy_cache_dir patch_permissions
a119 9
# Make sure the proxy cache dir is in place.
#
.PHONY: proxy_cache_dir
proxy_cache_dir:
	@@if [ ! -d "$(SANDBOX)/$(PROXY_CACHE_DIR)" ]; then \
		if [ "x${PROXY}" = "x" ]; then \
			mkdir -p $(SANDBOX)/$(PROXY_CACHE_DIR); \
		fi; \
	fi
@


1.23
log
@Added a proxy_cache_dir target that willtake care of making a caching dir under SANDBOX/data when the PROXY env.sh is set for proxy-caching (PROXY is set to the empty string).
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.22 2001/02/23 23:39:30 ms Exp $
d31 1
d105 1
a105 1
install: build-eyebrowse build-joist build-anzu build-dirs  build-instance
d177 5
@


1.22
log
@building eyebrowse first
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.21 2001/02/21 01:27:54 dlr Exp $
d39 1
d96 1
a96 1
all: sandbox-env joist-test configure install reconfigure patch_permissions
d120 9
d130 1
@


1.22.6.1
log
@Create a dir to hold cache in if caching-proxy is enabled.

Reviewed by: Commit reviewed/buddied by edk.
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.22 2001/02/23 23:39:30 ms Exp $
a38 1
PROXY_CACHE_DIR=data/cache/httpd
d95 1
a95 1
all: sandbox-env joist-test configure install reconfigure proxy_cache_dir patch_permissions
a118 9
# Make sure the proxy cache dir is in place.
#
.PHONY: proxy_cache_dir
proxy_cache_dir:
  @@if [ ! -d "$(SANDBOX)/$(PROXY_CACHE_DIR)" ]; then \
      if [ "x${PROXY}" = "x" ]; then \
          mkdir -p $(SANDBOX)/$(PROXY_CACHE_DIR); \
      fi; \
  fi
a119 1
.PHONY: patch_permissions
@


1.22.6.1.2.1
log
@Solaris compatibility: Lots of changes:
- Changesand additions to the build files so that the system builds on Solaris.
- Changes to issuezilla so that it works on PERL 5.6.
- Changes to scripts so that they use bash as their interpreter explicitly.
- Changes to search/makeit.in so that the makeit script also runs on Solaris.
Issue number:
Obtained from:
Submitted by:
Reviewed by:
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.22.6.1 2001/04/24 22:28:17 stack Exp $
a39 2
SHELL=/bin/bash
export SHELL
d71 3
a73 1
all_dirs_with_makefiles := $(shell ./scripts/make/list_makefile_dirs.bash )
d86 4
a89 1
all_cvs_dirs := $(shell ./scripts/make/list_cvs_dirs.bash )
@


1.21
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.20.2.1 2001/02/09 20:06:51 dlr Exp $
d103 1
a103 1
install: build-joist build-anzu build-dirs build-eyebrowse build-instance
d191 1
a191 1
build-eyebrowse: build-dirs
@


1.20
log
@Fixed to work with new eyebrowse build system
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.19 2001/01/18 05:19:45 stack Exp $
d73 1
a73 1
	
d78 1
a78 1
	
@


1.20.2.1
log
@Removed a couple tabs that shouldn't be there.
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.20 2001/02/06 18:07:15 ms Exp $
d73 1
a73 1

d78 1
a78 1

@


1.19
log
@Added special handling for when INSTANCE is tigrisinst.  Acts as though helm is the INSTANCE
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.18 2001/01/09 23:55:01 louis Exp $
d197 2
a198 2
		$(MAKE) -C $(EYEBROWSE); \
		$(MAKE) install -C $(EYEBROWSE); \
@


1.18
log
@Respect the sticky bit when updating.  Remove the 'A' flag from update target (St.Ack)
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.17 2000/12/14 18:28:42 stack Exp $
d6 1
a6 1
## makefiles found.  Always goes to  joist first and the ${INSTANCE}, 
d38 1
d47 1
a47 1
# List of all subdirectories that contain a Makefiles
d56 1
a56 1
# INSTANCE is not defined.
d59 4
d64 6
d79 2
a80 2
ifdef INSTANCE
	dirs := $(filter-out %$(INSTANCE), $(all_dirs_filtered) )
a85 1
    ! -path '*/brands/*' \
a86 3
    ! -path '*/html/*' \
    ! -path '*/sharedimages/*' \
    ! -path '*/systemfiles/*' \
d146 2
a147 2
ifdef INSTANCE
	@@if test ! -d $(SANDBOX)/$(INSTANCE); \
d149 2
a150 2
		echo "ERROR: No such directory $(INSTANCE) under $(SANDBOX)"; \
	echo "ERROR: $(INSTANCE) defined but not checked out under $(SANDBOX)";  \
d206 3
a208 3
ifdef INSTANCE
	$(MAKE) -C $(INSTANCE)
	$(MAKE) install -C $(INSTANCE)
d212 1
a212 1
# Build all dirs but the the filtered out joist, anzu, eyebrowse and INSTANCE
d229 1
a229 1
# an INSTANCE).  Because of this, update each subdirectory 
d236 1
a236 1
# it ignore INSTANCE).
d269 2
a270 2
	@@if [ -d $(INSTANCE) ]; then \
		$(MAKE) $@@ -C $(INSTANCE); \
@


1.17
log
@'make update' was throwing an error.  stop the error by updating all subdirs and current dir explicitly.  A downside is that if dirs are added or removed from sandbox, the 'make update' will not notice.  This is rare.
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.16 2000/12/08 02:58:17 stack Exp $
d237 1
a237 1
		cvs update -PAd; \
@


1.17.2.1
log
@Remove the 'A' from update or we'll trash our tags
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.17 2000/12/14 18:28:42 stack Exp $
d237 1
a237 1
		cvs update -Pd; \
@


1.16
log
@'make update' was doing all subdirs.  Need to do a -Pd on this top level directory in case any modules have been added or removed to sandbox
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.15 2000/11/16 19:00:53 stack Exp $
d219 12
a239 1
	cvs update -Pd
@


1.15
log
@On the 'make update', changed command to be 'update -PAd' rather than 'update -Pd'.  '-PAd' seems to be all the rage
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.14 2000/11/15 18:54:23 stack Exp $
d228 2
@


1.15.2.1
log
@Remove the 'A' from update.  Kills branch info in sandbox (St.Ack)
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.15 2000/11/16 19:00:53 stack Exp $
d225 1
a225 1
		cvs update -Pd; \
@


1.14
log
@Added a 'make update'.  This will do a cvs update -Pd in all subdirs w/ CVS subdirs.  I had a script to do this but this is 'cleaner'.
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.13 2000/11/13 22:54:39 jrobbins Exp $
d225 1
a225 1
		cvs update -Pd; \
@


1.13
log
@removed suspect lines (make is picky about spacing at beginning of line
toned down comment
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.12 2000/11/13 19:34:35 stack Exp $
d44 2
d56 2
d59 9
a67 2
all_dirs_with_makefiles := $(shell find . -type f -mindepth 2 -maxdepth 2 -regex '.*/Makefile' -exec dirname {} \; )
all_dirs_filtered := $(filter-out %$(EYEBROWSE), $(filter-out %$(ANZU), $(filter-out %$(JOIST), $(all_dirs_with_makefiles) ) ) )
d74 10
d121 4
a124 2
# Conditional to test for empty string:  http://www.gnu.org/manual/make-3.77/html_mono/make.html#SEC72
# Exit 2 if not. See http://www.gnu.org/manual/make-3.77/html_mono/make.html#SEC81 
d134 2
a135 2
# Test for instance variable.  If not defined, then  we don't know what to build last
# If not, set, might be alright.
d143 1
a143 1
	echo "ERROR: $(INSTANCE) is defined but not checked out under $(SANDBOX)";  \
d214 14
@


1.12
log
@Change helm directory reference from 'newhelm' to 'helm'
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.11 2000/11/10 23:37:53 stack Exp $
d38 2
a39 1
# solaris sucks.  it needs: /usr/xpg4/bin/id -u (or putting /usrxpg4/bin 
d77 1
a77 1
	
d83 2
a84 2
 
 
d91 1
a91 1
	
d125 1
a125 1
	
d134 2
a135 2
     
    
d142 2
a143 2
    
  
d152 2
a153 2
	
	
d171 1
a171 1
	
d191 1
a191 1
	 
d216 3
a218 3
	
	
	
@


1.11
log
@Taught makefile eyebrowse.  Make it build eyebrowse AFTER helm
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.10 2000/11/07 00:36:16 stack Exp $
d33 1
a33 1
HELM=newhelm
@


1.10
log
@Added consideration of anzu making sure it's always built before helm.  Made the make clean work.  Passes make clean to all subdirs and then does a rm -rf 'site'
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.9 2000/11/01 03:22:10 edk Exp $
d33 2
d49 2
a50 2
# for anzu and joist.  Then filter for instance. This is a little 
# ugly because josh lucas turned up an issue
d55 1
a55 1
all_dirs_filtered := $(filter-out %$(ANZU), $(filter-out %$(JOIST), $(all_dirs_with_makefiles) ) )
d63 2
d69 3
a71 5
## Default target
##
## Filter out joist and  the instance  from dirs if they are defined.  
## They are explicitly built first and last.
##
d74 1
a74 16
install: sandbox-env joist-test instance-env
	$(MAKE) -C $(JOIST)
	$(MAKE) $@@ -C $(JOIST)
	@@if [ -d $(ANZU) ]; then \
		$(MAKE) -C $(ANZU); \
		$(MAKE) $@@ -C $(ANZU); \
	fi
	@@for dir in $(dirs); \
	do \
		$(MAKE) -C $$dir; \
		$(MAKE) $@@ -C $$dir; \
	done
ifdef INSTANCE
	$(MAKE) -C $(INSTANCE)
	$(MAKE) $@@ -C $(INSTANCE)
endif
a76 1
	
d90 1
d127 1
a127 1
.PHONY: sandbox-env
d133 57
d207 3
@


1.9
log
@run patch_permissions iff we're root
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.8 2000/09/29 01:46:14 stack Exp $
d32 1
d46 3
a48 1
# Below is a little ugly because josh lucas turned up an issue
d53 1
a53 1
all_dirs_minus_joist := $(filter-out %$(JOIST), $(all_dirs_with_makefiles) )
d55 1
a55 1
	dirs := $(filter-out %$(INSTANCE), $(all_dirs_minus_joist) )
d57 1
a57 1
	dirs := $(all_dirs_minus_joist)
d75 4
d156 1
d159 1
a159 1
		$(MAKE) $@@ -C $$dir; \; \
d161 8
@


1.8
log
@Testing unveiled a problem w/ my fix.  I now explicitly do a make  where before i was trying to do some fancy filtering to get exact dir name on disk -- a waste
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.7 2000/09/29 01:36:47 stack Exp $
d34 4
d59 1
a59 1
all: sandbox-env joist-test configure install reconfigure
d96 7
a102 1
 
@


1.7
log
@Josh Lucas found that the make filter-out function works ugly when INSTANCE is an empty string.  Fix
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.6 2000/09/28 19:08:56 stack Exp $
d74 2
a75 2
	$(MAKE) -C $(filter %$(INSTANCE), $(dirs) )
	$(MAKE) $@@ -C $(filter %$(INSTANCE), $(dirs) )
@


1.6
log
@Inside a multi-line piece of shell script, i had '@@exit' instead of 'exit'.  Shell was complaining no such thing as '@@exit'.
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.5 2000/09/27 00:04:36 stack Exp $
d40 4
d45 7
a51 1
dirs := $(shell find . -type f -mindepth 2 -maxdepth 2 -regex '.*/Makefile' -exec dirname {} \; )
d63 1
d68 1
a68 1
	@@for dir in $(filter-out %$(INSTANCE), $(filter-out %$(JOIST), $(dirs) ) ); \
d98 1
d109 1
d123 1
@


1.5
log
@Did nothing.  Just want to checkin to show our jody stuff
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.4 2000/09/26 22:00:42 stack Exp $
d103 1
a103 1
	@@exit 2; \
@


1.4
log
@It was always exiting on the est for instance environment variable. I had the exit in the wrong place.  Should be inside the test for a directory if/fi
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.3 2000/09/26 18:30:50 stack Exp $
d25 1
@


1.3
log
@Cosmetic improvements to the messages output on the no INSTANCE checked out case
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.2 2000/09/26 18:27:20 stack Exp $
d102 1
a103 1
	@@exit 2
@


1.2
log
@If an instance was defined but not checked out into sandbox, the make would fail in an ugly way.  Now it outputs a nice -- well, maybe not nice... informative -- message
@
text
@d3 1
a3 1
## $Id: Makefile,v 1.1 2000/09/21 19:56:49 stack Exp $
d101 1
a101 1
		echo "ERROR: $(INSTANCE) is defined but not checked out under"; \		echo "ERROR: $(SANDBOX)"; \
d103 1
a103 1
	exit 2
@


1.1
log
@Sandbox master makefile -- First commit
@
text
@d3 1
a3 1
## $Id$
d97 7
a103 2
ifndef INSTANCE
	@@echo "WARNING: INSTANCE undefined"
@

