home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Examples / DriverKit / Adaptec1542B / Makefile.postamble < prev    next >
Makefile  |  1996-09-26  |  1KB  |  31 lines

  1. -include $(LOCALMAKEFILEDIR)/Makefile.local_postamble
  2. include /NextDeveloper/Makefiles/driverkit/Makefile.bundle_postamble
  3. -include /usr/local/driverTools/common.postamble
  4.  
  5. strip_driver:
  6.     @echo Stripping symbols from driver 
  7.     @echo `ls -l ./$(NAME).$(BUNDLE_EXTENSION)/$(NAME)_reloc` before    
  8.     @strip -S ./$(NAME).$(BUNDLE_EXTENSION)/$(NAME)_reloc
  9.     @echo `ls -l ./$(NAME).$(BUNDLE_EXTENSION)/$(NAME)_reloc` after    
  10.  
  11. bundle all::veredit genpkgfiles movehelp
  12.  
  13. clean::
  14.     rm -rf *.lproj/DriverHelp/*~
  15. #
  16. # Custom install rule for NeXT build environment.
  17. #
  18. after_install::
  19.     rm -f $(EXAMPLE_DIR)/SGS_ENV
  20.     rm -f $(EXAMPLE_DIR)/changes
  21.     sed -e 's/changes//' -e 's/SGS_ENV//' $(EXAMPLE_DIR)/Makefile > \
  22.          $(EXAMPLE_DIR)/Makefile.new
  23.     rm -f $(EXAMPLE_DIR)/Makefile
  24.     mv $(EXAMPLE_DIR)/Makefile.new $(EXAMPLE_DIR)/Makefile
  25.     chmod 0444 $(EXAMPLE_DIR)/Makefile
  26.     sed -e 's/, changes//' -e 's/, SGS_ENV//' $(EXAMPLE_DIR)/PB.project > \
  27.          $(EXAMPLE_DIR)/PB.project.new
  28.     rm -f $(EXAMPLE_DIR)/PB.project
  29.     mv $(EXAMPLE_DIR)/PB.project.new $(EXAMPLE_DIR)/PB.project
  30.     chmod 0444 $(EXAMPLE_DIR)/PB.project
  31.