1 export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
2 export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
4 export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
9 OBJS = externs.o main.o mkheaders.o mkioconf.o mkmakefile.o \
10 openp.o searchp.o lexer.yy.o parser.o
12 CFLAGS = -isysroot $(HOST_SDKROOT) -mmacosx-version-min=$(HOST_OS_VERSION) -g -O0 -I$(SOURCE) -I.
13 CFLAGS += -DYY_NO_INPUT
17 LDFLAGS = -isysroot $(HOST_SDKROOT) -mmacosx-version-min=$(HOST_OS_VERSION)
20 $(call makelog,$(ColorH)HOST_LD$(Color0) $(ColorF)$@$(Color0))
21 $(_v)$(HOST_CC) $(LDFLAGS) -o $@ $^
22 $(call makelog,$(ColorH)HOST_CODESIGN$(Color0) $(ColorF)$@$(Color0))
23 $(_v)env CODESIGN_ALLOCATE=$(HOST_CODESIGN_ALLOCATE) $(HOST_CODESIGN) -s - $@
26 $(call makelog,$(ColorH)HOST_CC$(Color0) $(ColorF)$@$(Color0))
27 $(_v)$(HOST_CC) $(WARNFLAGS) $(CFLAGS) -c -o $@ $<
30 $(call makelog,$(ColorH)HOST_BISON$(Color0) $(ColorF)$@$(Color0))
31 $(_v)$(HOST_BISON) -y -d -d -o $@ $<
34 $(call makelog,$(ColorH)HOST_FLEX$(Color0) $(ColorF)$@$(Color0))
35 $(_v)env M4=$(HOST_GM4) $(HOST_FLEX) --header-file=lexer.yy.h -o $@ $<
37 main.o mkheaders.o mkioconf.o mkmakefile.o lexer.yy.c: parser.c
39 do_build_setup:: config
41 include $(MakeInc_rule)
42 include $(MakeInc_dir)