summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.powerpc
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1999-01-09 21:51:00 +0000
committerjdp <jdp@FreeBSD.org>1999-01-09 21:51:00 +0000
commitffcc901f03be5fe906be6bc5e1cbe34adcd2f3d1 (patch)
tree56fbd00f1073a1c35b0739f64a29af1301a31511 /sys/conf/Makefile.powerpc
parenta91fb30979663d29289500055cfac86abf1c3789 (diff)
downloadFreeBSD-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/conf/Makefile.powerpc')
-rw-r--r--sys/conf/Makefile.powerpc13
1 files changed, 7 insertions, 6 deletions
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
OpenPOWER on IntegriCloud