X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=Makefile.am;h=94500776c019f8bc16473aba7fb27c4cdbc1b0c9;hb=279acb024a1a07a66d0591c51b2893d7ecb14c79;hp=f84d4bc22d77b8a5e8b2bcf817c71d3223949c3e;hpb=262a1501c25d57e39848d21647e607c8319c2088;p=xboard.git diff --git a/Makefile.am b/Makefile.am index f84d4bc..9450077 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,18 +1,48 @@ if ZIPPY - ZPY = zippy.c -else + ZPY = zippy.c zippy.h +else ZPY = -endif +endif bin_PROGRAMS = xboard -xboard_SOURCES = backend.c lists.c pgntags.c xedittags.c xhistory.c $(ZPY) 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 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 \ + $(ZPY) +xboard_LDADD = -lm @XAW_LIBS@ @X_LIBS@ -AM_CPPFLAGS=-DINFODIR='"$(infodir)"' -AM_LDFLAGS= -lm @XAW_LIBS@ +EXTRA_DIST = pixmaps bitmaps winboard sounds \ + 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 -info_TEXINFOS = copyright.texi xboard.texi -man6_MANS = xboard.man +DISTCLEANFILES = stamp-h + +AM_CPPFLAGS=-DINFODIR='"$(infodir)"' @X_CFLAGS@ + +info_TEXINFOS = xboard.texi +xboard_TEXINFOS = copyright.texi +man6_MANS = xboard.man + +install-data-local: $(srcdir)/xboard.conf + $(INSTALL_DATA) $(srcdir)/xboard.conf $(DESTDIR)/etc/xboard 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)