#
# This is the Makefile for the runtime-system stuff.
# This stuff is written in C (and cannot be written in Haskell).
#
# This is the Makefile for the runtime-system stuff.
# This stuff is written in C (and cannot be written in Haskell).
WARNING_OPTS += -Waggregate-return
#WARNING_OPTS += -Wpointer-arith
WARNING_OPTS += -Wbad-function-cast
WARNING_OPTS += -Waggregate-return
#WARNING_OPTS += -Wpointer-arith
WARNING_OPTS += -Wbad-function-cast
#WARNING_OPTS += -Wnested-externs
#WARNING_OPTS += -Wshadow
#WARNING_OPTS += -Wcast-qual
#WARNING_OPTS += -Wnested-externs
#WARNING_OPTS += -Wshadow
#WARNING_OPTS += -Wcast-qual
SRCS_RTS_C := $(SRCS_RTS_C) $(wildcard Vis*.c)
VisCallbacks_CC_OPTS += -Wno-unused
endif # GhcRtsWithFrontPanel
SRCS_RTS_C := $(SRCS_RTS_C) $(wildcard Vis*.c)
VisCallbacks_CC_OPTS += -Wno-unused
endif # GhcRtsWithFrontPanel
ifeq "$(BootingFromHc)" "YES"
# use the normal $(CC) when booting from .hc files
SRC_CC_OPTS += $(HC_OPTS)
ifeq "$(BootingFromHc)" "YES"
# use the normal $(CC) when booting from .hc files
SRC_CC_OPTS += $(HC_OPTS)
INSTALL_LIBS += gmp/libgmp.a
endif
gmp/libgmp.a ::
$(MAKE) -C gmp MAKEFLAGS=
@$(CP) gmp/.libs/libgmp.a gmp
INSTALL_LIBS += gmp/libgmp.a
endif
gmp/libgmp.a ::
$(MAKE) -C gmp MAKEFLAGS=
@$(CP) gmp/.libs/libgmp.a gmp
#-----------------------------------------------------------------------------
#
# Building the GUM SysMan
#-----------------------------------------------------------------------------
#
# Building the GUM SysMan