X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FGNUmakefile;h=f0fbe192a39bb2ff1025a81438b414c1786b1a4d;hb=9e83e3dc367e4fd47d3b27a170cb3a87bb5b1b39;hp=44a2c3a031b2028d6ce5f9ac1f62bc230e368b1a;hpb=670d28c10c178142146f6916c5fa0967732f3a8f;p=sbcl.git diff --git a/src/runtime/GNUmakefile b/src/runtime/GNUmakefile index 44a2c3a..f0fbe19 100644 --- a/src/runtime/GNUmakefile +++ b/src/runtime/GNUmakefile @@ -23,9 +23,11 @@ NM = nm -gp DEPEND_FLAGS = -MM GREP = grep -CFLAGS = -g -Wall -O3 +include ../../output/prefix.def + +CFLAGS = -g -Wall -Wsign-compare -O3 ASFLAGS = $(CFLAGS) -CPPFLAGS = -I. +CPPFLAGS = -I. -DSBCL_PREFIX=\"$(SBCL_PREFIX)\" # Give make access to the target Lisp features. include genesis/Makefile.features @@ -39,8 +41,9 @@ include genesis/Makefile.features include Config COMMON_SRC = alloc.c backtrace.c breakpoint.c coreparse.c \ - dynbind.c gc-common.c globals.c interr.c interrupt.c largefile.c \ - monitor.c os-common.c parse.c print.c purify.c pthread-lutex.c \ + dynbind.c funcall.c gc-common.c globals.c interr.c interrupt.c \ + largefile.c monitor.c os-common.c parse.c print.c purify.c \ + pthread-futex.c pthread-lutex.c \ regnames.c run-program.c runtime.c save.c search.c \ thread.c time.c util.c validate.c vars.c wrap.c @@ -58,7 +61,7 @@ $(TARGET): $(OBJS) $(CC) ${LINKFLAGS} -o $@ $^ $(LIBS) sbcl.nm: $(TARGET) - $(NM) $(TARGET) | $(GREP) -v " F \| U " > ,$@ + $(NM) $(TARGET) | $(GREP) -v " [FUw] " > ,$@ mv -f ,$@ $@ sbcl.h: $(wildcard genesis/*.h) @@ -70,12 +73,6 @@ TAGS tags: $(SRCS) clean: -rm -f *.[do] $(TARGET) sbcl.nm sbcl.h core *.tmp $(OS_CLEAN_FILES) - # the depend file is obsolete - -rm -f depend - -# depend target for backward compatibility -.PHONY: depend -depend: %.d: %.c sbcl.h @$(CC) $(DEPEND_FLAGS) $(CPPFLAGS) $< > $@.tmp; \