worked on premove bug
[xboard.git] / Makefile.am
1
2 if ZIPPY
3   ZPY = zippy.c zippy.h
4 else
5   ZPY =
6 endif
7
8 bin_PROGRAMS = xboard
9 xboard_SOURCES = backend.c backend.h backendz.h \
10                  book.c \
11                  childio.c childio.h \
12                  common.h \
13                  frontend.h \
14                  gamelist.c \
15                  gettext.h  \
16                  lists.c lists.h \
17                  moves.c moves.h \
18                  parser.l parser.h \
19                  pgntags.c \
20                  uci.c \
21                  xboard.c xboard.h \
22                  xedittags.c xedittags.h \
23                  xengineoutput.c \
24                  xgamelist.c xgamelist.h\
25                  xhistory.c  xhistory.h \
26                  xoptions.c \
27                  $(ZPY)
28 xboard_LDADD = -lm @X_PRE_LIBS@ @XAW_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@
29
30 EXTRA_DIST = pixmaps  bitmaps shogibitmaps \
31         xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man \
32         COPYRIGHT FAQ.html engine-intf.html ics-parsing.txt readme.htm readme_HGM.txt zippy.README
33
34 DISTCLEANFILES = stamp-h
35
36 AM_CPPFLAGS=-DINFODIR='"$(infodir)"' @X_CFLAGS@
37
38 info_TEXINFOS =  xboard.texi
39 xboard_TEXINFOS =  copyright.texi 
40 man6_MANS = xboard.man
41
42 xboard.man: xboard.texi copyright.texi gpl.texinfo version.texi
43         $(srcdir)/texi2man $(srcdir)/xboard.texi > xboard.man || (rm -f xboard.man ; false)