diff options
Diffstat (limited to 'sys/i386/conf/Makefile.i386')
-rw-r--r-- | sys/i386/conf/Makefile.i386 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/i386/conf/Makefile.i386 b/sys/i386/conf/Makefile.i386 index 1905403..e4e8fd30 100644 --- a/sys/i386/conf/Makefile.i386 +++ b/sys/i386/conf/Makefile.i386 @@ -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 |