diff options
author | jdp <jdp@FreeBSD.org> | 1999-01-09 21:51:00 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1999-01-09 21:51:00 +0000 |
commit | ffcc901f03be5fe906be6bc5e1cbe34adcd2f3d1 (patch) | |
tree | 56fbd00f1073a1c35b0739f64a29af1301a31511 /sys/pc98 | |
parent | a91fb30979663d29289500055cfac86abf1c3789 (diff) | |
download | FreeBSD-src-ffcc901f03be5fe906be6bc5e1cbe34adcd2f3d1.zip FreeBSD-src-ffcc901f03be5fe906be6bc5e1cbe34adcd2f3d1.tar.gz |
Switch to using ".So" as the extension for PIC object files rather
than ".so". The old extension conflicted with well-established
naming conventions for dynamically loadable modules.
The "clean" targets continue to remove ".so" files too, to deal with
old systems.
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/conf/Makefile.pc98 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/pc98/conf/Makefile.pc98 b/sys/pc98/conf/Makefile.pc98 index b62b6ff..527d6fa 100644 --- a/sys/pc98/conf/Makefile.pc98 +++ b/sys/pc98/conf/Makefile.pc98 @@ -3,7 +3,7 @@ # Makefile.i386 -- with config changes. # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.pc98,v 1.48 1998/12/25 09:03:18 kato Exp $ +# $Id: Makefile.pc98,v 1.49 1999/01/08 15:59:41 kato Exp $ # # Makefile for FreeBSD # @@ -98,7 +98,7 @@ SYSTEM_LD_TAIL= @echo rearranging symbols; \ .endif .if ${KERNFORMAT} == elf SYSTEM_OBJS= locore.o setdef0.o vnode_if.o ${OBJS} ioconf.o param.o config.o \ - setdef1.o hack.so + setdef1.o hack.So SYSTEM_LD= @${LD} -elf -Bdynamic -T $S/i386/conf/kernel.script \ -export-dynamic -dynamic-linker /red/herring \ -o ${.TARGET} -X ${SYSTEM_OBJS} vers.o @@ -125,8 +125,9 @@ ${SYSTEM_OBJS}: ${BEFORE_DEPEND:M*.h} .endif clean: - rm -f *.o *.so *.ko *.s eddep errs genassym gensetdefs kernel linterrs \ - makelinks param.c setdefs.h symbols.exclude symbols.sort tags \ + rm -f *.o *.so *.So *.ko *.s eddep errs genassym gensetdefs \ + kernel linterrs makelinks param.c setdefs.h \ + symbols.exclude symbols.sort tags \ vers.c vnode_if.c vnode_if.h ${CLEAN} #lint: /tmp param.c @@ -150,9 +151,9 @@ locore.o: ${I386}/i386/locore.s assym.s # This is a hack. BFD "optimizes" away dynamic mode if there are no # dynamic references. We could probably do a '-Bforcedynamic' mode like # in the a.out ld. For now, this works. -hack.so: Makefile +hack.So: Makefile touch hack.c - ${CC} -elf -shared -nostdlib hack.c -o hack.so + ${CC} -elf -shared -nostdlib hack.c -o hack.So rm -f hack.c .endif |