Makefile.ppc   [plain text]


######################################################################
#BEGIN	Machine dependent Makefile fragment for ppc
######################################################################

#
# KDB support
#

makedis: $(SRCROOT)/osfmk/ddb/makedis.c
	$(CC) -o $@ $<

ppc_disasm.o_CFLAGS_ADD = -Dperror=db_printf -Dexit=db_error -Dmalloc=db_disasm_malloc

ppc_disasm.c ppc_disasm.h : $(SRCROOT)/osfmk/ppc/ppc_disasm.i makedis
	./makedis -w -h ./ppc_disasm.h $(SOURCE_DIR)/osfmk/ppc/ppc_disasm.i > ./ppc_disasm.c


db_disasm.o : ppc_disasm.h

# Files that must go in the __HIB segment:
HIB_FILES=                              \
           hibernate_restore.o

######################################################################
#END	Machine dependent Makefile fragment for ppc
######################################################################