From ffcc901f03be5fe906be6bc5e1cbe34adcd2f3d1 Mon Sep 17 00:00:00 2001 From: jdp Date: Sat, 9 Jan 1999 21:51:00 +0000 Subject: 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. --- sys/conf/Makefile.powerpc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'sys/conf/Makefile.powerpc') diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index 1905403..e4e8fd30 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -1,7 +1,7 @@ # Makefile.i386 -- with config changes. # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.132 1998/12/21 10:29:09 msmith Exp $ +# $Id: Makefile.i386,v 1.133 1999/01/07 06:52:41 peter Exp $ # # Makefile for FreeBSD # @@ -95,7 +95,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 @@ -122,8 +122,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 @@ -147,9 +148,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 -- cgit v1.1