Delete emptied front-end files, and move rest to gtk directory
[xboard.git] / Makefile.am
index abce9f8..96aebba 100644 (file)
@@ -10,14 +10,12 @@ endif
 
 ### define sources for the front-end and backend
 
-GTKsources = xboard.c  xevalgraph.c  xgamelist.c \
-             xhistory.c  xoptions.c  xboard.h  \
-             xengineoutput.c  xevalgraph.h  xgamelist.h \
-             xhistory.h
+GTKsources = gtk/xboard.c  gtk/xboard.h \
+             gtk/xoptions.c  gtk/xtimer.c \
+             gtk/xengineoutput.c
 
 Xsources   = xaw/xboard.c xaw/xboard.h \
              xaw/xengineoutput.c \
-             xaw/xevalgraph.c xaw/xevalgraph.h \
              xaw/xgamelist.c xaw/xgamelist.h \
              xaw/xhistory.c xaw/xhistory.h \
              xaw/xoptions.c
@@ -35,12 +33,12 @@ backendsources = backend.c backend.h backendz.h \
                 parser.c parser.h \
                 pgntags.c \
                 uci.c \
-                args.h \
+                args.h xboard2.h \
                 board.c board.h \
                 draw.c draw.h \
                 dialogs.c dialogs.h \
                 engineoutput.c nengineoutput.c engineoutput.h \
-                evalgraph.c evalgraph.h \
+                evalgraph.c nevalgraph.c evalgraph.h \
                 history.c nhistory.c \
                 menus.c menus.h \
                 usounds.c usystem.c usystem.h \
@@ -50,10 +48,11 @@ backendsources = backend.c backend.h backendz.h \
 
 if withGTK
   xboard_SOURCES = $(backendsources) $(GTKsources)
+  headers = -I gtk
 endif
 if withXaw
   xboard_SOURCES = $(backendsources) $(Xsources)
-  headers = -I xaw
+  headers = -I xaw -DX11
 endif
 
 ###