]> git.saurik.com Git - apple/xnu.git/blobdiff - security/conf/Makefile.template
xnu-7195.101.1.tar.gz
[apple/xnu.git] / security / conf / Makefile.template
index e75fe162e166a427e4e4b86d4d55aeaa3a1f6aac..24a7728b66e3f3cfc3a5c0d8765f6aa4b7d8321f 100644 (file)
@@ -45,6 +45,8 @@ COMP_SUBDIRS =
 
 %OBJS
 
+%LIBOBJS
+
 %CFILES
 
 %CXXFILES
@@ -90,7 +92,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