Provide menus for editing WinBoard engine and server lists
[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 args.h \
22                  xedittags.c xedittags.h \
23                  engineoutput.c engineoutput.h \
24                  xengineoutput.c \
25                  evalgraph.c evalgraph.h xevalgraph.c xevalgraph.h\
26                  xgamelist.c xgamelist.h\
27                  xhistory.c  xhistory.h \
28                  xoptions.c \
29                  filebrowser/selfile.c filebrowser/selfile.h \
30                  filebrowser/draw.c filebrowser/path.c \
31                  filebrowser/dir.c filebrowser/xstat.h \
32                  $(ZPY)
33 xboard_LDADD = -lm @XAW_LIBS@ @X_LIBS@
34
35 EXTRA_DIST = pixmaps bitmaps winboard sounds filebrowser/README \
36         xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man \
37         COPYRIGHT FAQ.html engine-intf.html ics-parsing.txt readme.htm zippy.README
38
39 DISTCLEANFILES = stamp-h
40
41 AM_CPPFLAGS=-DINFODIR='"$(infodir)"' @X_CFLAGS@  -DSYSCONFDIR='"$(sysconfdir)"'
42
43 info_TEXINFOS =  xboard.texi
44 xboard_TEXINFOS =  copyright.texi 
45 man6_MANS = xboard.man
46
47 dist_sysconf_DATA = xboard.conf
48
49 icondir = $(datadir)/icons/hicolor/48x48/apps
50 dist_icon_DATA = xboard.png
51 svgicondir = $(datadir)/icons/hicolor/scalable/apps
52 dist_svgicon_DATA = xboard.svg
53
54
55 xboard.man: xboard.texi copyright.texi gpl.texinfo version.texi
56         $(srcdir)/texi2man $(srcdir)/xboard.texi > xboard.man || (rm -f xboard.man ; false)