X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FMakefile;h=c3c2b82fc428c6fda6d7acc9411a9a245c755b9a;hb=317a95824cde3c72c6234f5a28c4c53d452f964e;hp=2b05eff5e7e57a5d3be1b480f63f5886e389aba3;hpb=c80670841d1e8b708f11ee9ea37639bbca5abaee;p=ghc-hetmet.git diff --git a/rts/Makefile b/rts/Makefile index 2b05eff..c3c2b82 100644 --- a/rts/Makefile +++ b/rts/Makefile @@ -144,6 +144,10 @@ ifeq "$(HaveLibMingwEx)" "YES" PACKAGE_CPP_OPTS += -DHAVE_LIBMINGWEX endif +ifeq "$(GhciWithDebugger)" "YES" +STANDARD_OPTS += -DDEBUGGER +endif + ifeq "$(DotnetSupport)" "YES" # @@ -179,6 +183,14 @@ EXCLUDED_SRCS += $(wildcard Vis*.c) endif #----------------------------------------------------------------------------- +# Add PAPI library if needed + +ifeq "$(GhcRtsWithPapi)" "YES" +SRC_HC_OPTS += -optc-DUSE_PAPI +PACKAGE_CPP_OPTS += -DUSE_PAPI +endif + +#----------------------------------------------------------------------------- # make depend setup SRC_MKDEPENDC_OPTS += -I. -I../includes