home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
ade-misc-src.tgz
/
ade-misc-src.tar
/
Makefile.in
< prev
Wrap
Makefile
|
1996-10-13
|
3KB
|
97 lines
srcdir = @srcdir@
VPATH = @srcdir@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM
CC = @CC@
CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
prefix = @prefix@
FLAGS_TO_PASS = \
"CC=$(CC)" \
"CFLAGS=$(CFLAGS)" \
"LDFLAGS=$(LDFLAGS)" \
"INSTALL=$(INSTALL)" \
"INSTALL_DATA=$(INSTALL_DATA)" \
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)"
SUBDIRS = bsd contrib docs fsf
all:
for i in $(SUBDIRS); do \
if [ -d $$i ] ; then \
echo "======== $$i ========"; \
(cd $$i && $(MAKE)); \
fi; \
done
install:
for i in *; do \
if [ -d $$i ] ; then \
echo "======== $$i ========"; \
(cd $$i && $(MAKE) install); \
fi; \
done
$(INSTALL_DATA) config.cache $(prefix)/etc/config.cache
# This is a hack until we work out some packaging
# issues
sh -x $(srcdir)/scripts/strip.sh
FileList:
touch $@
find . -type f -print | sort | sed \
-e "s/^.\///" \
-e "/CVS\/Root/d" \
-e "/CVS\/Repository/d" \
-e "/CVS\/Entries/d" \
>$@
CRCList: FileList
brik -Gvbf $? >$@
# This target tests the coverage of the manifest files for the contents
# of the ADE-bin tree.
#
# The output is the file /tmp/coverage.diff, which will show which files
# (if any) are listed in the manifest files, but not found in the actual
# binary tree, which files are not listed in any manifest file, etc.
#
# We also find out which files, if any, appear in more than one manifest
# file. This list is left in /tmp/dups.diff.
#
# Note that the manifests/bin-IGNORE file contains the few random names
# of files that are currently in the binary tree but do not get used in
# building any of the archives in ADE-dist. Most of these should
# eventually go away.
bin-coverage: FileList
grep "manifests/[^/]*bin[0-9]*$$" FileList >/tmp/manifests
cat manifests/bin-IGNORE `cat /tmp/manifests` | sort >/tmp/manifest-files-all
uniq </tmp/manifest-files-all >/tmp/manifest-files-uniq
-diff /tmp/manifest-files-all /tmp/manifest-files-uniq >/tmp/dups.diff
(cd /ade; find . -type f -print) | sort | uniq | sed "s:^./::" >/tmp/ade-files
-diff /tmp/manifest-files-uniq /tmp/ade-files >/tmp/coverage.diff
src-coverage: FileList
grep "manifests/[^/]*src[0-9]*$$" FileList >/tmp/manifests
cat `cat /tmp/manifests` | sort >/tmp/manifest-files-all
uniq </tmp/manifest-files-all >/tmp/manifest-files-uniq
-diff /tmp/manifest-files-all /tmp/manifest-files-uniq >/tmp/dups.diff
cat FileList | grep -v /CVS/ | grep -v ^CVS | uniq >/tmp/ade-files
-diff /tmp/manifest-files-uniq /tmp/ade-files >/tmp/coverage.diff
bin-archives: FileList
grep "manifests/[^/]*bin[0-9]*$$" FileList >/tmp/manifests
sh scripts/packfiles.sh --to=/src/ade-dist --from=/ade --tmp=/iso/tmp </tmp/manifests
chmod a-rwx /src/ade-dist/at-inc-bin.lha /src/ade-dist/at-lib-bin.lha
src-archives: FileList
grep "manifests/[^/]*src[0-9]*$$" FileList >/tmp/manifests
sh scripts/packfiles.sh --tgz --to=/src/ade-dist --from=/spare/ade --tmp=/src/ade-dist/tmp </tmp/manifests
diffs:
sh scripts/creatediffs.sh --to=/src/ade-dist --from=/src/ade-dist --tmp=/src/ade-dist/tmp