Initial Commit
[packages] / xemacs-packages / semantic / bovine / Makefile
1 # Automatically Generated Makefile by EDE.
2 # For use with: make
3 #
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
7
8
9 top=../
10 ede_FILES=Project.ede Makefile
11
12 by_SEMANTIC_GRAMMAR=c.by make.by scheme.by erlang.by
13 EMACS=emacs
14 LOADPATH= ../../common/ ../ ../../eieio/\
15     ../wisent/ ../../speedbar/
16 by_SEMANTIC_GRAMMAR_EL=semantic-c-by.el semantic-make-by.el semantic-scm-by.el semantic-erlang-by.el
17 bovinator_LISP=semantic-bovine.el bovine-grammar.el bovine-debug.el bovine-grammar-macros.el
18 EMACS=emacs
19 examples_MISC=semantic-skel.el skeleton.by
20 languages_LISP=semantic-c.el semantic-el.el semantic-make.el semantic-scm.el semantic-java.el erlang-edoc.el semantic-erlang.el
21 VERSION=2.0pre4
22 DISTDIR=$(top)semantic-$(VERSION)/bovine
23
24
25
26 all: by bovinator examples languages
27
28 .PHONY: by
29 by: $(by_SEMANTIC_GRAMMAR)
30         @echo "(add-to-list 'load-path nil)" > grammar-make-script
31         @for loadpath in . ${LOADPATH}; do \
32            echo "(add-to-list 'load-path \"$$loadpath\")" >> grammar-make-script; \
33         done;
34         @echo "(require 'semantic-load)" >> grammar-make-script
35         @echo "(require 'semantic-grammar)" >> grammar-make-script
36         "$(EMACS)" -batch --no-site-file -l grammar-make-script -f semantic-grammar-batch-build-packages $^
37
38 .PHONY: bovinator
39 bovinator: $(bovinator_LISP)
40         @echo "(add-to-list 'load-path nil)" > $@-compile-script
41         for loadpath in . ${LOADPATH}; do \
42            echo "(add-to-list 'load-path \"$$loadpath\")" >> $@-compile-script; \
43         done;
44         @echo "(setq debug-on-error t)" >> $@-compile-script
45         "$(EMACS)" -batch --no-site-file -l $@-compile-script -f batch-byte-compile $^
46
47 examples: 
48         @
49
50 .PHONY: languages
51 languages: $(languages_LISP)
52         @echo "(add-to-list 'load-path nil)" > $@-compile-script
53         for loadpath in . ${LOADPATH}; do \
54            echo "(add-to-list 'load-path \"$$loadpath\")" >> $@-compile-script; \
55         done;
56         @echo "(setq debug-on-error t)" >> $@-compile-script
57         "$(EMACS)" -batch --no-site-file -l $@-compile-script -f batch-byte-compile $^
58
59 tags: 
60
61
62 clean:
63         rm -f *.elc
64
65 .PHONY: dist
66
67 dist: $(by_SEMANTIC_GRAMMAR_EL)
68         mkdir $(DISTDIR)
69         cp $(by_SEMANTIC_GRAMMAR) $(by_SEMANTIC_GRAMMAR_EL) $(bovinator_LISP) $(examples_MISC) $(languages_LISP) $(ede_FILES) $(DISTDIR)
70
71 Makefile: Project.ede
72         @echo Makefile is out of date!  It needs to be regenerated by EDE.
73         @echo If you have not modified Project.ede, you can use 'touch' to update the Makefile time stamp.
74         @false
75
76
77
78 # End of Makefile