1 # Automatically Generated Makefile by EDE.
4 # DO NOT MODIFY THIS FILE OR YOUR CHANGES MAY BE LOST.
5 # EDE is the Emacs Development Environment.
6 # http://cedet.sourceforge.net/ede.shtml
10 ede_FILES=Project.ede Makefile
12 tools_LISP=bison-wisent.el
14 wisent_LISP=wisent.el semantic-wisent.el wisent-comp.el wisent-expr.el wisent-grammar.el wisent-debug.el wisent-grammar-macros.el
15 LOADPATH= ../../speedbar/ ../../common/ ../bovine/ ../\
17 wy_SEMANTIC_GRAMMAR=wisent-java-tags.wy wisent-awk.wy wisent-calc.wy wisent-cim.wy wisent-java.wy wisent-python.wy
19 wy_SEMANTIC_GRAMMAR_EL=wisent-java-tags-wy.el wisent-awk-wy.el wisent-calc-wy.el wisent-cim-wy.el wisent-java-wy.el wisent-python-wy.el
20 languages_LISP=wisent-calc.el wisent-java.el wisent-java-tags.el wisent-python.el
22 DISTDIR=$(top)semantic-$(VERSION)/wisent
26 all: tools wisent wy languages
30 @echo "(add-to-list 'load-path nil)" > $@-compile-script
31 for loadpath in . ${LOADPATH}; do \
32 echo "(add-to-list 'load-path \"$$loadpath\")" >> $@-compile-script; \
34 @echo "(setq debug-on-error t)" >> $@-compile-script
35 "$(EMACS)" -batch --no-site-file -l $@-compile-script -f batch-byte-compile $^
38 wisent: $(wisent_LISP)
39 @echo "(add-to-list 'load-path nil)" > $@-compile-script
40 for loadpath in . ${LOADPATH}; do \
41 echo "(add-to-list 'load-path \"$$loadpath\")" >> $@-compile-script; \
43 @echo "(setq debug-on-error t)" >> $@-compile-script
44 "$(EMACS)" -batch --no-site-file -l $@-compile-script -f batch-byte-compile $^
47 wy: $(wy_SEMANTIC_GRAMMAR)
48 @echo "(add-to-list 'load-path nil)" > grammar-make-script
49 @for loadpath in . ${LOADPATH}; do \
50 echo "(add-to-list 'load-path \"$$loadpath\")" >> grammar-make-script; \
52 @echo "(require 'semantic-load)" >> grammar-make-script
53 @echo "(require 'semantic-grammar)" >> grammar-make-script
54 "$(EMACS)" -batch --no-site-file -l grammar-make-script -f semantic-grammar-batch-build-packages $^
57 languages: $(languages_LISP)
58 @echo "(add-to-list 'load-path nil)" > $@-compile-script
59 for loadpath in . ${LOADPATH}; do \
60 echo "(add-to-list 'load-path \"$$loadpath\")" >> $@-compile-script; \
62 @echo "(setq debug-on-error t)" >> $@-compile-script
63 "$(EMACS)" -batch --no-site-file -l $@-compile-script -f batch-byte-compile $^
73 dist: $(wy_SEMANTIC_GRAMMAR_EL)
75 cp $(tools_LISP) $(wisent_LISP) $(wy_SEMANTIC_GRAMMAR) $(wy_SEMANTIC_GRAMMAR_EL) $(languages_LISP) $(ede_FILES) $(DISTDIR)
78 @echo Makefile is out of date! It needs to be regenerated by EDE.
79 @echo If you have not modified Project.ede, you can use 'touch' to update the Makefile time stamp.