Add clear-board button to piece-menu popup
[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 args.h \
25                  xedittags.c xedittags.h \
26                  engineoutput.c engineoutput.h \
27                  xengineoutput.c \
28                  evalgraph.c evalgraph.h xevalgraph.c \
29                  xgamelist.c xgamelist.h\
30                  xhistory.c  xhistory.h \
31                  xoptions.c \
32                  gtk-interface.xml \
33                  xpromo.c \
34                  $(ZPY)
35
36 xboard_LDADD = -lm  @XAW_LIBS@ @GTK_LIBS@
37
38 EXTRA_DIST = pixmaps bitmaps svg sounds \
39         xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man xboard.conf \
40         COPYRIGHT FAQ.html engine-intf.html ics-parsing.txt readme.htm readme_HGM.txt zippy.README
41
42 DISTCLEANFILES = stamp-h
43
44
45 AM_CPPFLAGS=-DINFODIR='"$(infodir)"' @GTK_CFLAGS@  -DSYSCONFDIR='"$(sysconfdir)"'
46
47
48 info_TEXINFOS =  xboard.texi
49 xboard_TEXINFOS =  copyright.texi 
50 man6_MANS = xboard.man
51
52
53 dist_sysconf_DATA = xboard.conf
54
55
56 xboard.man: xboard.texi copyright.texi gpl.texinfo version.texi
57         $(srcdir)/texi2man $(srcdir)/xboard.texi > xboard.man || (rm -f xboard.man ; false)