patch-2.0.19 linux/arch/i386/lib/Makefile

Next file: linux/arch/i386/lib/semaphore.S
Previous file: linux/arch/i386/kernel/ptrace.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.18/linux/arch/i386/lib/Makefile linux/arch/i386/lib/Makefile
@@ -2,7 +2,15 @@
 # Makefile for i386-specific library files..
 #
 
+ifdef SMP
+.S.o:
+	$(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c $< -o $*.o
+else
+.S.o:
+	$(CC) -D__ASSEMBLY__ -traditional -c $< -o $*.o
+endif
+
 L_TARGET = lib.a
-L_OBJS  = checksum.o
+L_OBJS  = checksum.o semaphore.o
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov