]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/conf/Makefile.template
xnu-7195.81.3.tar.gz
[apple/xnu.git] / iokit / conf / Makefile.template
index 64215c70d1fe9e34f25d4569323dd476c446649b..933c01bf646ca4110f9fd6ada87c3fbb116933c3 100644 (file)
@@ -47,6 +47,8 @@ COMP_SUBDIRS = \
 
 %OBJS
 
+%LIBOBJS
+
 %CFILES
 
 %CXXFILES
@@ -222,7 +224,17 @@ $(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
+
+ifeq ($(RC_ProjectName),xnu_libraries)
+do_all: $(COMPONENT).libfilelist
+else
 do_all: $(COMPONENT).filelist
+endif
 
 do_build_all:: do_all