]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/conf/Makefile.template
xnu-517.7.21.tar.gz
[apple/xnu.git] / iokit / conf / Makefile.template
index 1debf49ee61b50ed1422e96d4a7238efcfda0b22..bf9b2d38b5c0eca0736c8d89d0337a895fc6fe11 100644 (file)
@@ -28,9 +28,12 @@ include $(MakeInc_def)
 #
 CFLAGS+= -DKERNEL -DDRIVER_PRIVATE                             \
        -Wall -Wno-four-char-constants -fno-common              \
-       -DIOMATCHDEBUG=1 -DIOALLOCDEBUG=1 -DIOASSERT=0          \
+       -DIOMATCHDEBUG=1 -DIOALLOCDEBUG=1                       \
 #-DIOKITDEBUG=-1
 
+CFLAGS_RELEASE += -DIOASSERT=0
+CFLAGS_DEBUG += -DIOASSERT=1
+
 SFLAGS+= -DKERNEL
 
 #
@@ -88,7 +91,7 @@ LDOBJS = $(OBJS)
 $(COMPONENT).o: $(LDOBJS)
        @echo "creating $(COMPONENT).o"
        $(RM) $(RMFLAGS) vers.c
-       $(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT)/newvers \
+       $(COMPOBJROOT)/newvers \
        `$(CAT) ${VERSION_FILES}` ${COPYRIGHT_FILES}
        ${KCC} $(CFLAGS) $(INCLUDES) -c vers.c
        @echo [ updating $(COMPONENT).o ${IOKIT_KERNEL_CONFIG} ]
@@ -104,9 +107,6 @@ do_build_all: do_depend
 
 %RULES
 
--include Makedep
-
 include $(MakeInc_rule)
-
 include $(MakeInc_dir)