diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-02-27 21:47:22 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-02-27 21:47:22 (GMT) |
commit | d781bf3954a1c9014dc596f0228ae52c08d66e79 (patch) | |
tree | 9f6fd82e5166881b24569fa19212ccdc940203a1 | |
parent | ce6caae3395949230e685564a975433fb2b3cd32 (diff) | |
download | blt-d781bf3954a1c9014dc596f0228ae52c08d66e79.zip blt-d781bf3954a1c9014dc596f0228ae52c08d66e79.tar.gz blt-d781bf3954a1c9014dc596f0228ae52c08d66e79.tar.bz2 |
add ds9 parsers
-rw-r--r-- | ds9/make.include | 26 | ||||
-rw-r--r-- | make.include | 15 |
2 files changed, 37 insertions, 4 deletions
diff --git a/ds9/make.include b/ds9/make.include index c49aa53..10facd8 100644 --- a/ds9/make.include +++ b/ds9/make.include @@ -1,3 +1,20 @@ +#--------------------------parsers + +parsers : zoomparser + +zoomparser : ../library/zoomparser.tcl ../library/zoomlex.tcl + +../library/zoomparser.tcl : ../parsers/zoomparser.tac + tclsh $(prefix)/taccle/taccle.tcl -p zoom -d -v -w $< + mv ../parsers/zoomparser*.tcl ../library/. + +../library/zoomlex.tcl : ../parsers/zoomlex.fcl + tclsh $(prefix)/fickle/fickle.tcl -P zoom $< + mv ../parsers/zoomlex.tcl ../library/. + +#%.tcl: %.fcl +#%.tcl: %.tac + #--------------------------framework $(LIBDIR)/library : $(prefix)/ds9/library/*.tcl @@ -65,9 +82,14 @@ $(LIBDIR)/math : $(prefix)/tcllib/modules/math #--------------------------distclean -.PHONY : distclean +.PHONY : distclean parsersclean -distclean: clean +distclean: clean parsersclean -rm -f Makefile config.cache config.log config.status -rm -rf autom4te.cache +parsersclean: + -rm -f ../library/*.output ../library/*.tab.tcl + -rm -f ../library/zoomparser.tcl ../library/zoomlex.tcl + -rm -f ../parsers/*.output ../parsers/*.tcl + diff --git a/make.include b/make.include index bac0215..936f306 100644 --- a/make.include +++ b/make.include @@ -406,6 +406,13 @@ tktable/Makefile : $(STD) \ $(CACHE) +#-------------------------- ds9parsers + +ds9parsers : + @echo "" + @echo "*** $@ ***" + $(MAKE) -C ds9/$(OS) parsers + #-------------------------- language .PHONY : language @@ -421,7 +428,6 @@ language: grep 'msgcat::mc' library/*.tcl | tclsh8.6 util/mergedict.tcl ja euc-jp; \ grep 'msgcat::mc' library/*.tcl | tclsh8.6 util/mergedict.tcl zh big5 - #-------------------------- scrub .PHONY : scrub @@ -433,7 +439,7 @@ scrub : #-------------------------- clean .PHONY : clean -.PHONY : dirsclean ds9clean localclean +.PHONY : dirsclean ds9clean ds9parsersclean localclean .PHONY : tcliisclean tclsignalclean .PHONY : tclxmlclean tclzvfsclean tlsclean .PHONY : tkbltclean tkconclean tkhtml1clean tkimgclean @@ -457,6 +463,11 @@ ds9clean : @echo "*** $@ ***" $(MAKE) -C ds9/$(OS) clean +ds9parsersclean : + @echo "" + @echo "*** $@ ***" + $(MAKE) -C ds9/$(OS) parsersclean + localclean : @echo "" @echo "*** $@ ***" |