Print this page
first pass

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libsasl/Makefile
          +++ new/usr/src/lib/libsasl/Makefile
↓ open down ↓ 70 lines elided ↑ open up ↑
  71   71  $(SUBDIRS): FRC
  72   72          @cd $@; pwd; $(MAKE) $(TARGET)
  73   73  
  74   74  FRC:
  75   75  
  76   76  THIRDPARTYLICENSE: LICENSE.txt
  77   77          $(SED) -n '/Carnegie Mellon/,$$p' LICENSE.txt > $@
  78   78  
  79   79  CLOBBERFILES += THIRDPARTYLICENSE
  80   80  
  81      -# EXPORT DELETE START
  82      -# CRYPT DELETE START
  83      -# Special target to clean up the source tree for export distribution
  84      -# Warning: This target changes the source tree
  85      -EXPORT_SRC:
  86      -        $(RM) Makefile+ \
  87      -                lib/client.c+ \
  88      -                lib/server.c+ \
  89      -                lib/common.c+ \
  90      -                lib/saslint.h+ \
  91      -                include/plugin_common.h+
  92      -
  93      -        $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
  94      -                < lib/client.c > lib/client.c+
  95      -        $(MV) lib/client.c+ lib/client.c
  96      -
  97      -        $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
  98      -                < lib/server.c > lib/server.c+
  99      -        $(MV) lib/server.c+ lib/server.c
 100      -
 101      -        $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
 102      -                < lib/common.c > lib/common.c+
 103      -        $(MV) lib/common.c+ lib/common.c
 104      -
 105      -        $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
 106      -                < lib/saslint.h > lib/saslint.h+
 107      -        $(MV) lib/saslint.h+ lib/saslint.h
 108      -
 109      -        $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
 110      -                < include/plugin_common.h > include/plugin_common.h+
 111      -        $(MV) include/plugin_common.h+ include/plugin_common.h
 112      -
 113      -        $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
 114      -                < Makefile > Makefile+
 115      -        $(MV) Makefile+ Makefile
 116      -
 117      -        $(CHMOD) 444 Makefile \
 118      -                lib/client.c \
 119      -                lib/server.c \
 120      -                lib/common.c \
 121      -                lib/saslint.h \
 122      -                include/plugin_common.h
 123      -
 124      -CRYPT_SRC:
 125      -        $(RM) Makefile+ lib/common.c+
 126      -
 127      -        $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
 128      -                < lib/common.c | $(SED) -e "/EXPORT DELETE/d" \
 129      -                > lib/common.c+
 130      -        $(MV) lib/common.c+ lib/common.c
 131      -
 132      -        $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
 133      -                < lib/client.c | $(SED) -e "/EXPORT DELETE/d" \
 134      -                > lib/client.c+
 135      -        $(MV) lib/client.c+ lib/client.c
 136      -
 137      -        $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
 138      -                < lib/server.c | $(SED) -e "/EXPORT DELETE/d" \
 139      -                > lib/server.c+
 140      -        $(MV) lib/server.c+ lib/server.c
 141      -
 142      -        $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
 143      -                < lib/saslint.h | $(SED) -e "/EXPORT DELETE/d" \
 144      -                > lib/saslint.h+
 145      -        $(MV) lib/saslint.h+ lib/saslint.h
 146      -
 147      -        $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
 148      -                < include/plugin_common.h | $(SED) -e "/EXPORT DELETE/d" \
 149      -                > include/plugin_common.h+
 150      -        $(MV) include/plugin_common.h+ include/plugin_common.h
 151      -
 152      -        $(SED) -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \
 153      -                < Makefile | $(SED) -e "/^# EXPORT DELETE/d" > Makefile+
 154      -        $(MV) Makefile+ Makefile
 155      -
 156      -        $(CHMOD) 444 Makefile \
 157      -                lib/client.c \
 158      -                lib/server.c \
 159      -                lib/common.c \
 160      -                lib/saslint.h \
 161      -                include/plugin_common.h
 162      -
 163      -# CRYPT DELETE END
 164      -# EXPORT DELETE END
 165      -
 166   81  include ../Makefile.targ
 167   82  
 168   83  .PARALLEL: $(SUBDIRS)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX