diff options
Diffstat (limited to 'ds9/unix/Makefile.in')
-rw-r--r-- | ds9/unix/Makefile.in | 81 |
1 files changed, 30 insertions, 51 deletions
diff --git a/ds9/unix/Makefile.in b/ds9/unix/Makefile.in index afea08a..03e4165 100644 --- a/ds9/unix/Makefile.in +++ b/ds9/unix/Makefile.in @@ -9,8 +9,6 @@ datarootdir = @datarootdir@ datadir = @datadir@ mandir = @mandir@ -include $(prefix)/make.pkgs - TCL_VERSION = @TCL_VERSION@ TCL_LIB_SPEC = @TCL_LIB_SPEC@ TCL_STUB_LIB_SPEC= @TCL_STUB_LIB_SPEC@ @@ -101,14 +99,14 @@ ds9 : ds9base ds9.zip cat ds9base ds9.zip > ds9 zip -A ds9 chmod 755 ds9 - cp ds9 ../../bin/. + cp ds9 $(prefix)/bin/. debug : ds9base ds9.zip $(RM) ds9 cat ds9base ds9.zip > ds9 zip -A ds9 chmod 755 ds9 - cp ds9 ../../bin/. + cp ds9 $(prefix)/bin/. else @@ -116,16 +114,16 @@ ds9 : ds9base ds9.zip $(RM) ds9 strip ds9base cp ds9base ds9 - cp ds9 ../../bin/. - cp ds9.zip ../../bin/. - cd ../../bin; codesign -s "$(ID)" ds9 + cp ds9 $(prefix)/bin/. + cp ds9.zip $(prefix)/bin/. + cd $(prefix)/bin; codesign -s "$(ID)" ds9 debug: ds9base ds9.zip $(RM) ds9 cp ds9base ds9 - cp ds9 ../../bin/. - cp ds9.zip ../../bin/. - cd ../../bin; codesign -s "$(ID)" ds9 + cp ds9 $(prefix)/bin/. + cp ds9.zip $(prefix)/bin/. + cd $(prefix)/bin; codesign -s "$(ID)" ds9 endif @@ -163,7 +161,7 @@ ds9base : $(OBJS) $(TK_LIBS) \ $(LIBS) -ds9.zip : $(ZDIR) $(FILES) +ds9.zip : $(ZDIR) framework $(FILES) $(RM) $@ find $(ZDIR) -depth -name "CVS" -exec rm -r {} \; zip -r ds9.zip $(ZDIR) @@ -172,65 +170,46 @@ tkAppInit.o : tkAppInit.c $(COMPILE) -DTK_LOCAL_APPINIT=SAOAppInit \ -DTK_LOCAL_MAIN_HOOK=SAOLocalMainHook -c tkAppInit.c -o $@ -tkAppInit.c : ../../tk$(TCL_VERSION)/unix/tkAppInit.c - cp ../../tk$(TCL_VERSION)/unix/tkAppInit.c . +tkAppInit.c : $(prefix)/tk$(TCL_VERSION)/unix/tkAppInit.c + cp $(prefix)/tk$(TCL_VERSION)/unix/tkAppInit.c . $(ZDIR) : + rm -rf $(ZDIR) mkdir $@ +framework : + cp -r ../library $(ZDIR)/. + cp -r ../msgs $(ZDIR)/. + cp -r ../doc $(ZDIR)/. + cp -r ../cmaps $(ZDIR)/. + cp -r ../template $(ZDIR)/. + $(ZDIR)/tcl$(TCL_VERSION) : $(prefix)/lib/tcl$(TCL_VERSION) - $(RM) -r $@ cp -r $(prefix)/lib/tcl$(TCL_VERSION) $(ZDIR)/. $(ZDIR)/tcl8 : $(prefix)/lib/tcl8 - $(RM) -r $@ cp -r $(prefix)/lib/tcl8 $(ZDIR)/. $(ZDIR)/tk$(TCL_VERSION) : $(prefix)/lib/tk$(TCL_VERSION) - $(RM) -r $@ cp -r $(prefix)/lib/tk$(TCL_VERSION) $(ZDIR)/. rm -rf $(ZDIR)/tk$(TCL_VERSION)/images rm -rf $(ZDIR)/tk$(TCL_VERSION)/demos -$(ZDIR)/tkblt : - $(RM) -r $@ - mkdir $(ZDIR)/tkblt - cp ../../tkblt/library/graph.tcl $(ZDIR)/tkblt/. - $(ZDIR)/tcllib : - $(RM) -r $@ mkdir $(ZDIR)/tcllib - cp -r ../../tcllib/modules/base64 $(ZDIR)/tcllib/. - cp -r ../../tcllib/modules/ftp $(ZDIR)/tcllib/. - cp -r ../../tcllib/modules/log $(ZDIR)/tcllib/. - cp -r ../../tcllib/modules/textutil $(ZDIR)/tcllib/. - cp -r ../../tcllib/modules/math $(ZDIR)/tcllib/. - -$(ZDIR)/tkcon : $(prefix)/lib/tkcon$(TKCONVER) - $(RM) -r $@ - cp -r $(prefix)/lib/tkcon$(TKCONVER) $@ - -$(ZDIR)/library : ../library/*.tcl - $(RM) -r $@ - cp -r ../library $(ZDIR)/. - -$(ZDIR)/msgs : ../msgs/* - $(RM) -r $@ - cp -r ../msgs $(ZDIR)/. - -$(ZDIR)/doc : ../doc/* ../doc/ref/* ../doc/user/* ../doc/release/* - $(RM) -r $@ - cd ..; find doc -name "*.html" | cpio -pdmuv unix/$(ZDIR) - cd ..; find doc -name "*.gif" | cpio -pdmuv unix/$(ZDIR) - cd ..; find doc -name "*.png" | cpio -pdmuv unix/$(ZDIR) + cp -r $(prefix)/tcllib/modules/base64 $(ZDIR)/tcllib/. + cp -r $(prefix)/tcllib/modules/ftp $(ZDIR)/tcllib/. + cp -r $(prefix)/tcllib/modules/log $(ZDIR)/tcllib/. + cp -r $(prefix)/tcllib/modules/textutil $(ZDIR)/tcllib/. + cp -r $(prefix)/tcllib/modules/math $(ZDIR)/tcllib/. -$(ZDIR)/cmaps : ../cmaps/* - $(RM) -r $@ - cp -r ../cmaps $(ZDIR)/. +$(ZDIR)/tkblt : + mkdir $(ZDIR)/tkblt + cp $(prefix)/tkblt/library/graph.tcl $(ZDIR)/tkblt/. -$(ZDIR)/template : ../template/* - $(RM) -r $@ - cd ..; find template -name "*.tpl" | cpio -pdmuv unix/$(ZDIR) +$(ZDIR)/tkcon : + mkdir $(ZDIR)/tkcon + cp $(prefix)/tkcon/*.tcl $@ #--------------------------cleanup |