Merge commit 'master-20091122' into gtk
[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
10 xboard_SOURCES = backend.c backend.h backendz.h \
11                  book.c \
12                  callback.c callback.h \
13                  childio.c childio.h \
14                  common.h \
15                  frontend.h \
16                  gamelist.c \
17                  gettext.h  \
18                  interface.c interface.h \
19                  lists.c lists.h \
20                  moves.c moves.h \
21                  parser.l parser.h \
22                  pgntags.c \
23                  uci.c \
24                  xboard.c xboard.h \
25                  xedittags.c xedittags.h \
26                  engineoutput.c engineoutput.h \
27                  xengineoutput.c \
28                  xgamelist.c xgamelist.h\
29                  xhistory.c  xhistory.h \
30                  xoptions.c \
31                  $(ZPY)
32 xboard_LDADD = -lm  @XAW_LIBS@ @GTK_LIBS@
33
34 EXTRA_DIST = pixmaps bitmaps winboard\
35         xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man \
36         COPYRIGHT FAQ.html engine-intf.html ics-parsing.txt readme.htm readme_HGM.txt zippy.README
37
38 DISTCLEANFILES = stamp-h
39
40 AM_CPPFLAGS=-DINFODIR='"$(infodir)"' @GTK_CFLAGS@
41
42 info_TEXINFOS =  xboard.texi
43 xboard_TEXINFOS =  copyright.texi 
44 man6_MANS = xboard.man
45
46 xboard.man: xboard.texi copyright.texi gpl.texinfo version.texi
47         $(srcdir)/texi2man $(srcdir)/xboard.texi > xboard.man || (rm -f xboard.man ; false)