1 ######################################################################
2 #BEGIN Machine dependent Makefile fragment for ppc
3 ######################################################################
6 # ppc should be (mostly) warning free
9 CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD))
11 # Objects that don't compile cleanly:
27 OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS))
29 $(OBJS_WERROR): WERROR=-Werror
35 makedis: $(SRCROOT)/osfmk/ddb/makedis.c
38 ppc_disasm.o_CFLAGS_ADD = -Dperror=db_printf -Dexit=db_error -Dmalloc=db_disasm_malloc
40 ppc_disasm.c ppc_disasm.h : $(SRCROOT)/osfmk/ppc/ppc_disasm.i makedis
41 ./makedis -w -h ./ppc_disasm.h $(SOURCE_DIR)/osfmk/ppc/ppc_disasm.i > ./ppc_disasm.c
44 db_disasm.o : ppc_disasm.h
46 # Files that must go in the __HIB segment:
47 UNCONFIGURED_HIB_FILES= \
49 HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS))
51 ######################################################################
52 #END Machine dependent Makefile fragment for ppc
53 ######################################################################