import of upstream 2.4.34.4 from kernel.org
[linux-2.4.git] / arch / alpha / math-emu / Makefile
1 #
2 # Makefile for the FPU instruction emulation.
3 #
4
5 CFLAGS += -I. -I$(TOPDIR)/include/math-emu -w
6
7 ifeq ($(CONFIG_MATHEMU),y)
8
9 O_TARGET        := math-emu.o
10 obj-y           := math.o qrnnd.o
11
12 else
13
14 list-multi      := math-emu.o
15 math-emu-objs   := math.o qrnnd.o
16 obj-m           := math-emu.o
17 math-emu.o: $(math-emu-objs)
18         $(LD) -r -o $@ $(math-emu-objs)
19
20 endif
21
22 include $(TOPDIR)/Rules.make