fixed Makefile.am to handle config file correctly
[xboard.git] / Makefile.am
index b56df1d..0eea321 100644 (file)
@@ -9,29 +9,32 @@ bin_PROGRAMS = xboard
 
 xboard_SOURCES = backend.c backend.h backendz.h \
                 book.c \
-                callback.c\
+                callback.c callback.h \
                 childio.c childio.h \
                 common.h \
                 frontend.h \
                 gamelist.c \
                 gettext.h  \
-                interface.c    \
+                interface.c interface.h \
                 lists.c lists.h \
                 moves.c moves.h \
                 parser.l parser.h \
-                pgntags.c \
+                pgntags.c \
                 uci.c \
-                xboard.c xboard.h \
+                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@ @GTK_LIBS@
 
-EXTRA_DIST = pixmaps  bitmaps shogibitmaps \
-       xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man \
+EXTRA_DIST = pixmaps bitmaps winboard 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
@@ -42,5 +45,7 @@ info_TEXINFOS =  xboard.texi
 xboard_TEXINFOS =  copyright.texi 
 man6_MANS = xboard.man
 
+sysconf_DATA=xboard.conf
+
 xboard.man: xboard.texi copyright.texi gpl.texinfo version.texi
        $(srcdir)/texi2man $(srcdir)/xboard.texi > xboard.man || (rm -f xboard.man ; false)