blob: 711161b880a31d9d2d9d8bf9fec19a1050412068 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
BUILT_SOURCES = chess-auto.el
CLEANFILES = TAGS chess-auto.el auto-autoloads.el
EXTRA_DIST = autogen.sh chess-auto.el.in chess-eco.pos doc/chess.pdf
DISTCLEANFILES = chess-eco.fen doc/chess.info doc/chess.pdf $(TESTS)
info_TEXINFOS = doc/chess.texi
dist_lisp_DATA = _pkg.el chess-eco.fen
dist_lisp_LISP = \
chess.el \
chess-ai.el \
chess-algebraic.el \
chess-announce.el \
chess-auto.el \
chess-autosave.el \
chess-chat.el \
chess-clock.el \
chess-common.el \
chess-crafty.el \
chess-database.el \
chess-display.el \
chess-engine.el \
chess-epd.el \
chess-fen.el \
chess-file.el \
chess-game.el \
chess-german.el \
chess-gnuchess.el \
chess-ics.el \
chess-ics1.el \
chess-images.el \
chess-input.el \
chess-irc.el \
chess-kibitz.el \
chess-link.el \
chess-log.el \
chess-message.el \
chess-module.el \
chess-network.el \
chess-none.el \
chess-pgn.el \
chess-phalanx.el \
chess-plain.el \
chess-ply.el \
chess-pos.el \
chess-puzzle.el \
chess-random.el \
chess-scid.el \
chess-sjeng.el \
chess-sound.el \
chess-test.el \
chess-transport.el \
chess-tutorial.el \
chess-ucb.el \
chess-var.el \
chess-eco.el
chess-auto.el: $(ELFILES) chess-auto.el.in
cp -p $(srcdir)/chess-auto.el.in $@
-rm $(top_builddir)/chess-auto.elc
$(EMACS) --no-init-file --no-site-file -batch \
-L $(top_builddir) -l chess-auto -f generate-autoloads \
$(top_builddir)/chess-auto.el $(srcdir)
chess-eco.fen: chess-eco.pos chess-eco.el
$(EMACS) --no-init-file --no-site-file -batch \
-L $(srcdir) -l chess-eco -f chess-generate-fen-table \
chess-eco.pos chess-eco.fen
TESTS = chess-test
DATABASE = $(shell test -r test/largedb.sg3 && echo test/largedb || echo test/historic.pgn)
START = $(shell test -r test/largedb.sg3 && perl -e 'print int(rand(4000000)), "\n";' || echo 1)
COUNT = 100000
chess-test:
echo "$(EMACS) -batch -L $(srcdir) -l chess-test.el -f chess-test '$(DATABASE)' $(START) $(COUNT); rm -f $(top_builddir)/chess-test" > $@
chmod u+x $@
TAGS: $(dist_lisp_LISP)
@etags $(dist_lisp_LISP)
@echo TAGS rebuilt.
# Makefile.am ends here
|