Source to libkern/conf/Makefile.template
#
# 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=
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 -DLIBKERN_KERNEL_PRIVATE -DDEBUG \
-Wall -Wno-four-char-constants -fno-common
# 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_)) \