summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMiro Jurisic <meeroh@mit.edu>1998-07-23 23:26:16 +0000
committerMiro Jurisic <meeroh@mit.edu>1998-07-23 23:26:16 +0000
commitce485a52708aa716e94367ed13996a5018566aa4 (patch)
tree1f80e3599c9c4d86f2a3d6ed97b8e9e1ba6734c6 /src
parente29d1c9c387e701ddd967ef55f6e13ea322613a0 (diff)
downloadkrb5-ce485a52708aa716e94367ed13996a5018566aa4.tar.gz
krb5-ce485a52708aa716e94367ed13996a5018566aa4.tar.xz
krb5-ce485a52708aa716e94367ed13996a5018566aa4.zip
Removed unneeded sh scripts
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10724 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/mac/Makefile.tmpl11
-rw-r--r--src/mac/macfile_gen.pl24
-rw-r--r--src/mac/macfiles.sh12
-rw-r--r--src/mac/mkbindirs.sh13
4 files changed, 34 insertions, 26 deletions
diff --git a/src/mac/Makefile.tmpl b/src/mac/Makefile.tmpl
index d3ac21563..c0917559e 100644
--- a/src/mac/Makefile.tmpl
+++ b/src/mac/Makefile.tmpl
@@ -427,6 +427,8 @@ GSSLib : GSSLibraryPPC GSSLibrary68K K5LibraryPPC K5Library68K
##
################################################################################
+# This target punts things that get created during an MPW build
+
clean : autogenerate-clean
Delete -i {GSSOBJS68K} {GSSOBJSPPC} {GSSOBJS68KCFM} \
{K5OBJS68K} {K5OBJSPPC} {K5OBJS68KCFM} \
@@ -434,8 +436,15 @@ clean : autogenerate-clean
{GSSSHLIBOBJ68KCFM} {GSSSHLIBOBJPPC} \
{K5SHLIBOBJ68KCFM} {K5SHLIBOBJPPC}
+# This target also punts everything that gets created in other ways during normal
+# build process (CW files etc)
+
dist-clean : clean
- Delete -i -y /bin
+ Delete -i -y /bin \
+ "/mac/libraries/Metrowerks/CW Pro 2/MIT C.CFM68K DLL.prj Data" \
+ "/mac/libraries/Metrowerks/CW Pro 2/MIT C.PPC DLL.prj Data" \
+ "/mac/libraries/Metrowerks/CW Pro 2/MIT RuntimeCFM68K DLL.prj Data" \
+ "/mac/libraries/Metrowerks/CW Pro 2/MIT RuntimePPC DLL.prj Data"
Delete -i GSSLib GSSLibraryPPC GSSLibrary68K K5LibraryPPC K5Library68K \
GSSLibrary68K.MAP GSSLibrary68K.SYM GSSLibraryPPC.MAP GSSLibraryPPC.xSYM \
K5Library68K.MAP K5Library68K.SYM K5LibraryPPC.MAP K5LibraryPPC.xSYM \
diff --git a/src/mac/macfile_gen.pl b/src/mac/macfile_gen.pl
index 74da7b39a..a99d0fe59 100644
--- a/src/mac/macfile_gen.pl
+++ b/src/mac/macfile_gen.pl
@@ -7,6 +7,30 @@ if (defined ($ENV{'KERBSRCROOT'}))
$ROOT='.';
}
+# if we get "maclist" as a command line argument, print out a
+# list of files we need. Else, generate a makefile.
+
+if (defined($ARGV[0]) && $ARGV[0] eq "maclist")
+{
+ print(STDERR "Creating maclist.\n");
+ print(join(" ", &make_macfile_maclist(&make_macfile_list())), "\n");
+ print(STDERR "Done.\n");
+ exit;
+}
+
+# if we get "macdirs" as a command line argument, print out a
+# list of directories we need. Else, generate a makefile.
+
+if (defined($ARGV[0]) && $ARGV[0] eq "macdirs")
+{
+ print(STDERR "Creating macdirs.\n");
+ @MFSRCD=grep(s/(.*:)[^:]*\.c$/$1/, &make_macfile_maclist(&make_macfile_list()));
+ @MFSRCD=&uniq(sort(@MFSRCD));
+ print(join(" ", @MFSRCD), "\n");
+ print(STDERR "Done.\n");
+ exit;
+}
+
print(STDERR "Creating makefile.\n");
@MACLIST=&make_macfile_maclist(&make_macfile_list());
diff --git a/src/mac/macfiles.sh b/src/mac/macfiles.sh
deleted file mode 100644
index cd19aa1f1..000000000
--- a/src/mac/macfiles.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-for DIR do
- for SDIR in `sed -n -e 's/MAC_SUBDIRS.*=//p' $DIR/Makefile.in`; do
- awk '/^MACSRCS?[ ]*=/, /[^\\]$/' $DIR/$SDIR/Makefile.in | \
- tr ' ' '\012\012' | sed -n -e 's|.*[/)]\([A-Za-z0-9_]*\.c\).*|\1|' -e 's|\(.*\.c\)|'$DIR/$SDIR'/\1|p';
- awk '/^SRCS?[ ]*=/, /[^\\]$/' $DIR/$SDIR/Makefile.in | \
- tr ' ' '\012\012' | sed -n -e 's|.*[/)]\([A-Za-z0-9_]*\.c\).*|\1|' -e 's|\(.*\.c\)|'$DIR/$SDIR'/\1|p';
- ls -1 $DIR/$SDIR/*.h 2> /dev/null
- /bin/sh mac/macfiles.sh $DIR/$SDIR;
- done
-done
diff --git a/src/mac/mkbindirs.sh b/src/mac/mkbindirs.sh
deleted file mode 100644
index cdc2af202..000000000
--- a/src/mac/mkbindirs.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-#
-# This shell script creates the Macintosh binary hierarchies.
-
-topbin=$1
-shift
-
-for DIR do
- mkdir $topbin/$DIR
- for SDIR in `sed -n -e 's/MAC_SUBDIRS.*=//p' $DIR/Makefile.in`; do
- /bin/sh mac/mkbindirs.sh $topbin $DIR/$SDIR;
- done
-done