2000-06-12 07:43:07 +00:00
|
|
|
--- makefile.orig Sun Oct 3 05:16:00 1993
|
|
|
|
+++ makefile Sat Jun 10 13:35:16 2000
|
1999-04-16 08:08:01 +00:00
|
|
|
@@ -1,5 +1,4 @@
|
2000-06-12 07:43:07 +00:00
|
|
|
SHELL = /bin/sh
|
1999-04-16 08:08:01 +00:00
|
|
|
-BINDIR = /ufs/dik/tmpbin
|
|
|
|
# Use the following flags on the CF macro definition as needed.
|
|
|
|
#
|
|
|
|
# -DBSD if you are on a BSD system
|
2000-06-12 07:43:07 +00:00
|
|
|
@@ -24,44 +23,44 @@
|
1999-04-16 08:08:01 +00:00
|
|
|
#
|
|
|
|
# -DAPPLEDOUBLE if you want to be able to use an AppleDouble file system
|
|
|
|
#
|
|
|
|
-CF = -DBSD -DTYPES_H -DDIRENT_H -DTERMIOS_H -DNODOT -DAPPLEDOUBLE
|
2000-06-12 07:43:07 +00:00
|
|
|
+CF = -DBSD -DTYPES_H -DDIRENT_H -DTERMIOS_H -DAUFSPLUS ${CFLAGS}
|
1999-04-16 08:08:01 +00:00
|
|
|
|
|
|
|
all:
|
2000-06-12 07:43:07 +00:00
|
|
|
- (cd crc; make CF='$(CF)')
|
|
|
|
- (cd util; make CF='$(CF)')
|
|
|
|
- (cd fileio; make CF='$(CF)')
|
|
|
|
- (cd macunpack; make CF='$(CF)')
|
|
|
|
- (cd hexbin; make CF='$(CF)')
|
|
|
|
- (cd mixed; make CF='$(CF)')
|
|
|
|
- (cd binhex; make CF='$(CF)')
|
|
|
|
- (cd comm; make CF='$(CF)')
|
|
|
|
+ (cd crc; $(MAKE) CFLAGS='$(CF)')
|
|
|
|
+ (cd util; $(MAKE) CFLAGS='$(CF)')
|
|
|
|
+ (cd fileio; $(MAKE) CFLAGS='$(CF)')
|
|
|
|
+ (cd macunpack; $(MAKE) CFLAGS='$(CF)')
|
|
|
|
+ (cd hexbin; $(MAKE) CFLAGS='$(CF)')
|
|
|
|
+ (cd mixed; $(MAKE) CFLAGS='$(CF)')
|
|
|
|
+ (cd binhex; $(MAKE) CFLAGS='$(CF)')
|
|
|
|
+ (cd comm; $(MAKE) CFLAGS='$(CF)')
|
|
|
|
|
|
|
|
clean:
|
|
|
|
- (cd crc; make clean)
|
|
|
|
- (cd util; make clean)
|
|
|
|
- (cd fileio; make clean)
|
|
|
|
- (cd macunpack; make clean)
|
|
|
|
- (cd hexbin; make clean)
|
|
|
|
- (cd mixed; make clean)
|
|
|
|
- (cd binhex; make clean)
|
|
|
|
- (cd comm; make clean)
|
|
|
|
+ (cd crc; $(MAKE) clean)
|
|
|
|
+ (cd util; $(MAKE) clean)
|
|
|
|
+ (cd fileio; $(MAKE) clean)
|
|
|
|
+ (cd macunpack; $(MAKE) clean)
|
|
|
|
+ (cd hexbin; $(MAKE) clean)
|
|
|
|
+ (cd mixed; $(MAKE) clean)
|
|
|
|
+ (cd binhex; $(MAKE) clean)
|
|
|
|
+ (cd comm; $(MAKE) clean)
|
|
|
|
|
|
|
|
clobber:
|
|
|
|
- (cd crc; make clean)
|
|
|
|
- (cd util; make clean)
|
|
|
|
- (cd fileio; make clean)
|
|
|
|
- (cd macunpack; make clobber)
|
|
|
|
- (cd hexbin; make clobber)
|
|
|
|
- (cd mixed; make clobber)
|
|
|
|
- (cd binhex; make clobber)
|
|
|
|
- (cd comm; make clobber)
|
|
|
|
+ (cd crc; (MAKE) clean)
|
|
|
|
+ (cd util; (MAKE) clean)
|
|
|
|
+ (cd fileio; (MAKE) clean)
|
|
|
|
+ (cd macunpack; (MAKE) clobber)
|
|
|
|
+ (cd hexbin; (MAKE) clobber)
|
|
|
|
+ (cd mixed; (MAKE) clobber)
|
|
|
|
+ (cd binhex; (MAKE) clobber)
|
|
|
|
+ (cd comm; (MAKE) clobber)
|
|
|
|
|
|
|
|
lint:
|
|
|
|
- (cd macunpack; make CF='$(CF)' lint)
|
|
|
|
- (cd hexbin; make CF='$(CF)' lint)
|
|
|
|
- (cd mixed; make CF='$(CF)' lint)
|
|
|
|
- (cd binhex; make CF='$(CF)' lint)
|
|
|
|
- (cd comm; make CF='$(CF)' lint)
|
|
|
|
+ (cd macunpack; (MAKE) CFLAGS='$(CF)' lint)
|
|
|
|
+ (cd hexbin; (MAKE) CFLAGS='$(CF)' lint)
|
|
|
|
+ (cd mixed; (MAKE) CFLAGS='$(CF)' lint)
|
|
|
|
+ (cd binhex; (MAKE) CFLAGS='$(CF)' lint)
|
|
|
|
+ (cd comm; (MAKE) CFLAGS='$(CF)' lint)
|
|
|
|
|
|
|
|
install:
|
|
|
|
cp macunpack/macunpack $(BINDIR)/.
|