Source to iokit/conf/Makefile.template


Enter a symbol's name here to quickly find it.

#
# Mach Operating System
# Copyright (c) 1986 Carnegie-Mellon University
# All rights reserved.  The CMU software License Agreement specifies
# the terms and conditions for use and redistribution.
#

#
# Export IDENT for sub-makefiles
#
export IDENT

#
# XXX: INCFLAGS 
#
INCFLAGS_MAKEFILE=  $(INCFLAGS_POSIX) -I$(SOURCE) -I$(SOURCE)include

export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir

include $(MakeInc_cmd)
include $(MakeInc_def)

#
# XXX: CFLAGS
#
CFLAGS+= -DKERNEL -DDRIVER_PRIVATE				\
	-Wall -Wno-four-char-constants -fno-common		\
	-DDEBUG=1 -DIOASSERT=1					\
#-DIOKITDEBUG=-1

# additional flags for cpp
CPPFLAGS_GEN  = -x c++ -fno-rtti -fno-exceptions -fcheck-new -fvtable-thunks
CPPFLAGS_PPC  = 
CPPFLAGS_I386 =

CPPFLAGS      = $(CPPFLAGS_GEN) \
		  $($(addsuffix $(ARCH_CONFIG),CPPFLAGS_)) \