From fb69fc467fd1c05d29bff65f8bf5ce74a0052982 Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 14 Nov 2000 10:56:08 +0000 Subject: [PATCH] [project @ 2000-11-14 10:56:08 by simonmar] Fix the non-GTKish build. --- ghc/rts/Makefile | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index d1355f0..f3e1a50 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -1,5 +1,5 @@ #----------------------------------------------------------------------------- -# $Id: Makefile,v 1.40 2000/11/07 16:24:25 simonmar Exp $ +# $Id: Makefile,v 1.41 2000/11/14 10:56:08 simonmar Exp $ # # This is the Makefile for the runtime-system stuff. # This stuff is written in C (and cannot be written in Haskell). @@ -74,17 +74,15 @@ endif #----------------------------------------------------------------------------- # Include the Front panel code? +SRCS_RTS_C := $(filter-out Vis%.c, $(SRCS_RTS_C)) + # we need GTK+ for the front panel ifneq "$(GTK_CONFIG)" "" - ifeq "$(GhcRtsWithFrontPanel)" "YES" -SRC_HC_OPTS += `$(GTK_CONFIG) --cflags` -optc-DRTS_GTK_FRONTPANEL -else -SRCS_RTS_C := $(filter-out Vis%.c, $(SRCS_RTS_C)) -endif - -VisCallbacks_CC_OPTS = -optc-Wno-unused - +SRC_HC_OPTS += `$(GTK_CONFIG) --cflags` -optc-DRTS_GTK_FRONTPANEL +SRCS_RTS_C := $(SRCS_RTS_C) $(wildcard Vis*.c) +VisCallbacks_CC_OPTS += -optc-Wno-unused +endif # GhcRtsWithFrontPanel endif # GTK_CONFIG #----------------------------------------------------------------------------- -- 1.7.10.4