1#
2# This file is subject to the terms and conditions of the GNU General Public
3# License.  See the file "COPYING" in the main directory of this archive
4# for more details.
5#
6#  Copyright (c) 2000-2003 Silicon Graphics, Inc.  All rights reserved.
7#
8
9TOPDIR=../../../..
10HPATH           = $(TOPDIR)/include
11
12LIB     = ../../lib/lib.a
13
14OBJ=fpromasm.o main.o  fw-emu.o fpmem.o klgraph_init.o
15obj-y=fprom
16EXTRA_CFLAGS += -DSGI_SN2
17EXTRA_AFLAGS += -DSGI_SN2
18AFLAGS += -DSGI_SN2
19
20fprom: $(OBJ)
21	$(LD) -static -Tfprom.lds -o fprom $(OBJ) $(LIB)
22
23.S.o:
24	$(CC)  -D__ASSEMBLY__ $(AFLAGS) $(EXTRA_AFLAGS) $(AFLAGS_KERNEL) -c -o $*.o $<
25
26clean:
27	rm -f *.o fprom
28
29
30include $(TOPDIR)/Rules.make
31
32