Make tmm-menubar work for the Buffers menu again.
[bpt/emacs.git] / test / cedet / tests / test.make
CommitLineData
74ea13c1
CY
1# Test makefile -*- makefile -*-
2
3top=
4ede_FILES=Project.ede Makefile
5
6example_MISC=semantic-skel.el skeleton.bnf
7init_LISP=semantic-load.el
8DISTDIR=$(top)semantic-$(VERSION)
9
10# really goofy & variables tabs
11A= B
12A =B
13A=B C
14A=B\
15 C
16
17A= http://${B} \
18 ftp://${B}
19B= test
20
21all: example semantic Languages tools senator semantic.info
22
23test ${B}: foo bar
24 @echo ${A}
25
26example:
27 @
28
29init: $(init_LISP)
30 @echo "(add-to-list 'load-path nil)" > $@-compile-script
31 @if test ! -z "${LOADPATH}" ; then\
32 for loadpath in ${LOADPATH}; do \
33 echo "(add-to-list 'load-path \"$$loadpath\")" >> $@-compile-script; \
34 done;\
35 fi
36 @echo "(setq debug-on-error t)" >> $@-compile-script
37 $(EMACS) -batch -l $@-compile-script -f batch-byte-compile $^
38
39include tesset.mk tusset.mk
40include oneset.mk
41
42ifdef SOME_SYMBOL
43 VAR1 = foo
44else
45 VAR1 = bar
46endif
47
48ifndef SOME_OTHER_SYMBOL
49 VAR1 = baz
50endif
51
52ifeq ($(VAR1), foo)
53 VAR2 = gleep
54else
55 ifneq ($(VAR1), foo)
56 VAR2 = glop
57 endif
58endif
59
60# End of Makefile