patch-2.3.36 linux/arch/sparc/lib/Makefile
Next file: linux/arch/sparc/lib/rwsem.S
Previous file: linux/arch/sparc/kernel/sys_sunos.c
Back to the patch index
Back to the overall index
- Lines: 105
- Date:
Mon Jan 3 12:01:31 2000
- Orig file:
v2.3.35/linux/arch/sparc/lib/Makefile
- Orig date:
Wed Dec 29 13:13:13 1999
diff -u --recursive --new-file v2.3.35/linux/arch/sparc/lib/Makefile linux/arch/sparc/lib/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.30 1999/12/21 04:02:18 davem Exp $
+# $Id: Makefile,v 1.31 1999/12/28 11:50:39 jj Exp $
# Makefile for Sparc library files..
#
@@ -6,7 +6,7 @@
strlen.o checksum.o blockops.o memscan.o memcmp.o strncmp.o \
strncpy_from_user.o divdi3.o udivdi3.o strlen_user.o \
copy_user.o locks.o atomic.o bitops.o debuglocks.o lshrdi3.o \
- ashldi3.o
+ ashldi3.o rwsem.o
ifdef CONFIG_SMP
OBJS += irqlock.o
@@ -16,85 +16,11 @@
$(AR) rcs lib.a $(OBJS)
sync
-checksum.o: checksum.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o checksum.o checksum.S
+.S.s:
+ $(CPP) -D__ASSEMBLY__ $(AFLAGS) -ansi -DST_DIV0=0x2 $< -o $*.s
-memcpy.o: memcpy.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o memcpy.o memcpy.S
-
-memcmp.o: memcmp.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o memcmp.o memcmp.S
-
-memscan.o: memscan.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o memscan.o memscan.S
-
-strncmp.o: strncmp.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o strncmp.o strncmp.S
-
-strncpy_from_user.o: strncpy_from_user.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o strncpy_from_user.o strncpy_from_user.S
-
-strlen_user.o: strlen_user.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o strlen_user.o strlen_user.S
-
-copy_user.o: copy_user.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o copy_user.o copy_user.S
-
-blockops.o: blockops.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o blockops.o blockops.S
-
-memset.o: memset.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o memset.o memset.S
-
-locks.o: locks.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o locks.o locks.S
-
-atomic.o: atomic.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o atomic.o atomic.S
-
-bitops.o: bitops.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o bitops.o bitops.S
-
-ifdef CONFIG_SMP
-irqlock.o: irqlock.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o irqlock.o irqlock.S
-endif
-
-strlen.o: strlen.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o strlen.o strlen.S
-
-divdi3.o: divdi3.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o divdi3.o divdi3.S
-
-udivdi3.o: udivdi3.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c -o udivdi3.o udivdi3.S
-
-mul.o: mul.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -c -o mul.o mul.S
-
-rem.o: rem.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -DST_DIV0=0x2 -c -o rem.o rem.S
-
-sdiv.o: sdiv.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -DST_DIV0=0x2 -c -o sdiv.o sdiv.S
-
-udiv.o: udiv.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -DST_DIV0=0x2 -c -o udiv.o udiv.S
-
-umul.o: umul.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -c -o umul.o umul.S
-
-urem.o: urem.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -DST_DIV0=0x2 -c -o urem.o urem.S
-
-ashrdi3.o: ashrdi3.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -c -o ashrdi3.o ashrdi3.S
-
-ashldi3.o: ashldi3.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -c -o ashldi3.o ashldi3.S
-
-lshrdi3.o: lshrdi3.S
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -c -o lshrdi3.o lshrdi3.S
+.S.o:
+ $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -DST_DIV0=0x2 -c $< -o $*.o
dep:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)