1#AM_CPPFLAGS=-DDEBUG
2#AM_CXXFLAGS=-g
3
4bin_PROGRAMS = polyglot
5polyglot_SOURCES = mainloop.c attack.c board.c book.c book_make.c book_merge.c colour.c  engine.c epd.c fen.c gui.c game.c hash.c ini.c io.c line.c list.c main.c move.c move_do.c move_gen.c move_legal.c option.c parse.c pgheader.c pgn.c piece.c pipex_posix.c pipex_win32.c random.c san.c search.c square.c uci.c uci2uci.c util.c xboard2uci.c mainloop.h colour.h hash.h ini.h move_gen.h piece.h uci2uci.h attack.h config.h gui.h io.h move.h pipex.h uci.h board.h engine.h line.h move_legal.h random.h util.h book.h epd.h list.h option.h san.h book_make.h fen.h main.h parse.h search.h book_merge.h game.h move_do.h pgheader.h pgn.h square.h xboard2uci.h
6
7dist_doc_DATA = README README1.3 README1.4 README1.4w README1.4w10UCI book_format.html
8
9man6_MANS = polyglot.man
10
11polyglot.man: polyglot.pod
12	pod2man -c "" -r "" -s 6 polyglot.pod > polyglot.man
13
14README: polyglot.man
15	groff -t -e -mandoc -Tascii polyglot.man| col -bx > README
16
17deb:
18	dpkg-buildpackage
19
20rpm:
21	make dist
22	rpmbuild -ta polyglot-@VERSION@.tar.gz
23
24EXTRA_DIST=makefile.gcc makefile.ms polyglot.man polyglot.pod polyglot.spec debian/changelog debian/control debian/docs debian/README debian/compat debian/copyright debian/files debian/polyglot.substvars debian/rules
25
26