]> git.saurik.com Git - apple/xnu.git/blobdiff - libkern/conf/Makefile.i386
xnu-2050.18.24.tar.gz
[apple/xnu.git] / libkern / conf / Makefile.i386
index fa98396d82cd1ac0f979b6ee7d34a258a435fa8d..d756144780aa967082fb3717f27540404aaac23b 100644 (file)
@@ -2,34 +2,15 @@
 #BEGIN Machine dependent Makefile fragment for i386
 ######################################################################
 
-# Enable -Werror for i386 builds
-CFLAGS+= $(WERROR)
-CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD))
+# sha1 Files to build with -DSHA1_USE_ASSEMBLY=1
+sha1.o_CFLAGS_ADD += -DSHA1_USE_ASSEMBLY=1
 
-# Objects that don't compile cleanly in libkern/c++:
-OBJS_NO_WERROR=                                \
-       ioconf.o                        \
-       OSRuntimeSupport.o              \
-       OSMetaClass.cpo                 \
-       OSArray.cpo                     \
-       OSBoolean.cpo                   \
-       OSCollectionIterator.cpo        \
-       OSCollection.cpo                \
-       OSData.cpo                      \
-       OSDictionary.cpo                \
-       OSNumber.cpo                    \
-       OSObject.cpo                    \
-       OSOrderedSet.cpo                \
-       OSRuntime.cpo                   \
-       OSSerialize.cpo                 \
-       OSString.cpo                    \
-       OSSymbol.cpo                    \
-       OSUnserialize.cpo               \
-       OSUnserializeXML.cpo
+# Files that must go in the __HIB segment:
+UNCONFIGURED_HIB_FILES= \
+                       WKdmDecompress.o
 
-OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS))
+HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS))
 
-$(OBJS_WERROR):                WERROR=-Werror
 
 ######################################################################
 #END   Machine dependent Makefile fragment for i386