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
10 OBJS = kextsymboltool.o
12 CFLAGS = -isysroot $(HOST_SDKROOT) -g -O0 -I$(SOURCE) -I.
16 LDFLAGS = -isysroot $(HOST_SDKROOT) -L$(HOST_SPARSE_SDKROOT)/usr/local/lib/system -lstdc++
17 ifneq ($(HOST_SPARSE_SDKROOT),/)
21 kextsymboltool: $(OBJS)
22 $(_v)$(HOST_CC) $(LDFLAGS) -o $@ $^
24 $(_v)$(HOST_CODESIGN) -s - $@
25 @echo HOST_CODESIGN $@
28 $(_v)$(HOST_CC) $(WARNFLAGS) $(CFLAGS) -c -o $@ $<
31 do_build_setup: kextsymboltool
33 include $(MakeInc_rule)
34 include $(MakeInc_dir)