Gnus -- Minor tweak define #'time-to-seconds
[packages] / xemacs-packages / semantic / Makefile.upstream
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 EMACS=emacs
13 LOADPATH= ../common/  ./ ../eieio/  ../ede/\
14     wisent/ bovine/  ../speedbar/
15 LOADDEFS=semantic-loaddefs.el
16 LOADDIRS=. bovine wisent
17 metagrammar_SEMANTIC_GRAMMAR=semantic-grammar.wy
18 EMACS=emacs
19 metagrammar_SEMANTIC_GRAMMAR_EL=semantic-grammar-wy.el
20 maintenance_LISP=semantic-ede-grammar.el
21 EMACS=emacs
22 scripts_MISC=semanticdb.sh
23 example_MISC=semantic-example.el semanticdb-skel.el
24 init_LISP=semantic-load.el
25 semantic_LISP=semantic.el semantic-util.el semantic-ctxt.el semantic-lex.el semantic-edit.el semantic-fw.el semantic-grammar.el semantic-tag.el semantic-find.el semantic-format.el semantic-complete.el semantic-sort.el semantic-decorate.el semantic-tag-file.el semantic-doc.el semantic-tag-ls.el semantic-ast.el semantic-lex-spp.el semantic-dep.el
26 Languages_LISP=semantic-texi.el semantic-html.el
27 tools_LISP=semantic-imenu.el semantic-sb.el semanticdb.el document.el document-vars.el semantic-chart.el semantic-util-modes.el semantic-analyze.el semantic-ia.el semantic-cb.el semantic-ia-sb.el semanticdb-file.el semanticdb-search.el semanticdb-mk.el semanticdb-el.el semanticdb-system.el semantic-debug.el semanticdb-find.el semantic-regtest.el semantic-idle.el semantic-decorate-mode.el semanticdb-ebrowse.el semantic-utest.el semantic-adebug.el semantic-adebug-eieio.el semantic-mru-bookmark.el
28 senator_LISP=senator.el
29 misc_AUX=INSTALL NEWS ChangeLog AUTHORS ONEWS renamelist.txt
30 VERSION=2.0pre4
31 DISTDIR=$(top)semantic-$(VERSION)
32
33
34
35 all: autoloads metagrammar scripts example init semantic Languages tools senator wisent Tests Documentation bovinator
36
37 .PHONY: autoloads
38 autoloads: 
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; \
42         done;
43         @echo "(require 'cedet-autogen)" >> $@-compile-script
44         "$(EMACS)" -batch --no-site-file -l $@-compile-script -f cedet-batch-update-autoloads $(LOADDEFS) $(LOADDIRS)
45
46 .PHONY: metagrammar
47 metagrammar: $(metagrammar_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; \
51         done;
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 $^
55
56 .PHONY: maintenance
57 maintenance: $(maintenance_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; \
61         done;
62         @echo "(setq debug-on-error t)" >> $@-compile-script
63         "$(EMACS)" -batch --no-site-file -l $@-compile-script -f batch-byte-compile $^
64
65 scripts: 
66         @
67
68 example: 
69         @
70
71 .PHONY: init
72 init: $(init_LISP)
73         @echo "(add-to-list 'load-path nil)" > $@-compile-script
74         for loadpath in . ${LOADPATH}; do \
75            echo "(add-to-list 'load-path \"$$loadpath\")" >> $@-compile-script; \
76         done;
77         @echo "(setq debug-on-error t)" >> $@-compile-script
78         "$(EMACS)" -batch --no-site-file -l $@-compile-script -f batch-byte-compile $^
79
80 .PHONY: semantic
81 semantic: $(semantic_LISP)
82         @echo "(add-to-list 'load-path nil)" > $@-compile-script
83         for loadpath in . ${LOADPATH}; do \
84            echo "(add-to-list 'load-path \"$$loadpath\")" >> $@-compile-script; \
85         done;
86         @echo "(setq debug-on-error t)" >> $@-compile-script
87         "$(EMACS)" -batch --no-site-file -l $@-compile-script -f batch-byte-compile $^
88
89 .PHONY: Languages
90 Languages: $(Languages_LISP)
91         @echo "(add-to-list 'load-path nil)" > $@-compile-script
92         for loadpath in . ${LOADPATH}; do \
93            echo "(add-to-list 'load-path \"$$loadpath\")" >> $@-compile-script; \
94         done;
95         @echo "(setq debug-on-error t)" >> $@-compile-script
96         "$(EMACS)" -batch --no-site-file -l $@-compile-script -f batch-byte-compile $^
97
98 .PHONY: tools
99 tools: $(tools_LISP)
100         @echo "(add-to-list 'load-path nil)" > $@-compile-script
101         for loadpath in . ${LOADPATH}; do \
102            echo "(add-to-list 'load-path \"$$loadpath\")" >> $@-compile-script; \
103         done;
104         @echo "(setq debug-on-error t)" >> $@-compile-script
105         "$(EMACS)" -batch --no-site-file -l $@-compile-script -f batch-byte-compile $^
106
107 .PHONY: senator
108 senator: $(senator_LISP)
109         @echo "(add-to-list 'load-path nil)" > $@-compile-script
110         for loadpath in . ${LOADPATH}; do \
111            echo "(add-to-list 'load-path \"$$loadpath\")" >> $@-compile-script; \
112         done;
113         @echo "(setq debug-on-error t)" >> $@-compile-script
114         "$(EMACS)" -batch --no-site-file -l $@-compile-script -f batch-byte-compile $^
115
116 .PHONY:wisent
117 wisent:
118         cd wisent; $(MAKE)
119
120 .PHONY:Tests
121 Tests:
122         cd tests; $(MAKE)
123
124 .PHONY:Documentation
125 Documentation:
126         cd doc; $(MAKE)
127
128 .PHONY:bovinator
129 bovinator:
130         cd bovine; $(MAKE)
131
132 tags: 
133         cd wisent/; make $(MFLAGS) $@
134         cd tests/; make $(MFLAGS) $@
135         cd doc/; make $(MFLAGS) $@
136         cd bovine/; make $(MFLAGS) $@
137
138
139 clean:
140         rm -f *.elc
141
142 .PHONY: dist
143
144 dist: autoloads $(metagrammar_SEMANTIC_GRAMMAR_EL)
145         mkdir $(DISTDIR)
146         cp semantic-loaddefs.el $(metagrammar_SEMANTIC_GRAMMAR) $(metagrammar_SEMANTIC_GRAMMAR_EL) $(maintenance_LISP) $(scripts_MISC) $(example_MISC) $(init_LISP) $(semantic_LISP) $(Languages_LISP) $(tools_LISP) $(senator_LISP) $(misc_AUX) $(ede_FILES) $(DISTDIR)
147         cd wisent; $(MAKE) $(MFLAGS) DISTDIR=$(DISTDIR)/wisent dist
148         cd tests; $(MAKE) $(MFLAGS) DISTDIR=$(DISTDIR)/tests dist
149         cd doc; $(MAKE) $(MFLAGS) DISTDIR=$(DISTDIR)/doc dist
150         cd bovine; $(MAKE) $(MFLAGS) DISTDIR=$(DISTDIR)/bovine dist
151
152 Makefile: Project.ede
153         @echo Makefile is out of date!  It needs to be regenerated by EDE.
154         @echo If you have not modified Project.ede, you can use 'touch' to update the Makefile time stamp.
155         @false
156
157
158
159 # End of Makefile