X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2a1bd2d3eef5c7a7bb14f4bb9fdbca9a96ee4752..a991bd8d3e7fe02dbca0644054bab73c5b75324a:/bsd/conf/Makefile.template diff --git a/bsd/conf/Makefile.template b/bsd/conf/Makefile.template index 56588cf82..56b97280f 100644 --- a/bsd/conf/Makefile.template +++ b/bsd/conf/Makefile.template @@ -65,6 +65,8 @@ COMP_SUBDIRS = %OBJS +%LIBOBJS + %CFILES %CXXFILES @@ -606,6 +608,12 @@ $(COMPONENT).filelist: $(OBJS) $(ECHO) $(TARGET)/$(CURRENT_KERNEL_CONFIG)/$${obj}; \ done > $(COMPONENT).filelist +$(COMPONENT).libfilelist: $(LIBOBJS) + @$(LOG_LDFILELIST) "lib$(COMPONENT)" + $(_v)for obj in ${LIBOBJS}; do \ + $(ECHO) $(TARGET)/$(CURRENT_KERNEL_CONFIG)/$${obj}; \ + done > $(COMPONENT).libfilelist + MAKESYSCALLS = $(SRCROOT)/bsd/kern/makesyscalls.sh init_sysent.c: $(TARGET)/bsd.syscalls.master @@ -624,7 +632,11 @@ systrace_args.c: $(TARGET)/bsd.syscalls.master @$(LOG_GENERATE) "$@$(Color0) from $(ColorF)$( /dev/null +ifeq ($(RC_ProjectName),xnu_libraries) +do_all: $(COMPONENT).libfilelist +else do_all: $(COMPONENT).filelist +endif do_build_all:: do_all