#
# PCR lower-level makefile for boot subdirectory
#
# Demers, November 12, 1990 3:16:50 pm PST
#
#
# TODO: put in stuff to compile the tests
#
#
# READ the comments in makefile.common!
#

INCLUDE = CommandLine.h CommandLinePrivate.h CommandLoop.h
BIN = XRDBX
OBJ = boot.o
LIB =
LIBA =
MAKE_DEPEND_SRC = CommandLine.c CommandLoop.c CommandLoopCompatibility.c
MAN = 


include makefile.config
include ../makefile.common

#
# targets
#

notarget: boot.o

boot.o: ${VERSION_DOT_O} CommandLine.o CommandLoop.o CommandLoopCompatibility.o
	ld -r -o boot.o ${VERSION_DOT_O} CommandLine.o CommandLoop.o \
		CommandLoopCompatibility.o

CommandLine.o: CommandLine.c makefile.config
	${CC} -c -g ${CFLAGS} CommandLine.c

ppcr: boot.o
	/bin/cc -Bstatic -o ppcr ../LIB/${CONFIG_DIR}/XRRoot.o boot.o \
		../threads/threads.o ../loading/loading.o ../gc/gc.o \
		../package/package.o ../LIB/${CONFIG_DIR}/xr.a

#
# There is an implicit assumption that all files in BIN are derived, so ...
#
XRDBX: XRDBX.csh
	cp -p XRDBX.csh XRDBX

#
# DO NOT DELETE THIS LINE -- MAKE DEPEND DEPENDS ON IT BEING HERE!
CommandLine.o: CommandLine.c
CommandLine.o: INCLUDE/xr/CommandLine.h
CommandLine.o: ../INCLUDE/xr/BasicTypes.h
CommandLine.o: ../INCLUDE/xr/Threads.h
CommandLine.o: ../INCLUDE/xr/ThreadsInlines.h
CommandLine.o: ../INCLUDE/xr/ThreadsSharedMem.h
CommandLine.o: INCLUDE/xr/CommandLinePrivate.h
CommandLine.o: ../INCLUDE/xr/Threads.h
CommandLine.o: ../INCLUDE/xr/ThreadsBackdoor.h
CommandLine.o: /usr/include/sys/time.h
CommandLine.o: /usr/include/time.h
CommandLine.o: /usr/include/sys/stdtypes.h
CommandLine.o: ../INCLUDE/xr/ThreadsMsg.h
CommandLine.o: ../INCLUDE/xr/UIO.h
CommandLine.o: /usr/include/sys/types.h
CommandLine.o: /usr/include/sys/stdtypes.h
CommandLine.o: /usr/include/sys/sysmacros.h
CommandLine.o: /usr/include/sys/file.h
CommandLine.o: /usr/include/sys/types.h
CommandLine.o: /usr/include/sys/fcntlcom.h
CommandLine.o: /usr/include/sys/stdtypes.h
CommandLine.o: /usr/include/sys/stat.h
CommandLine.o: /usr/include/sys/types.h
CommandLine.o: /usr/include/sys/stat.h
CommandLine.o: /usr/include/ctype.h
CommandLoop.o: CommandLoop.c
CommandLoop.o: ../INCLUDE/xr/Threads.h
CommandLoop.o: ../INCLUDE/xr/BasicTypes.h
CommandLoop.o: ../INCLUDE/xr/ThreadsInlines.h
CommandLoop.o: ../INCLUDE/xr/ThreadsSharedMem.h
CommandLoop.o: ../INCLUDE/xr/ThreadsBackdoor.h
CommandLoop.o: /usr/include/sys/time.h
CommandLoop.o: /usr/include/time.h
CommandLoop.o: /usr/include/sys/stdtypes.h
CommandLoop.o: ../INCLUDE/xr/UIO.h
CommandLoop.o: /usr/include/sys/types.h
CommandLoop.o: /usr/include/sys/stdtypes.h
CommandLoop.o: /usr/include/sys/sysmacros.h
CommandLoop.o: /usr/include/sys/file.h
CommandLoop.o: /usr/include/sys/types.h
CommandLoop.o: /usr/include/sys/fcntlcom.h
CommandLoop.o: /usr/include/sys/stdtypes.h
CommandLoop.o: /usr/include/sys/stat.h
CommandLoop.o: /usr/include/sys/types.h
CommandLoop.o: /usr/include/sys/stat.h
CommandLoop.o: ../INCLUDE/xr/ThreadsMsg.h
CommandLoop.o: INCLUDE/xr/CommandLine.h
CommandLoop.o: INCLUDE/xr/CommandLoop.h
CommandLoop.o: ../INCLUDE/xr/IncrementalLoad.h
CommandLoop.o: /usr/include/sys/types.h
CommandLoop.o: ../INCLUDE/xr/BasicTypes.h
CommandLoop.o: /usr/include/string.h
CommandLoop.o: /usr/include/sys/stdtypes.h
CommandLoop.o: INCLUDE/xr/CommandLinePrivate.h
CommandLoopCompatibility.o: CommandLoopCompatibility.c
CommandLoopCompatibility.o: ../INCLUDE/xr/ThreadsMsg.h
CommandLoopCompatibility.o: INCLUDE/xr/CommandLine.h
CommandLoopCompatibility.o: ../INCLUDE/xr/BasicTypes.h
CommandLoopCompatibility.o: ../INCLUDE/xr/Threads.h
CommandLoopCompatibility.o: ../INCLUDE/xr/ThreadsInlines.h
CommandLoopCompatibility.o: ../INCLUDE/xr/ThreadsSharedMem.h
CommandLoopCompatibility.o: INCLUDE/xr/CommandLinePrivate.h
CommandLoopCompatibility.o: INCLUDE/xr/CommandLoop.h
