#include "config.h"
#ifdef BOEHM_GC
-CPPFLAGS=@CPPFLAGS@ -I$(top_srcdir)/gc/include
-#else
-CPPFLAGS=@CPPFLAGS@
+GCINCLUDE=-I$(top_srcdir)/gc/include
#endif
/* We won't really call alloca;
/* C_SWITCH_X_SITE must come before C_SWITCH_X_MACHINE and C_SWITCH_X_SYSTEM
since it may have -I options that should override those two. */
-ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(TOOLKIT_DEFINES) $(MYCPPFLAGS) -I. -I${srcdir} C_SWITCH_MACHINE C_SWITCH_SYSTEM C_SWITCH_SITE C_SWITCH_X_SITE C_SWITCH_X_MACHINE C_SWITCH_X_SYSTEM C_SWITCH_SYSTEM_TEMACS ${CFLAGS}
+ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(TOOLKIT_DEFINES) $(MYCPPFLAGS) -I. -I${srcdir} C_SWITCH_MACHINE C_SWITCH_SYSTEM C_SWITCH_SITE C_SWITCH_X_SITE C_SWITCH_X_MACHINE C_SWITCH_X_SYSTEM C_SWITCH_SYSTEM_TEMACS ${CFLAGS} $(GCINCLUDE)
.c.o:
$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
#endif
#ifdef BOEHM_GC
-gclib = $(top_srcdir)/gc/.libs/libgc.a
+gclib = ../gc/.libs/libgc.a
#endif
mallocobj = $(gmallocobj) $(rallocobj) $(gclib) vm-limit.o