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 13O_TARGET := mm.o 14obj-y := fault.o init.o loadmmu.o generic.o extable.o btfixup.o 15 16ifeq ($(CONFIG_SUN4),y) 17obj-y += nosrmmu.o 18else 19obj-y += srmmu.o iommu.o io-unit.o hypersparc.o viking.o \ 20 tsunami.o swift.o 21endif 22 23ifdef CONFIG_HIGHMEM 24obj-y += highmem.o 25endif 26 27ifdef CONFIG_SMP 28obj-y += nosun4c.o 29else 30obj-y += sun4c.o 31endif 32 33include $(TOPDIR)/Rules.make 34