#
# @OSF_COPYRIGHT@
#
#
# HISTORY
# $Log:	Makefile,v $
# Revision 1.1  92/04/22  15:49:27  pha
# Initial revision
# 
# Revision 3.1  91/12/24  12:38:02  sp
# eflags.h is now defunct
# 
# Revision 3.0  91/11/15  15:31:09  condict
# Copy the correct machine-dependent header files from server/${target_cpu}
# src dir to server/machine object dir, allowing cross-compilation on non-AFS
# systems without any "machine" symbolic links in the src tree.
# 
# 
# $EndLog$

PMAX_INCFILES		= replace.h this.h with.h the.h real.h list.h
I386_INCFILES		= addrconf.h asm.h cpu.h endian.h fpreg.h \
			  inline_lock.h machlimits.h machparam.h machtime.h \
			  pcb.h psl.h reg.h second_SYS.h vmparam.h

# In the OSF/1 build, all of these would be defined externally:
RM=/bin/rm
_RMFLAGS_= -f

all:	${${TARGET_CPU}_INCFILES}

${${TARGET_CPU}_INCFILES}: ../${target_cpu}/$${@}
	-if [ -f $@ ] && cmp -s ../${target_cpu}/$@ $@; then :; \
	 else ${RM} ${_RMFLAGS_} $@; ${CP} ../${target_cpu}/$@ $@; fi
