import of upstream 2.4.34.4 from kernel.org
[linux-2.4.git] / arch / ia64 / sn / fakeprom / Makefile
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
9 TOPDIR=../../../..
10 HPATH           = $(TOPDIR)/include
11
12 LIB     = ../../lib/lib.a
13
14 OBJ=fpromasm.o main.o  fw-emu.o fpmem.o klgraph_init.o
15 obj-y=fprom
16 EXTRA_CFLAGS += -DSGI_SN2
17 EXTRA_AFLAGS += -DSGI_SN2
18 AFLAGS += -DSGI_SN2
19
20 fprom: $(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
26 clean:
27         rm -f *.o fprom
28
29
30 include $(TOPDIR)/Rules.make
31