summaryrefslogtreecommitdiffstats
path: root/arch/sparc/mm/Makefile
blob: f7b9b367ce71f9e5f72a69e69a42bc4171afaef6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $Id: Makefile,v 1.25 1997/05/03 05:09:11 davem Exp $
# Makefile for the linux Sparc-specific parts of the memory manager.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...

O_TARGET := mm.o
O_OBJS   := fault.o init.o sun4c.o srmmu.o hypersparc.o viking.o \
	    tsunami.o loadmmu.o generic.o asyncd.o extable.o

include $(TOPDIR)/Rules.make

ifdef SMP

hypersparc.o: hypersparc.S
	$(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o hypersparc.o hypersparc.S

viking.o: viking.S
	$(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o viking.o viking.S

tsunami.o: tsunami.S
	$(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o tsunami.o tsunami.S

else

hypersparc.o: hypersparc.S
	$(CC) -D__ASSEMBLY__ -ansi -c -o hypersparc.o hypersparc.S

viking.o: viking.S
	$(CC) -D__ASSEMBLY__ -ansi -c -o viking.o viking.S

tsunami.o: tsunami.S
	$(CC) -D__ASSEMBLY__ -ansi -c -o tsunami.o tsunami.S

endif