*** UI/Makefile	Tue Mar  4 22:33:21 1997	1.1
--- UI/Makefile	Tue Aug  6 09:10:01 1996
***************
*** 19,49 ****
  	echo '# export TCL_LIBRARY TK_LIBRARY' >> bsvc
  	echo 'ARGS=$$*' >> bsvc
  	echo 'export ARGS' >> bsvc
! 	echo 'exec $(WISH) -f $(INSTALL_DIR)/UI/bsvc.tk' >> bsvc
  	chmod +x bsvc
  
  bsvc.tk: Makefile
  	echo '#!$(WISH) -f' > bsvc.tk
! 	echo 'set Program(InstallDir) $(INSTALL_DIR)' >> bsvc.tk
! 	echo 'set Program(BitmapDir) $$Program(InstallDir)/UI/bitmaps' >> bsvc.tk
! 	echo 'set Program(HelpDir) $$Program(InstallDir)/UI/help' >> bsvc.tk
! 	echo 'set Program(LibDir) $$Program(InstallDir)/UI' >> bsvc.tk
  	echo 'set Program(WWWBrowser) "$(WWW_BROWSER)"' >> bsvc.tk
  	echo 'set Program(WWWHomePage) "$(WWW_HOME_PAGE)"' >> bsvc.tk
  	echo 'set Program(StopIndicator) C:\\BSVC\\bin\\STOP' >> bsvc.tk
  	echo 'if {$$tcl_version >= 7.5 && $$tcl_platform(os) == "Windows 95"} {' >> bsvc.tk
! 	echo '  option readfile $$Program(InstallDir)/UI/bsvc.ad.win32 40' >> bsvc.tk
  	echo '} else {' >> bsvc.tk
! 	echo '  option readfile $$Program(InstallDir)/UI/bsvc.ad 40' >> bsvc.tk
  	echo '}' >> bsvc.tk
! 	echo 'source $$Program(InstallDir)/UI/main.tk' >> bsvc.tk
  
  install: bsvc bsvc.tk
! 	$(MKDIR) $(INSTALL_DIR)/UI
! 	$(MKDIR) $(INSTALL_DIR)/UI/bitmaps
! 	$(MKDIR) $(INSTALL_DIR)/UI/help
! 	$(INSTALL) *.tk *.ad $(INSTALL_DIR)/UI
! 	$(INSTALL) bitmaps/* $(INSTALL_DIR)/UI/bitmaps
! 	$(INSTALL) help/* $(INSTALL_DIR)/UI/help
  	$(INSTALL) bsvc $(INSTALL_DIR)
  
--- 19,49 ----
  	echo '# export TCL_LIBRARY TK_LIBRARY' >> bsvc
  	echo 'ARGS=$$*' >> bsvc
  	echo 'export ARGS' >> bsvc
! 	echo 'exec $(WISH) -f $(LIB_DIR)/bsvc.tk' >> bsvc
  	chmod +x bsvc
  
  bsvc.tk: Makefile
  	echo '#!$(WISH) -f' > bsvc.tk
! 	echo 'set Program(InstallDir) $(LIB_DIR)' >> bsvc.tk
! 	echo 'set Program(BitmapDir) $$Program(InstallDir)/bitmaps' >> bsvc.tk
! 	echo 'set Program(HelpDir) $$Program(InstallDir)/help' >> bsvc.tk
! 	echo 'set Program(LibDir) $$Program(InstallDir)' >> bsvc.tk
  	echo 'set Program(WWWBrowser) "$(WWW_BROWSER)"' >> bsvc.tk
  	echo 'set Program(WWWHomePage) "$(WWW_HOME_PAGE)"' >> bsvc.tk
  	echo 'set Program(StopIndicator) C:\\BSVC\\bin\\STOP' >> bsvc.tk
  	echo 'if {$$tcl_version >= 7.5 && $$tcl_platform(os) == "Windows 95"} {' >> bsvc.tk
! 	echo '  option readfile $$Program(InstallDir)/bsvc.ad.win32 40' >> bsvc.tk
  	echo '} else {' >> bsvc.tk
! 	echo '  option readfile $$Program(InstallDir)/bsvc.ad 40' >> bsvc.tk
  	echo '}' >> bsvc.tk
! 	echo 'source $$Program(InstallDir)/main.tk' >> bsvc.tk
  
  install: bsvc bsvc.tk
! 	$(MKDIR) $(LIB_DIR)
! 	$(MKDIR) $(LIB_DIR)/bitmaps
! 	$(MKDIR) $(LIB_DIR)/help
! 	$(INSTALL) *.tk *.ad $(LIB_DIR)
! 	$(INSTALL) bitmaps/* $(LIB_DIR)/bitmaps
! 	$(INSTALL) help/* $(LIB_DIR)/help
  	$(INSTALL) bsvc $(INSTALL_DIR)
  
