export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
-
include $(MakeInc_cmd)
include $(MakeInc_def)
WARNFLAGS = -Wall
-LDFLAGS = -isysroot $(HOST_SDKROOT) -mmacosx-version-min=$(HOST_OS_VERSION) -L$(HOST_SPARSE_SDKROOT)/usr/local/lib/system -lstdc++
-ifneq ($(HOST_SPARSE_SDKROOT),/)
-LDFLAGS += -lmacho
-endif
-
-.SparseSDK: ALWAYS
- $(_v)echo '$(HOST_SPARSE_SDKROOT)' | cmp -s - $@ || echo '$(HOST_SPARSE_SDKROOT)' > $@
+LDFLAGS = -isysroot $(HOST_SDKROOT) -mmacosx-version-min=$(HOST_OS_VERSION) -lstdc++
-kextsymboltool: $(OBJS) .SparseSDK
- @echo HOST_LD $@
- $(_v)$(HOST_CC) $(LDFLAGS) -o $@ $(OBJS)
- @echo HOST_CODESIGN $@
+kextsymboltool: $(OBJS)
+ @echo "$(ColorH)HOST_LD$(Color0) $(ColorF)$@$(Color0)"
+ $(_v)$(HOST_CC) $(LDFLAGS) -o $@ $^
+ @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 $@ $<
do_build_setup:: kextsymboltool