Merge commit 'v4.4.1.20091019' 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                  xengineoutput.c \
27                  xgamelist.c xgamelist.h\
28                  xhistory.c  xhistory.h \
29                  xoptions.c \
30                  $(ZPY)
31 xboard_LDADD = -lm  @XAW_LIBS@ @GTK_LIBS@
32
33 EXTRA_DIST = pixmaps  bitmaps shogibitmaps \
34         xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man \
35         COPYRIGHT FAQ.html engine-intf.html ics-parsing.txt readme.htm readme_HGM.txt zippy.README
36
37 DISTCLEANFILES = stamp-h
38
39 AM_CPPFLAGS=-DINFODIR='"$(infodir)"' @GTK_CFLAGS@
40
41 info_TEXINFOS =  xboard.texi
42 xboard_TEXINFOS =  copyright.texi 
43 man6_MANS = xboard.man
44
45 xboard.man: xboard.texi copyright.texi gpl.texinfo version.texi
46         $(srcdir)/texi2man $(srcdir)/xboard.texi > xboard.man || (rm -f xboard.man ; false)