######################################################################
# HISTORY
# $Log: makefile,v $
# Revision 1.1.1.1  1998/12/29 21:36:30  paradis
# Initial CVS checkin
#
# Revision 1.1  1995/05/04  20:51:16  fdh
# Initial revision
#
# Revision 1.3  90/11/08  15:05:05  bww
# 	Changed "a.out.h" to "a_out.h".
# 	[90/11/08  15:00:50  bww]
# 
# Revision 1.2  90/08/31  09:38:44  bww
# 	Created for new and improved SSP format.
# 	[90/08/31  09:35:08  bww]
# 
######################################################################

IDIR			= /usr/local/gnu/bin/

#include ${MAKETOP}Makefile-common

PROGRAM			= gas
OBJECTS			= as.o xrealloc.o xmalloc.o hash.o hexvalue.o \
			  atofgen.o append.o messages.o expr.o \
			  app.o frags.o infile.o inscrub.o \
			  outfile.o subsegs.o symbols.o version.o \
			  floconst.o flocopy.o flomult.o \
			  strstr.o bigcopy.o obstack.o write.o \
			  read.o list.o ${${TARGET_MACHINE}_OFILES}

CFLAGS			= -I. -DUSE_SYSTEM_HDR ${${TARGET_MACHINE}_CFLAGS}
DEF_CFLAGS		= -g

#xrealloc.o_CFLAGS	= ${CFLAGS} -Derror=as_fatal
#xmalloc.o_CFLAGS	= ${xrealloc.o_CFLAGS}
#hash.o_CFLAGS		= ${xrealloc.o_CFLAGS}


LIBRARIES		= ${${TARGET_MACHINE}_LIBS}

GARBAGE			= ${${TARGET_MACHINE}_GARBAGE}

include makedep
include ../Makefile.bin

#include ${MAKETOP}Makefile-bin
#include ${MAKETOP}Makefile-man

default:	all

as.o:		as.h struc_sy.h a_out.h write.h
atofgen.o:	flonum.h bignum.h
bigcopy.o:	bignum.h
expr.o:		as.h flonum.h bignum.h read.h struc_sy.h a_out.h \
		expr.h obstack.h symbols.h
floconst.o:	flonum.h bignum.h
flocopy.o:	flonum.h bignum.h
flomult.o:	flonum.h bignum.h
frags.o:	as.h subsegs.h obstack.h frags.h struc_sy.h a_out.h
hash.o:		hash.h
infile.o:	infile.h
inscrub.o:	as.h read.h infile.h
list.o:		list.c as.h expr.h flonum.h frags.h hash.h md.h read.h \
		struc_sy.h write.h
messages.o:	as.h
obstack.o:	obstack.h
read.o:		as.h read.h md.h hash.h obstack.h frags.h flonum.h \
		bignum.h struc_sy.h a_out.h expr.h symbols.h
subsegs.o:	as.h subsegs.h obstack.h frags.h struc_sy.h \
		a_out.h write.h
symbols.o:	as.h hash.h obstack.h struc_sy.h a_out.h \
		symbols.h frags.h
write.o:	as.h md.h subsegs.h obstack.h struc_sy.h a_out.h \
		write.h symbols.h





