import of upstream 2.4.34.4 from kernel.org
[linux-2.4.git] / arch / ia64 / sn / io / 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 # Makefile for the sn kernel routines.
9
10 EXTRA_CFLAGS    := -DLITTLE_ENDIAN
11
12 EXTRA_CFLAGS    += -DSHUB_SWAP_WAR
13
14 O_TARGET := sgiio.o
15  
16 export-objs := snia_if.o
17
18 obj-y :=        sgi_if.o xswitch.o cdl.o io.o snia_if.o
19
20 obj-y           += sn2/snio.o machvec/snio.o \
21                    drivers/snio.o platform_init/snio.o
22
23 ifdef CONFIG_HWGFS_FS
24 obj-$(CONFIG_HWGFS_FS)          += hwgfs/snio.o
25 else
26 obj-$(CONFIG_DEVFS_FS)          += hwgdfs/snio.o
27 endif
28
29 subdir-y                        += sn2 machvec drivers platform_init
30
31 ifdef CONFIG_HWGFS_FS
32 subdir-$(CONFIG_HWGFS_FS)       += hwgfs
33 else
34 subdir-$(CONFIG_DEVFS_FS)       += hwgdfs
35 endif
36
37 include $(TOPDIR)/Rules.make