1 # arch/ia64/sn/kernel/Makefile
3 # Copyright (C) 1999,2001-2003 Silicon Graphics, Inc. All Rights Reserved.
5 # This program is free software; you can redistribute it and/or modify it
6 # under the terms of version 2 of the GNU General Public License
7 # as published by the Free Software Foundation.
9 # This program is distributed in the hope that it would be useful, but
10 # WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 # Further, this software is distributed without any warranty that it is
14 # free of the rightful claim of any third person regarding infringement
15 # or the like. Any license provided herein, whether implied or
16 # otherwise, applies only to this software file. Patent licenses, if
17 # any, provided herein do not apply to combinations of this program with
18 # other software, or any other product whatsoever.
20 # You should have received a copy of the GNU General Public
21 # License along with this program; if not, write the Free Software
22 # Foundation, Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
24 # Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
25 # Mountain View, CA 94043, or:
29 # For further information regarding this notice, see:
31 # http://oss.sgi.com/projects/GenInfo/NoticeExplan
34 EXTRA_CFLAGS := -DLITTLE_ENDIAN
37 $(CPP) $(AFLAGS) $(AFLAGS_KERNEL) -o $*.s $<
39 $(CC) $(AFLAGS) $(AFLAGS_KERNEL) -c -o $*.o $<
43 export-objs = sn_ksyms.o
47 obj-y = bte.o idle.o irq.o mca.o probe.o setup.o \
48 sn_ivt.o sn2/sn2.o sv.o
50 obj-$(CONFIG_IA64_GENERIC) += machvec.o
51 obj-$(CONFIG_MODULES) += sn_ksyms.o
53 include $(TOPDIR)/Rules.make