3c4595e7da5d6a0a07d1ac3364868d21a50882e4
[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                  gamelistopt.c \
16                  gettext.h  \
17                  lists.c lists.h \
18                  moves.c moves.h \
19                  parser.l parser.h \
20                  pgntags.c \
21                  uci.c \
22                  xboard.c xboard.h args.h \
23                  xedittags.c xedittags.h \
24                  engineoutput.c engineoutput.h \
25                  xengineoutput.c \
26                  evalgraph.c evalgraph.h xevalgraph.c \
27                  xgamelist.c xgamelist.h\
28                  xgamelistopt.c \
29                  xhistory.c  xhistory.h \
30                  xoptions.c \
31                  $(ZPY)
32 xboard_LDADD = -lm @XAW_LIBS@ @X_LIBS@ 
33
34 EXTRA_DIST = pixmaps bitmaps winboard sounds \
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)"' @X_CFLAGS@  -DSYSCONFDIR='"$(sysconfdir)"'
41
42 info_TEXINFOS =  xboard.texi
43 xboard_TEXINFOS =  copyright.texi 
44 man6_MANS = xboard.man
45
46 dist_sysconf_DATA = xboard.conf
47
48 xboard.man: xboard.texi copyright.texi gpl.texinfo version.texi
49         $(srcdir)/texi2man $(srcdir)/xboard.texi > xboard.man || (rm -f xboard.man ; false)