X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=Makefile.am;h=6e5e7137d2b47b68e3eff139a704afde0ba6dc11;hb=4042b38821940cd48e9f3d10b5208da7b6288dfd;hp=5b7dc1bb14eb2ac9b33c520cd059ee490fec20a9;hpb=ca8605d437ecd13652cf4fbbf7c9abcd348f0fd3;p=xboard.git diff --git a/Makefile.am b/Makefile.am index 5b7dc1b..6e5e713 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,12 +1,56 @@ + +if ZIPPY + ZPY = zippy.c zippy.h +else + ZPY = +endif + bin_PROGRAMS = xboard -xboard_SOURCES = backend.c lists.c pgntags.c xedittags.c xhistory.c zippy.c childio.c moves.c uci.c xengineoutput.c xoptions.c gamelist.c parser.l xboard.c xgamelist.c book.c -AM_CPPFLAGS=-DINFODIR='"$(infodir)"' -AM_LDFLAGS=-lXt -lm @XAW_LIBS@ +xboard_SOURCES = backend.c backend.h backendz.h \ + book.c \ + callback.c callback.h \ + childio.c childio.h \ + common.h \ + frontend.h \ + gamelist.c \ + gettext.h \ + interface.c interface.h \ + lists.c lists.h \ + moves.c moves.h \ + parser.l parser.h \ + pgntags.c \ + uci.c \ + xboard.c xboard.h args.h \ + xedittags.c xedittags.h \ + engineoutput.c engineoutput.h \ + xengineoutput.c \ + evalgraph.c evalgraph.h xevalgraph.c \ + xgamelist.c xgamelist.h\ + xhistory.c xhistory.h \ + xoptions.c \ + gtk-interface.xml \ + $(ZPY) + +xboard_LDADD = -lm @XAW_LIBS@ @GTK_LIBS@ + +EXTRA_DIST = pixmaps bitmaps svg sounds \ + xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man xboard.conf \ + COPYRIGHT FAQ.html engine-intf.html ics-parsing.txt readme.htm readme_HGM.txt zippy.README + +DISTCLEANFILES = stamp-h + + +AM_CPPFLAGS=-DINFODIR='"$(infodir)"' @GTK_CFLAGS@ -DSYSCONFDIR='"$(sysconfdir)"' + + +info_TEXINFOS = xboard.texi +xboard_TEXINFOS = copyright.texi +man6_MANS = xboard.man + -info_TEXINFOS = copyright.texi xboard.texi -man6_MANS = xboard.man +dist_sysconf_DATA = xboard.conf -xboard.man: xboard.texinfo xboard.texi copyright.texi gpl.texinfo - $(srcdir)/texi2man xboard.texinfo > xboard.man || (rm -f xboard.man ; false) +xboard.man: xboard.texi copyright.texi gpl.texinfo version.texi + $(srcdir)/texi2man $(srcdir)/xboard.texi > xboard.man || (rm -f xboard.man ; false)