Top level makefile junk for building the whole world




I think this is a bit more flexible and perhaps easier to maintain
than the build scripts floating about.  I've tried it in the past on
BSD and Solaris but have no guarantees that it will still work.
This _should_ be all that you need to do in order to get a full build 
from CVS:

1.  Install the prerequisite packages that don't live in CVS (libtool,
    Guile, etc.) and make sure they are in your path.

2.  Check out the source tree:

$ cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome login
...
$ cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome co gnome
... checkout happens ...
$ cd gnome
$ cvs co gnome-print 	# needed to make gwp compile I think...
$ cd ..

3.  Unpack my nasty little Makefiles.  Your current directory needs
to be not the 'gnome' directory created by the checkout, but its parent.

$ sh ./gnome-make.shar
... unpacks crap ...

4.  Create a config file for the build machine.
    (set up paths and such)
$ cd gnome
$ cp CONFIGCONFIG.foo CONFIGCONFIG.`hostname`  # choose one to edit
$ ed CONFIGCONFIG.`hostname`
... edit away ...

5.  Type make.

The installs are done in-line (since in order to build some modules
the previous ones need to be installed) so you must set the prefix to
a directory which you have write privileges in.

I have been meaning to set this up so you set a "prefix" and a "real
prefix" and that it does the builds with "prefix" so those paths are 
the ones compiled in but it does the 'make install' with 
PREFIX="real prefix" so that the paths get copied elsewhere... the
"real prefix" would be the one used when it sets PATH and 
LD_LIBRARY_PATH and such.  Haven't done this yet.

I hope that these are useful for other people.  There are some hacks
in here to build some things that I have trouble building on my 
system.  There are a few modules here that I have to edit slightly
in order to make them build (gnome-dom, grpm, maybe a few others that
I don't recall).

There are some other interesting features lurking in here that don't
always work quite right.  You may be able to just get the shar file
and unpack it and type make and have it cvs everything for you, but
I don't think that part works quite right either yet.

Hope this is useful to someone.  A shell archive of the makefiles
follows.

#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.2).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 1998-12-06 17:14 PST by <sergent@kgb.etla.net>.
# Source directory was `/kgb/b/sergent/gnb'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#   1284 -rw-r--r-- gnome/Makefile
#   2697 -rw-r--r-- gnome/Makefile.component
#   1437 -rw-r--r-- gnome/CONFIGCONFIG
#      0 -rw-r--r-- gnome/CONFIGCONFIG.Linux
#     87 -rw-r--r-- gnome/CONFIGCONFIG.NetBSD
#      0 -rw-r--r-- gnome/CONFIGCONFIG.SunOS
#    144 -rw-r--r-- gnome/CONFIGCONFIG.keymaster
#    167 -rw-r--r-- gnome/CONFIGCONFIG.kgb
#    193 -rw-r--r-- gnome/CONFIGCONFIG.starlight
#    190 -rw-r--r-- gnome/CONFIGCONFIG.zephyr
#    267 -rw-r--r-- gnome/RULEDEFS
#
save_IFS="${IFS}"
IFS="${IFS}:"
gettext_dir=FAILED
locale_dir=FAILED
first_param="$1"
for dir in $PATH
do
  if test "$gettext_dir" = FAILED && test -f $dir/gettext \
     && ($dir/gettext --version >/dev/null 2>&1)
  then
    set `$dir/gettext --version 2>&1`
    if test "$3" = GNU
    then
      gettext_dir=$dir
    fi
  fi
  if test "$locale_dir" = FAILED && test -f $dir/shar \
     && ($dir/shar --print-text-domain-dir >/dev/null 2>&1)
  then
    locale_dir=`$dir/shar --print-text-domain-dir`
  fi
done
IFS="$save_IFS"
if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED
then
  echo=echo
else
  TEXTDOMAINDIR=$locale_dir
  export TEXTDOMAINDIR
  TEXTDOMAIN=sharutils
  export TEXTDOMAIN
  echo="$gettext_dir/gettext -s"
fi
touch -am 1231235999 $$.touch >/dev/null 2>&1
if test ! -f 1231235999 && test -f $$.touch; then
  shar_touch=touch
else
  shar_touch=:
  echo
  $echo 'WARNING: not restoring timestamps.  Consider getting and'
  $echo "installing GNU \`touch', distributed in GNU File Utilities..."
  echo
fi
rm -f 1231235999 $$.touch
#
if mkdir _sh09203; then
  $echo 'x -' 'creating lock directory'
else
  $echo 'failed to create lock directory'
  exit 1
fi
# ============= gnome/Makefile ==============
if test ! -d 'gnome'; then
  $echo 'x -' 'creating directory' 'gnome'
  mkdir 'gnome'
fi
if test -f 'gnome/Makefile' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'gnome/Makefile' '(file already exists)'
else
  $echo 'x -' extracting 'gnome/Makefile' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'gnome/Makefile' &&
X
PREREQS= glib gtk+ imlib ORBit audiofile esound gnome-libs gnome-objc \
X	libgtop gnome-http gnome-xml gnome-print gnome-guile gnome-core libPropList 
X 
REST= 	balsa dia ee gdm gedit genius ggv \
X	gnome-admin gnome-chess gnome-dom gnome-games \
X	gnome-media gnome-network gnome-pilot gnome-utils \
X	gnumeric grpm gtk-engines gtkicq go gtop gwp mc sane yagirc
X
# Environment setting of COMP will override this this way... so that
# you can set COMP to a subset of directories in your environment if
# that's all you're hacking on.
COMP$(COMP)= $(PREREQS) $(REST)
X
TOPDIR = $(shell pwd)
export TOPDIR
X
include CONFIGCONFIG
X
World all config clean cleanup cvsup distclean install:: FRC
X	for comp in $(COMP) ; do \
X		[ ! -d $$comp ] && $(CVS) co $$comp; \
X		mkdir -p $$comp; \
X		sh -c "cd $$comp && $(MAKE) -f ../Makefile.component $(@)" ;\
X		rc=$$? ; [ $$rc != 0 ] && exit $$rc ; \
X	done 2>&1 | tee -a $(PREFIX)/Log
X
$(PREREQS) $(REST): FRC
X	for dir in $(@) ; do \
X		sh -c "cd $$dir && $(MAKE) -f ../Makefile.component" ;\
X		rc=$$? ; [ $$rc != 0 ] && exit $$rc ; \
X	done
X
shar: gnome-make.shar
X
gnome-make.shar: Makefile Makefile.component CONFIGCONFIG* \
X		RULEDEFS 
X	cd .. && \
X		shar gnome/Makefile gnome/Makefile.component \
X			gnome/CONFIGCONFIG* gnome/RULEDEFS \
X				> $(@)
X
FRC:
X
SHAR_EOF
  $shar_touch -am 1206171298 'gnome/Makefile' &&
  chmod 0644 'gnome/Makefile' ||
  $echo 'restore of' 'gnome/Makefile' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'gnome/Makefile:' 'MD5 check failed'
8be5eb63025fc2ce640f942c3cd6fe67  gnome/Makefile
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'gnome/Makefile'`"
    test 1284 -eq "$shar_count" ||
    $echo 'gnome/Makefile:' 'original size' '1284,' 'current size' "$shar_count!"
  fi
fi
# ============= gnome/Makefile.component ==============
if test -f 'gnome/Makefile.component' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'gnome/Makefile.component' '(file already exists)'
else
  $echo 'x -' extracting 'gnome/Makefile.component' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'gnome/Makefile.component' &&
# Makefile.component
X
## Get name of component we're building.
COMPONENT = $(shell basename `pwd`)
X
include $(TOPDIR)/RULEDEFS
include $(TOPDIR)/CONFIGCONFIG
X
## Determine what rules we need to build this component.
RULES =			$(RULES_$(COMPONENT))
X
ALL_TARGET =		$(RULES)-all
CONFIG_TARGET =		$(RULES)-config
CLEAN_TARGET =		$(RULES)-clean
CVSUP_TARGET =		$(RULES)-cvsup
DISTCLEAN_TARGET =	$(RULES)-distclean
INSTALL_TARGET =	$(RULES)-install
X
World: cvsup config all install
X
# Switch off to correct target... can also put any global stuff here.
all: $(ALL_TARGET)
X
config: $(CONFIG_TARGET)
X
clean: $(CLEAN_TARGET)
X
cvsup: $(CVSUP_TARGET)
X	@[ -d CVS ] || ( 1>&2 echo Need to check out $(COMPONENT). ; exit 1 )
X
distclean: $(DISTCLEAN_TARGET)
X
install: $(INSTALL_TARGET)
X
cleanup:
X	for name in 'cvslog.*' 'tags' 'TAGS' '.make.state' '.nse_depinfo' \
X		'*~' '#*' '.#*' ',*' '_$$*' '*$$' '*.old' '*.bak' '*.BAK' \
X		'*.orig' '*.rej' '.del-*' '*.a' '*.olb' '*.o' '*.obj' \
X		'*.so' '*.exe' '*.Z' '*.elc' '*.ln' 'core'; do \
X		find . -name "$$name" -print; done | xargs --no-run-if-empty rm
X	rm -f `find . -name \.cvsignore -print | while read x; do \
X		sed -n "/^[a-zA-Z0-9.*]../s@[^ ][^ ]*@$$(dirname $$x)/\1&@gp" $$x ; done | egrep -v '(intl|macros|support)\$$' `
X
%::; -@mkdir -p $(PREFIX)/include $(PREFIX)/lib
X
# config: either run autogen.sh or configure directly.
ORBit-config standard-config:
X	find . -name .deps | xargs rm -fr
X	-@mkdir -p $(PREFIX)/share/aclocal
X	$(COMMAND_autogen.sh)
X
# gtop needs an empty aclocal.m4 to autogen correctly.
gtop-config: gtop-config-pre standard-config gtop-config-post
X
gtop-config-pre:
X	[ -f aclocal.m4 ] || touch aclocal.m4
X
gtop-config-post:
X	CONFIG_FILES=po/Makefile ./config.status
X
pregen-config:
X	find . -name .deps | xargs rm -fr
X	-@mkdir -p $(PREFIX)/share/aclocal
X	$(COMMAND_configure)
X
X
gtop-all pregen-all standard-all ORBit-all:
X	$(MAKE) all
X
X
gtop-clean pregen-clean standard-clean ORBit-clean:
X	$(MAKE) clean
X	
X
gtop-distclean pregen-distclean standard-distclean ORBit-distclean:
X	$(MAKE) distclean
X	
gtop-install pregen-install standard-install ORBit-install: 
X	$(MAKE) install
X	
gtop-cvsup pregen-cvsup standard-cvsup:
X	( [ -d CVS ] && ( cd .. && $(CVS) up $(COMPONENT) ) ) || \
X		( cd .. && $(CVS) co $(COMPONENT) )
X
ORBit-cvsup:
X	( [ -d CVS ] && ( cd .. && $(CVS) up -r FOR_PANEL $(COMPONENT) ) ) || \
X		( cd .. && $(CVS) co -r FOR_PANEL $(COMPONENT) )
X
X
fail-all fail-config fail-clean fail-cvsup fail-distclean fail-install:
X	@ 1>&2 echo "Don't run me in the top-level directory." && false
X
skip-all skip-config skip-clean skip-cvsup skip-distclean skip-install:
X	@ 1>&2 echo "Makefile.component skipping $(COMPONENT) per RULEDEFS!" 
X
SHAR_EOF
  $shar_touch -am 1206161998 'gnome/Makefile.component' &&
  chmod 0644 'gnome/Makefile.component' ||
  $echo 'restore of' 'gnome/Makefile.component' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'gnome/Makefile.component:' 'MD5 check failed'
f94a25056e75bbe15f4b6e34347d3997  gnome/Makefile.component
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'gnome/Makefile.component'`"
    test 2697 -eq "$shar_count" ||
    $echo 'gnome/Makefile.component:' 'original size' '2697,' 'current size' "$shar_count!"
  fi
fi
# ============= gnome/CONFIGCONFIG ==============
if test -f 'gnome/CONFIGCONFIG' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'gnome/CONFIGCONFIG' '(file already exists)'
else
  $echo 'x -' extracting 'gnome/CONFIGCONFIG' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'gnome/CONFIGCONFIG' &&
# CONFIGCONFIG: ``configure'' configuration.
# Actually should be general build configuration.
X
#
# Things most people want to fool with...
#
X
# Paths
CC =			gcc
MAKE =			make
CVS =			echo
X
# Second one gets used when BUILD_ID is not set.
PREFIX = 		$(HOME)/gnome-current/builds/$(BUILD_ID)
PREFIX$(BUILD_ID) = 	$(HOME)/gnome-current/build
X
unames = $(shell uname -s)
hn = $(shell hostname | cut -d. -f1)
X
include $(TOPDIR)/CONFIGCONFIG.$(unames)
include $(TOPDIR)/CONFIGCONFIG.$(hn)
X
X
#
# Things less people need to fool with...
#
X
# Stuff to cope with the fact that PREFIX is not /usr...
EXTRA_CFLAGS +=		-I$(PREFIX)/include
EXTRA_LDFLAGS +=	-L$(PREFIX)/lib
temp =			$(LD_LIBRARY_PATH):$(PREFIX)/lib
temp$(LD_LIBRARY_PATH) = $(PREFIX)/lib
LD_LIBRARY_PATH	:=	$(temp)
PATH:=			$(PREFIX)/bin:$(PREFIX)/sbin:$(PATH)
X
export LD_LIBRARY_PATH
export PATH
X
ACLOCAL_FLAGS =         -I $(PREFIX)/share/aclocal
export ACLOCAL_FLAGS
X
# Even odder still.
CONFIGURE_ARGS =	--prefix=$(PREFIX) $(CONFIGURE_ARGS_$(RULES))
AUTOGEN_ARGS = 		$(CONFIGURE_ARGS)
X
DOTSLASHCONFIGURE =	./configure
DOTSLASHAUTOGEN.SH =	./autogen.sh
X
#
# Things that the code actually uses.
#
COMMAND_configure =	CC=$(CC) \
X			CFLAGS="$(EXTRA_CFLAGS)" \
X			LDFLAGS="$(EXTRA_LDFLAGS)" \
X			$(DOTSLASHCONFIGURE) \
X			$(CONFIGURE_ARGS)
X
COMMAND_autogen.sh =	CC=$(CC) \
X			CFLAGS="$(EXTRA_CFLAGS)" \
X			LDFLAGS="$(EXTRA_LDFLAGS)" \
X			$(DOTSLASHAUTOGEN.SH) \
X			$(CONFIGURE_ARGS)
X
SHAR_EOF
  $shar_touch -am 1122125098 'gnome/CONFIGCONFIG' &&
  chmod 0644 'gnome/CONFIGCONFIG' ||
  $echo 'restore of' 'gnome/CONFIGCONFIG' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'gnome/CONFIGCONFIG:' 'MD5 check failed'
a4cb47fa7a300b505b8325a02c95f8a7  gnome/CONFIGCONFIG
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'gnome/CONFIGCONFIG'`"
    test 1437 -eq "$shar_count" ||
    $echo 'gnome/CONFIGCONFIG:' 'original size' '1437,' 'current size' "$shar_count!"
  fi
fi
# ============= gnome/CONFIGCONFIG.Linux ==============
if test -f 'gnome/CONFIGCONFIG.Linux' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'gnome/CONFIGCONFIG.Linux' '(file already exists)'
else
  $echo 'x -' extracting 'gnome/CONFIGCONFIG.Linux' '(empty)'
  > 'gnome/CONFIGCONFIG.Linux' &&
  $shar_touch -am 1122123398 'gnome/CONFIGCONFIG.Linux' &&
  chmod 0644 'gnome/CONFIGCONFIG.Linux' ||
  $echo 'restore of' 'gnome/CONFIGCONFIG.Linux' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'gnome/CONFIGCONFIG.Linux:' 'MD5 check failed'
d41d8cd98f00b204e9800998ecf8427e  gnome/CONFIGCONFIG.Linux
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'gnome/CONFIGCONFIG.Linux'`"
    test 0 -eq "$shar_count" ||
    $echo 'gnome/CONFIGCONFIG.Linux:' 'original size' '0,' 'current size' "$shar_count!"
  fi
fi
# ============= gnome/CONFIGCONFIG.NetBSD ==============
if test -f 'gnome/CONFIGCONFIG.NetBSD' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'gnome/CONFIGCONFIG.NetBSD' '(file already exists)'
else
  $echo 'x -' extracting 'gnome/CONFIGCONFIG.NetBSD' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'gnome/CONFIGCONFIG.NetBSD' &&
X
# NetBSD seems to need this... no GNU indent.
CONFIGURE_ARGS_ORBit =	--disable-indent
SHAR_EOF
  $shar_touch -am 1122123398 'gnome/CONFIGCONFIG.NetBSD' &&
  chmod 0644 'gnome/CONFIGCONFIG.NetBSD' ||
  $echo 'restore of' 'gnome/CONFIGCONFIG.NetBSD' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'gnome/CONFIGCONFIG.NetBSD:' 'MD5 check failed'
1f763cc989b702ac3ef65eb9c79c82ca  gnome/CONFIGCONFIG.NetBSD
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'gnome/CONFIGCONFIG.NetBSD'`"
    test 87 -eq "$shar_count" ||
    $echo 'gnome/CONFIGCONFIG.NetBSD:' 'original size' '87,' 'current size' "$shar_count!"
  fi
fi
# ============= gnome/CONFIGCONFIG.SunOS ==============
if test -f 'gnome/CONFIGCONFIG.SunOS' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'gnome/CONFIGCONFIG.SunOS' '(file already exists)'
else
  $echo 'x -' extracting 'gnome/CONFIGCONFIG.SunOS' '(empty)'
  > 'gnome/CONFIGCONFIG.SunOS' &&
  $shar_touch -am 1122123398 'gnome/CONFIGCONFIG.SunOS' &&
  chmod 0644 'gnome/CONFIGCONFIG.SunOS' ||
  $echo 'restore of' 'gnome/CONFIGCONFIG.SunOS' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'gnome/CONFIGCONFIG.SunOS:' 'MD5 check failed'
d41d8cd98f00b204e9800998ecf8427e  gnome/CONFIGCONFIG.SunOS
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'gnome/CONFIGCONFIG.SunOS'`"
    test 0 -eq "$shar_count" ||
    $echo 'gnome/CONFIGCONFIG.SunOS:' 'original size' '0,' 'current size' "$shar_count!"
  fi
fi
# ============= gnome/CONFIGCONFIG.keymaster ==============
if test -f 'gnome/CONFIGCONFIG.keymaster' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'gnome/CONFIGCONFIG.keymaster' '(file already exists)'
else
  $echo 'x -' extracting 'gnome/CONFIGCONFIG.keymaster' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'gnome/CONFIGCONFIG.keymaster' &&
X
# keymaster.etla.net
X
MAKE =			gmake
PREFIX = 		/mnt/sd0g/space/sergent/builds/$(BUILD_ID)
PREFIX$(BUILD_ID) = 	/mnt/sd0g/space/sergent/build
X
SHAR_EOF
  $shar_touch -am 1122123398 'gnome/CONFIGCONFIG.keymaster' &&
  chmod 0644 'gnome/CONFIGCONFIG.keymaster' ||
  $echo 'restore of' 'gnome/CONFIGCONFIG.keymaster' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'gnome/CONFIGCONFIG.keymaster:' 'MD5 check failed'
a245ed7746cfcb64e51b5b037e9ad8fb  gnome/CONFIGCONFIG.keymaster
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'gnome/CONFIGCONFIG.keymaster'`"
    test 144 -eq "$shar_count" ||
    $echo 'gnome/CONFIGCONFIG.keymaster:' 'original size' '144,' 'current size' "$shar_count!"
  fi
fi
# ============= gnome/CONFIGCONFIG.kgb ==============
if test -f 'gnome/CONFIGCONFIG.kgb' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'gnome/CONFIGCONFIG.kgb' '(file already exists)'
else
  $echo 'x -' extracting 'gnome/CONFIGCONFIG.kgb' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'gnome/CONFIGCONFIG.kgb' &&
X
# kgb.etla.net
X
# Things most people want to fool with...
PREFIX = 		/kgb/b/sergent/gnb/builds/$(BUILD_ID)
PREFIX$(BUILD_ID) = 	/kgb/b/sergent/gnb/build
CC =			egcs
X
SHAR_EOF
  $shar_touch -am 1206124598 'gnome/CONFIGCONFIG.kgb' &&
  chmod 0644 'gnome/CONFIGCONFIG.kgb' ||
  $echo 'restore of' 'gnome/CONFIGCONFIG.kgb' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'gnome/CONFIGCONFIG.kgb:' 'MD5 check failed'
cccb9a3676c440037a53e1aad711b0e6  gnome/CONFIGCONFIG.kgb
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'gnome/CONFIGCONFIG.kgb'`"
    test 167 -eq "$shar_count" ||
    $echo 'gnome/CONFIGCONFIG.kgb:' 'original size' '167,' 'current size' "$shar_count!"
  fi
fi
# ============= gnome/CONFIGCONFIG.starlight ==============
if test -f 'gnome/CONFIGCONFIG.starlight' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'gnome/CONFIGCONFIG.starlight' '(file already exists)'
else
  $echo 'x -' extracting 'gnome/CONFIGCONFIG.starlight' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'gnome/CONFIGCONFIG.starlight' &&
X
# starlight
X
MAKE =			gnumake
PREFIX = 		/tmp/g/builds/$(BUILD_ID)
PREFIX$(BUILD_ID) = 	/tmp/g/build
X
EXTRA_LDFLAGS +=	-L/home/sergent/tools/lib
EXTRA_CFLAGS +=		-I/home/sergent/tools/include
SHAR_EOF
  $shar_touch -am 1206171498 'gnome/CONFIGCONFIG.starlight' &&
  chmod 0644 'gnome/CONFIGCONFIG.starlight' ||
  $echo 'restore of' 'gnome/CONFIGCONFIG.starlight' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'gnome/CONFIGCONFIG.starlight:' 'MD5 check failed'
1f8bbce0ceddafca2d0ab0a7229a85cd  gnome/CONFIGCONFIG.starlight
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'gnome/CONFIGCONFIG.starlight'`"
    test 193 -eq "$shar_count" ||
    $echo 'gnome/CONFIGCONFIG.starlight:' 'original size' '193,' 'current size' "$shar_count!"
  fi
fi
# ============= gnome/CONFIGCONFIG.zephyr ==============
if test -f 'gnome/CONFIGCONFIG.zephyr' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'gnome/CONFIGCONFIG.zephyr' '(file already exists)'
else
  $echo 'x -' extracting 'gnome/CONFIGCONFIG.zephyr' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'gnome/CONFIGCONFIG.zephyr' &&
X
# zephyr
X
MAKE =			gnumake
PREFIX = 		/tmp/g/builds/$(BUILD_ID)
PREFIX$(BUILD_ID) = 	/tmp/g/build
X
EXTRA_LDFLAGS +=	-L/home/sergent/tools/lib
EXTRA_CFLAGS +=		-I/home/sergent/tools/include
SHAR_EOF
  $shar_touch -am 1206171498 'gnome/CONFIGCONFIG.zephyr' &&
  chmod 0644 'gnome/CONFIGCONFIG.zephyr' ||
  $echo 'restore of' 'gnome/CONFIGCONFIG.zephyr' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'gnome/CONFIGCONFIG.zephyr:' 'MD5 check failed'
ada3f29ed6aa5653d01ed069dfbe80e8  gnome/CONFIGCONFIG.zephyr
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'gnome/CONFIGCONFIG.zephyr'`"
    test 190 -eq "$shar_count" ||
    $echo 'gnome/CONFIGCONFIG.zephyr:' 'original size' '190,' 'current size' "$shar_count!"
  fi
fi
# ============= gnome/RULEDEFS ==============
if test -f 'gnome/RULEDEFS' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'gnome/RULEDEFS' '(file already exists)'
else
  $echo 'x -' extracting 'gnome/RULEDEFS' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'gnome/RULEDEFS' &&
# RULEDEFS: Set build rules based on component name.
X
# (default)
RULES_$(COMPONENT) =	standard
X
# (exceptions)
RULES_ORBit =		ORBit
RULES_gnome-pilot = 	skip
RULES_gnome =		fail
# fixup for missing aclocal.m4 from the module
RULES_gtop =		gtop
X
RULES_sane =		pregen
SHAR_EOF
  $shar_touch -am 1206164198 'gnome/RULEDEFS' &&
  chmod 0644 'gnome/RULEDEFS' ||
  $echo 'restore of' 'gnome/RULEDEFS' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'gnome/RULEDEFS:' 'MD5 check failed'
868a37751b3c013c435c2d72e6a91154  gnome/RULEDEFS
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'gnome/RULEDEFS'`"
    test 267 -eq "$shar_count" ||
    $echo 'gnome/RULEDEFS:' 'original size' '267,' 'current size' "$shar_count!"
  fi
fi
rm -fr _sh09203
exit 0



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]