#
#   Creation Date: <1999/03/28 04:20:31 samuel>
#   Time-stamp: <2001/06/16 18:56:50 samuel>
#   
#	<Makefile>
#	
#	Rules for "drivers.o" target
#   
#   Copyright (C) 1999, 2000, 2001 Samuel Rydh (samuel@ibrium.se)
#   
#   This program is free software; you can redistribute it and/or
#   modify it under the terms of the GNU General Public License
#   as published by the Free Software Foundation
#

COSM_DIR1	= nwbooter
COSM_DIR2	= oldworld
COSM_DIR3	= xbooter
COSM_DIR4	= elf

O_TARGET 	= booter.o
O_OBJS 		= $(addprefix obj/, booter.o) \
		  $(addprefix nwbooter/obj/, init.o ofglue.o of1275.o ofmem.o rtas.o) \
		  $(addprefix oldworld/obj/, oldworld.o) \
		  $(addprefix xbooter/obj/, bootx.o macho.o device_tree.o drivers.o) \
		  $(addprefix elf/obj/, elf.o)

CFLAGS_COSM3	= -I./xbooter/xinclude

CFLAGS_EXTRA 	= $(CFLAGS_MM) -I$(SHEADERS_PATH) -I./include -I../include
ASMFLAGS_EXTRA	= -I./include -I../include -I../sinclude

include ../Rules.make


