X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=Makefile.am;h=ed7530468d6a9e6656571a36bf36a5d19b80d2a9;hb=refs%2Ftags%2Fv4.4.2;hp=580e36b5bf8c8e8fe5ade787dc0cfe1f3f5d6757;hpb=818559e1809acf08190dab5ff1602a2cb9b001f0;p=xboard.git diff --git a/Makefile.am b/Makefile.am index 580e36b..ed75304 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +1,45 @@ + +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 +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 @XAW_LIBS@ @X_LIBS@ + +EXTRA_DIST = pixmaps bitmaps winboard\ + 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 \ + SHORTLOG DIFFSTAT + +DISTCLEANFILES = stamp-h -AM_CPPFLAGS=-DINFODIR='"$(infodir)"' -AM_LDFLAGS=-lXt -lm @XAW_LIBS@ +AM_CPPFLAGS=-DINFODIR='"$(infodir)"' @X_CFLAGS@ -info_TEXINFOS = copyright.texi xboard.texi -man6_MANS = xboard.man +info_TEXINFOS = xboard.texi +xboard_TEXINFOS = copyright.texi +man6_MANS = xboard.man xboard.man: xboard.texi copyright.texi gpl.texinfo version.texi - $(srcdir)/texi2man xboard.texi > xboard.man || (rm -f xboard.man ; false) + $(srcdir)/texi2man $(srcdir)/xboard.texi > xboard.man || (rm -f xboard.man ; false)