Print this page
first pass

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/gssapi/include/Makefile
          +++ new/usr/src/uts/common/gssapi/include/Makefile
↓ open down ↓ 20 lines elided ↑ open up ↑
  21   21  #
  22   22  #
  23   23  # Copyright (c) 1997-2001 by Sun Microsystems, Inc.
  24   24  # All rights reserved.
  25   25  #
  26   26  #pragma ident   "%Z%%M% %I%     %E% SMI"
  27   27  
  28   28  # include global definitions
  29   29  include ../../../../Makefile.master
  30   30  
  31      -# EXPORT DELETE START
  32      -
  33   31  all:
  34      -        @$(ECHO) " This Makefile is used to clean up the source tree\n" \
  35      -                "for export distribution.\n" \
  36      -                "[Usage]: make [EXPORT_SRC] [CRYPT_SRC]\n\n" \
  37      -                "WARNING: EXPORT_SRC, CRYPT_SRC targets change the\n" \
  38      -                "source tree and remove the Makefile."
  39      -
  40      -# Special target to clean up the source tree for export distribution
  41      -# Warning: This target changes the source tree and removes this Makefile
  42      -
  43      -EXPORT_SRC:
  44      -        $(RM) gssapiP_dummy.h+ mechglueP.h+
  45      -        sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
  46      -                < gssapiP_dummy.h > gssapiP_dummy.h+
  47      -        $(MV) gssapiP_dummy.h+ gssapiP_dummy.h
  48      -        sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
  49      -                < mechglueP.h > mechglueP.h+
  50      -        $(MV) mechglueP.h+ mechglueP.h
  51      -        $(RM) Makefile
  52      -        $(CHMOD) 444 gssapiP_dummy.h mechglueP.h
  53      -
  54      -# CRYPT DELETE START
  55      -# Special target to clean up the source tree for export distribution
  56      -# Warning: This target changes the source tree.
  57      -
  58      -CRYPT_SRC:
  59      -        $(RM) mechglueP.h+ Makefile+
  60      -        sed -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
  61      -                < mechglueP.h > mechglueP.h+
  62      -        $(MV) mechglueP.h+ mechglueP.h
  63      -        sed -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \
  64      -                < Makefile > Makefile+
  65      -        $(MV) Makefile+ Makefile
  66      -        $(CHMOD) 444 mechglueP.h Makefile
  67      -        
  68      -# CRYPT DELETE END
  69      -# EXPORT DELETE END
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX