X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..db6096698656d32db7df630594bd9617ee54f828:/pexpert/conf/Makefile.template diff --git a/pexpert/conf/Makefile.template b/pexpert/conf/Makefile.template index 526b89513..0fcca19b1 100644 --- a/pexpert/conf/Makefile.template +++ b/pexpert/conf/Makefile.template @@ -11,7 +11,7 @@ export IDENT # -# XXX: INCFLAGS +# INCFLAGS # INCFLAGS_MAKEFILE= $(INCFLAGS_POSIX) @@ -24,15 +24,11 @@ include $(MakeInc_cmd) include $(MakeInc_def) # -# XXX: CFLAGS +# CFLAGS # -# -D_KERNEL_BUILD -DKERNEL_BUILD -DARCH_PRIVATE -DBSD_BUILD -DMACH_KERNEL # -CFLAGS+= -imacros meta_features.h -DPEXPERT_KERNEL_PRIVATE -DKERNEL -DDRIVER_PRIVATE \ - -Wall -Wno-four-char-constants -fno-common \ - -DRelease3CompatibilityBuild $(CFLAGS_INLINE_CONFIG) - -SFLAGS+= -DKERNEL +CFLAGS+= -include meta_features.h -DPEXPERT_KERNEL_PRIVATE \ + $(CFLAGS_INLINE_CONFIG) # # Directories for mig generated files @@ -78,14 +74,16 @@ ${OBJS}: ${OBJSDEPS} LDOBJS = $(OBJS) -$(COMPONENT).o: $(LDOBJS) - @echo LD $(COMPONENT) - $(_v)$(LD) $(LDFLAGS_COMPONENT) -o $(COMPONENT).o ${LDOBJS} +$(COMPONENT).filelist: $(LDOBJS) + @echo LDFILELIST $(COMPONENT) + $(_v)( for obj in ${LDOBJS}; do \ + echo $(TARGET)$(COMP_OBJ_DIR)/$(KERNEL_CONFIG)/$${obj}; \ + done; ) > $(COMPONENT).filelist do_depend: do_all $(_v)${MD} -u Makedep -f -d `ls *.d`; -do_all: $(COMPONENT).o +do_all: $(COMPONENT).filelist do_build_all: do_depend