1 # test.make --- Semantic unit test for Make -*- makefile -*-
3 # Copyright (C) 2001-2002, 2010-2017 Free Software Foundation, Inc.
5 # Author: Eric M. Ludlam <eric@siege-engine.com>
7 # This file is part of GNU Emacs.
9 # GNU Emacs is free software: you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation, either version 3 of the License, or
12 # (at your option) any later version.
14 # GNU Emacs is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
23 ede_FILES
=Project.ede Makefile
25 example_MISC
=semantic-skel.el skeleton.bnf
26 init_LISP
=semantic-load.el
27 DISTDIR
=$(top
)semantic-
$(VERSION
)
29 # really goofy & variables tabs
40 all: example semantic Languages tools senator semantic.
info
49 @echo
"(add-to-list 'load-path nil)" > $@
-compile-script
50 @if
test ! -z
"${LOADPATH}" ; then\
51 for loadpath in
${LOADPATH}; do \
52 echo
"(add-to-list 'load-path \"$$loadpath\")" >> $@
-compile-script
; \
55 @echo
"(setq debug-on-error t)" >> $@
-compile-script
56 $(EMACS
) -batch
-l
$@
-compile-script
-f batch-byte-compile
$^
58 include tesset.mk tusset.mk
67 ifndef SOME_OTHER_SYMBOL