PERFORCE change 43341 for review
    Robert Watson 
    rwatson at FreeBSD.org
       
    Tue Dec  2 18:04:43 PST 2003
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=43341
Change 43341 by rwatson at rwatson_powerbook on 2003/12/02 18:03:56
	Also install headers in:
	
	  /System/Library/Frameworks/Kernel.framework/Headers
	
	This way they can be used in kexts.
Affected files ...
.. //depot/projects/trustedbsd/sedarwin/Makefile#4 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin/Makefile#4 (text+ko) ====
@@ -3,12 +3,15 @@
 dummy:
 	@echo Please following the directions in bootstrap_instructions.txt
 
-TBSDHEADERS=apsl/xnu/bsd/sys/extattr.h apsl/xnu/bsd/sys/mac.h \
-    apsl/xnu/bsd/sys/mac_policy.h apsl/xnu/bsd/sys/_label.h \
-    apsl/xnu/bsd/sys/ucred.h
+TBSDHEADERS=extattr.h mac.h mac_policy.h _label.h ucred.h
+
+SRC1=apsl/xnu/bsd/sys
+DEST1=/usr/include/sys
+DEST2=/System/Library/Frameworks/Kernel.framework/Headers/sys
 
 install-headers:
-	install -m 444 -o root -g wheel $(TBSDHEADERS) /usr/include/sys
+	(cd $(SRC1) ; install -m 444 -o root -g wheel $(TBSDHEADERS) $(DEST1))
+	(cd $(SRC1) ; install -m 444 -o root -g wheel $(TBSDHEADERS) $(DEST2))
 	cd libsebsd; make install-headers; cd ..
 
 libraries:
    
    
More information about the p4-projects
mailing list