diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-01-23 22:01:26 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-01-23 22:42:21 +0000 |
commit | cc69b689ee7c274593c3c386a61a06ecb909431c (patch) | |
tree | 33b8c1eb3e3a4535244ff2489dc2bb37e865915e /Makefile.SH | |
parent | 42f7d22ff05ce2eb366c8ebf6b7142495d0f9e1f (diff) | |
download | perl-cc69b689ee7c274593c3c386a61a06ecb909431c.tar.gz |
suidperl goes.
Diffstat (limited to 'Makefile.SH')
-rw-r--r-- | Makefile.SH | 41 |
1 files changed, 2 insertions, 39 deletions
diff --git a/Makefile.SH b/Makefile.SH index 79fb16e536..6626e59c07 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -41,11 +41,6 @@ case "$0" in */*) cd `expr X$0 : 'X\(.*\)/'` ;; esac -case "$d_dosuid" in -*define*) suidperl='suidperl' ;; -*) suidperl='';; -esac - linklibperl='$(LIBPERL)' linklibperl_nonshr='' shrpldflags='$(LDDLFLAGS)' @@ -304,7 +299,7 @@ DYNALOADER = DynaLoader\$(OBJ_EXT) libs = $perllibs $cryptlib -public = perl\$(EXE_EXT) $suidperl utilities translators +public = perl\$(EXE_EXT) utilities translators shellflags = $shellflags @@ -532,15 +527,6 @@ all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) miniperl extra.pods $(private) $(unidat @echo " "; @echo " Everything is up to date. Type '$(MAKE) test' to run test suite." -sperl$(OBJ_EXT): perl.c $(h) - $(RMS) sperl.c - $(LNS) perl.c sperl.c - $(CCCMD) -DIAMSUID sperl.c - $(RMS) sperl.c - -sperl.i: perl.c $(h) - $(CCCMDSRC) -DIAMSUID -E perl.c > sperl.i - .PHONY: all translators utilities git_version.h: miniperl$(EXE_EXT) make_patchnum.pl @@ -548,7 +534,6 @@ git_version.h: miniperl$(EXE_EXT) make_patchnum.pl # make sure that we recompile perl.c if the git version changes perl$(OBJ_EXT): git_version.h -sperl$(OBJ_EXT): git_version.h translators: miniperl$(EXE_EXT) $(CONFIGPM) FORCE @echo " "; echo " Making x2p stuff"; cd x2p; $(LDLIBPTH) $(MAKE) all @@ -919,30 +904,8 @@ perl.gcov: perl.config.gcov microperl: $(MAKE) -f Makefile.micro -# This version, if specified in Configure, does ONLY those scripts which need -# set-id emulation. Suidperl must be setuid root. It contains the "taint" -# checks as well as the special code to validate that the script in question -# has been invoked correctly. - !NO!SUBS! -case "${osname}" in -aix*) -$spitshell >>Makefile <<'!NO!SUBS!' -suidperl$(EXE_EXT): $& sperl$(OBJ_EXT) perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT) - $(SHRPENV) $(LDLIBPTH) $(CC) -o suidperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) sperl$(OBJ_EXT) $(static_ext) $(LLIBPERL_NONSHR) $(LLIBPERL) `cat ext.libs` $(libs) - -!NO!SUBS! -;; -*) -$spitshell >>Makefile <<'!NO!SUBS!' -suidperl$(EXE_EXT): $& sperl$(OBJ_EXT) perlmain$(OBJ_EXT) $(LIBPERL) $(static_ext) ext.libs $(PERLEXPORT) - $(SHRPENV) $(LDLIBPTH) $(CC) -o suidperl $(CLDFLAGS) $(CCDLFLAGS) perlmain$(OBJ_EXT) sperl$(OBJ_EXT) $(static_ext) $(LLIBPERL) `cat ext.libs` $(libs) - -!NO!SUBS! -;; -esac - fi # Some environment have no system(), which mkpport uses. @@ -1222,7 +1185,7 @@ _mopup: -rm -f perl.pixie lib*.so.perl.pixie lib*.so.Addrs -rm -f perl.Addrs perl.Counts t/perl.Addrs t/perl.Counts *perl.xok -rm -f cygwin.c libperl*.def libperl*.dll cygperl*.dll *.exe.stackdump - -rm -f perl$(EXE_EXT) suidperl$(EXE_EXT) miniperl$(EXE_EXT) $(LIBPERL) libperl.* microperl + -rm -f perl$(EXE_EXT) miniperl$(EXE_EXT) $(LIBPERL) libperl.* microperl -rm -f opcode.h-old opnames.h-old pp.sym-old pp_proto.h-old -rm -f config.arch config.over $(DTRACE_H) |