X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/39236c6e673c41db228275375ab7fdb0f837b292..3903760236c30e3b5ace7a4eefac3a269d68957c:/SETUP/config/Makefile diff --git a/SETUP/config/Makefile b/SETUP/config/Makefile index 567f2966d..56032b45d 100644 --- a/SETUP/config/Makefile +++ b/SETUP/config/Makefile @@ -3,38 +3,38 @@ export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir - include $(MakeInc_cmd) include $(MakeInc_def) -OBJS = externs.o main.o mkglue.o mkheaders.o mkioconf.o mkmakefile.o \ - mkswapconf.o openp.o searchp.o lexer.yy.o parser.o +OBJS = externs.o main.o mkheaders.o mkioconf.o mkmakefile.o \ + openp.o searchp.o lexer.yy.o parser.o CFLAGS = -isysroot $(HOST_SDKROOT) -mmacosx-version-min=$(HOST_OS_VERSION) -g -O0 -I$(SOURCE) -I. +CFLAGS += -DYY_NO_INPUT WARNFLAGS = -Wall LDFLAGS = -isysroot $(HOST_SDKROOT) -mmacosx-version-min=$(HOST_OS_VERSION) config: $(OBJS) - @echo HOST_LD $@ + @echo "$(ColorH)HOST_LD$(Color0) $(ColorF)$@$(Color0)" $(_v)$(HOST_CC) $(LDFLAGS) -o $@ $^ - @echo HOST_CODESIGN $@ + @echo "$(ColorH)HOST_CODESIGN$(Color0) $(ColorF)$@$(Color0)" $(_v)env CODESIGN_ALLOCATE=$(HOST_CODESIGN_ALLOCATE) $(HOST_CODESIGN) -s - $@ %.o: %.c - @echo HOST_CC $@ + @echo "$(ColorH)HOST_CC$(Color0) $(ColorF)$@$(Color0)" $(_v)$(HOST_CC) $(WARNFLAGS) $(CFLAGS) -c -o $@ $< parser.c: parser.y - @echo HOST_BISON $@ + @echo "$(ColorH)HOST_BISON$(Color0) $(ColorF)$@$(Color0)" $(_v)$(HOST_BISON) -y -d -d -o $@ $< lexer.yy.c: lexer.l - @echo HOST_FLEX $@ + @echo "$(ColorH)HOST_FLEX$(Color0) $(ColorF)$@$(Color0)" $(_v)env M4=$(HOST_GM4) $(HOST_FLEX) --header-file=lexer.yy.h -o $@ $< -main.o mkglue.o mkheaders.o mkioconf.o mkmakefile.o lexer.yy.c: parser.c +main.o mkheaders.o mkioconf.o mkmakefile.o lexer.yy.c: parser.c do_build_setup:: config