X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FGNUmakefile;h=1c5ae15afe95b97e63328f8d5444955c757a2e72;hb=e0924e0c54b0a216560d67b9e85a077473bb5952;hp=bf32c7a324f7a6be0a37aa165f149c83a3e88dfb;hpb=dc5e3163fe667e2629c7769aa8cf2e501eeeefa6;p=sbcl.git diff --git a/src/runtime/GNUmakefile b/src/runtime/GNUmakefile index bf32c7a..1c5ae15 100644 --- a/src/runtime/GNUmakefile +++ b/src/runtime/GNUmakefile @@ -35,13 +35,13 @@ DEPEND_FLAGS=-M include Config -C_SRCS =alloc.c backtrace.c breakpoint.c coreparse.c \ - dynbind.c globals.c interr.c interrupt.c \ +C_SRCS = alloc.c backtrace.c breakpoint.c coreparse.c \ + dynbind.c gc-common.c globals.c interr.c interrupt.c \ monitor.c parse.c print.c purify.c \ regnames.c run-program.c runtime.c save.c search.c \ - time.c util.c validate.c vars.c wrap.c + thread.c time.c util.c validate.c vars.c wrap.c -SRCS= $(C_SRCS) ${ARCH_SRC} ${ASSEM_SRC} ${OS_SRC} ${GC_SRC} +SRCS = $(C_SRCS) ${ARCH_SRC} ${ASSEM_SRC} ${OS_SRC} ${GC_SRC} OBJS = $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(patsubst %.s,%.o,$(SRCS)))) @@ -57,11 +57,17 @@ sbcl: ${OBJS} clean: -rm -f depend *.o sbcl sbcl.nm core *.tmp +TAGS: $(SRCS) + etags $(SRCS) + +sbcl.h: genesis/*.h + echo '#include "genesis/config.h"' >sbcl.h + echo '#include "genesis/constants.h"' >>sbcl.h depend: ${C_SRCS} sbcl.h $(CC) ${DEPEND_FLAGS} ${CFLAGS} ${CPPFLAGS} ${C_SRCS} > depend.tmp mv -f depend.tmp depend -# By including this file, we cause GNU to automatically make depend if -# it can't find it or it is out of date +# By including this file, we cause GNU make to automatically "make depend" +# if it can't find it or it is out of date. include depend