home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 5
/
FreshFish_July-August1994.bin
/
bbs
/
gnu
/
gas-1.38-src.lha
/
src
/
amiga
/
gas-1.38
/
Makefile.in
< prev
next >
Wrap
Makefile
|
1994-05-03
|
5KB
|
148 lines
# Makefile for GAS.
# Copyright (C) 1989, Free Software Foundation
#
# This file is part of GAS, the GNU Assembler.
#
# GAS 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; either version 1, or (at your option)
# any later version.
#
# GAS is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GAS; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
#
# This makefile may be used to make the VAX, 68020, 80386,
# SPARC, ns32k, or i860 assembler(s).
#### Start of system configuration section. ####
VPATH = @srcdir@
srcdir = @srcdir@
# Common prefix for machine-independent installed files.
prefix = /gnu
# Common prefix for machine-dependent installed files.
exec_prefix = $(prefix)
# Directory to install executables in.
bindir = $(exec_prefix)/bin
# Directory to install libraries in.
libdir = $(exec_prefix)/lib
# Directory to install the Info files in.
infodir = $(prefix)/info
# Directory to install the man page in.
mandir = $(prefix)/man/man$(manext)
# Number to put on the man page filename.
manext = 1
# Program to install executables.
INSTALL_PROGRAM = @INSTALL_PROGRAM@
# Program to install data like man pages.
INSTALL_DATA = @INSTALL_DATA@
# Generic install program.
INSTALL = @INSTALL@
CC = @CC@
DEFS = @DEFS@ -Dm68851 -DSUN_ASM_SYNTAX
CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
#### End of system configuration section. ####
.c.o:
$(CC) -c -I$(srcdir) $(DEFS) $(CFLAGS) $< $(OUTPUT_OPTION)
GENOBJ = as.o app.o append.o atof-generic.o bignum-copy.o expr.o \
flonum-const.o flonum-copy.o flonum-mult.o frags.o hash.o \
hex-value.o input-file.o input-scrub.o messages.o \
obstack.o output-file.o read.o strstr.o subsegs.o \
symbols.o version.o write.o xmalloc.o xrealloc.o
M68KOBJ = atof-ieee.o m68k.o m68k-opcode.o
M68KSRC = atof-ieee.c m68k.c m68k-opcode.c m68k-opcode.h m-hpux.h \
m-sun3.h m-generic.h
SRC = as.c app.c append.c atof-generic.c bignum-copy.c \
expr.c flonum-const.c flonum-copy.c flonum-mult.c \
frags.c hash.c hex-value.c input-file.c input-scrub.c \
messages.c obstack.c output-file.c read.c strstr.c \
subsegs.c symbols.c version.c write.c xmalloc.c xrealloc.c
HEADERS = a.out.gnu.h as.h bignum.h expr.h flonum.h frags.h hash.h \
input-file.h md.h obstack.h read.h struc-symbol.h \
subsegs.h symbols.h write.h
# The default rule.
all : gas
gas: $(GENOBJ) $(M68KOBJ)
$(CC) -o gas $(LDFLAGS) $(GENOBJ) $(M68KOBJ) $(LIBS)
Makefile: config.status $(srcdir)/Makefile.in
$(SHELL) config.status
# global files
hash.o: hash.c
$(CC) -c -I$(srcdir) $(DEFS) $(CFLAGS) -Derror=as_fatal $(srcdir)/hash.c
xmalloc.o: xmalloc.c
$(CC) -c -I$(srcdir) $(DEFS) $(CFLAGS) -Derror=as_fatal $(srcdir)/xmalloc.c
xrealloc.o: xrealloc.c
$(CC) -c -I$(srcdir) $(DEFS) $(CFLAGS) -Derror=as_fatal $(srcdir)/xrealloc.c
clean:
rm -f gas $(GENOBJ) $(M68KOBJ) core gmon.out bugs a.out
# On AmigaDOS, there is no "native /bin/as", so install gas as both
# /bin/gas and /bin/as.
install: gas
$(INSTALL_PROGRAM) gas $(bindir)/as
$(INSTALL_PROGRAM) gas $(bindir)/gas
# Object dependencies.
atof-ieee.o: flonum.h
app.o: as.h
as.o: a.out.gnu.h as.h read.h struc-symbol.h write.h
atof-generic.o: flonum.h
bignum-copy.o: bignum.h
expr.o: a.out.gnu.h as.h expr.h flonum.h obstack.h read.h struc-symbol.h
expr.o: symbols.h
flonum-const.o: flonum.h
flonum-copy.o: flonum.h
flonum-mult.o: flonum.h
flonum-normal.o: flonum.h
flonum-print.o: flonum.h
frags.o: a.out.gnu.h as.h frags.h obstack.h struc-symbol.h subsegs.h
hash.o: hash.h
input-file.o: input-file.h
input-scrub.o: as.h input-file.h read.h
m68k.o: a.out.gnu.h as.h expr.h flonum.h frags.h hash.h \
m68k-opcode.h m68k.h md.h obstack.h struc-symbol.h
m68k-opcode.o: a.out.gnu.h as.h expr.h flonum.h frags.h \
hash.h m68k-opcode.h m68k.h md.h obstack.h struc-symbol.h
messages.o: as.h
obstack.o: obstack.h
read.o: a.out.gnu.h as.h expr.h flonum.h frags.h hash.h md.h obstack.h
read.o: read.h struc-symbol.h symbols.h
subsegs.o: a.out.gnu.h as.h frags.h obstack.h struc-symbol.h subsegs.h write.h
symbols.o: a.out.gnu.h as.h frags.h hash.h obstack.h struc-symbol.h symbols.h
write.o: a.out.gnu.h as.h md.h obstack.h struc-symbol.h subsegs.h
write.o: symbols.h write.h
flonum.h: bignum.h