X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=blobdiff_plain;f=Makefile.am;h=6332932471409a9faa3bbb484148fc645f081676;hp=cb1a1e50c205b8d931baef7b3a32ecc314a6b672;hb=d016fb202fe45795e630e22ba516e754cf694ea6;hpb=762e18baef5f815cc46019ba3e082bd5ec1980f6 diff --git a/Makefile.am b/Makefile.am index cb1a1e5..6332932 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,10 +1,43 @@ -AM_CPPFLAGS=-DINFODIR='"$(infodir)"' -AM_LDFLAGS=-lXt -lm @XAW_LIBS@ + +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.c xboard.c xgamelist.c -info_TEXINFOS = copyright.texi xboard.texi -man6_MANS = xboard.man +xboard_SOURCES = backend.c backend.h backendz.h \ + book.c \ + childio.c childio.h \ + common.h \ + frontend.h \ + gamelist.c \ + gettext.h \ + lists.c lists.h \ + moves.c moves.h \ + parser.l parser.h \ + pgntags.c \ + uci.c \ + xboard.c xboard.h \ + xedittags.c xedittags.h \ + xengineoutput.c \ + xgamelist.c xgamelist.h\ + xhistory.c xhistory.h \ + xoptions.c \ + $(ZPY) +xboard_LDADD = -lm @X_PRE_LIBS@ @XAW_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ + +EXTRA_DIST = pixmaps bitmaps shogibitmaps \ + xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man \ + COPYRIGHT FAQ.html engine-intf.html ics-parsing.txt readme.htm readme_HGM.txt zippy.README + +DISTCLEANFILES = stamp-h + +AM_CPPFLAGS=-DINFODIR='"$(infodir)"' @X_CFLAGS@ -xboard.man: xboard.texinfo xboard.texi copyright.texi gpl.texinfo - $(srcdir)/texi2man xboard.texinfo > xboard.man || (rm -f xboard.man ; false) +info_TEXINFOS = xboard.texi +xboard_TEXINFOS = copyright.texi +man6_MANS = xboard.man +xboard.man: xboard.texi copyright.texi gpl.texinfo version.texi + $(srcdir)/texi2man $(srcdir)/xboard.texi > xboard.man || (rm -f xboard.man ; false)