Import changeset
[linux-flexiantxendom0-3.2.10.git] / arch / sparc / mm / Makefile
1 # $Id: Makefile,v 1.38 2000/12/15 00:41:22 davem Exp $
2 # Makefile for the linux Sparc-specific parts of the memory manager.
3 #
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
7 #
8 # Note 2! The CFLAGS definition is now in the main makefile...
9
10 .S.o:
11         $(CC) $(AFLAGS) -ansi -c -o $*.o $<
12
13 O_TARGET := mm.o
14 obj-y    := fault.o init.o loadmmu.o generic.o extable.o btfixup.o
15
16 ifeq ($(CONFIG_SUN4),y)
17 obj-y    += nosrmmu.o
18 else
19 obj-y    += srmmu.o iommu.o io-unit.o hypersparc.o viking.o tsunami.o swift.o
20 endif
21
22 ifdef CONFIG_SMP
23 obj-y   += nosun4c.o
24 else
25 obj-y   += sun4c.o
26 endif
27
28 include $(TOPDIR)/Rules.make