summaryrefslogtreecommitdiffstats
path: root/arch/i386/lib/Makefile
blob: be8fcec0af0124422c897768a4617f5132cdf5f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# Makefile for i386-specific library files..
#

.S.o:
	$(CC) $(AFLAGS) -traditional -c $< -o $*.o

L_TARGET = lib.a
L_OBJS  = checksum.o old-checksum.o delay.o \
	usercopy.o getuser.o putuser.o iodebug.o

ifdef CONFIG_X86_USE_3DNOW
L_OBJS += mmx.o
endif

ifdef CONFIG_HAVE_DEC_LOCK
L_OBJS += dec_and_lock.o
endif

include $(TOPDIR)/Rules.make