1# arch/ia64/sn/kernel/Makefile
2#
3# Copyright (C) 1999,2001-2003 Silicon Graphics, Inc.  All Rights Reserved.
4#
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.
8#
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.
12#
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.
19#
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.
23#
24# Contact information:  Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
25# Mountain View, CA  94043, or:
26#
27# http://www.sgi.com
28#
29# For further information regarding this notice, see:
30#
31# http://oss.sgi.com/projects/GenInfo/NoticeExplan
32#
33
34EXTRA_CFLAGS    := -DLITTLE_ENDIAN
35
36.S.s:
37	$(CPP) $(AFLAGS) $(AFLAGS_KERNEL) -o $*.s $<
38.S.o:
39	$(CC) $(AFLAGS) $(AFLAGS_KERNEL) -c -o $*.o $<
40
41O_TARGET        = sn.o
42
43export-objs = sn_ksyms.o
44
45subdir-y			= sn2
46
47obj-y				= bte.o idle.o irq.o mca.o probe.o setup.o \
48				  sn_ivt.o sn2/sn2.o sv.o
49
50obj-$(CONFIG_IA64_GENERIC)      += machvec.o
51obj-$(CONFIG_MODULES)           += sn_ksyms.o
52
53include $(TOPDIR)/Rules.make
54