summaryrefslogtreecommitdiff
path: root/distrib/utils/libhack
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>1999-06-27 12:55:58 +0000
committermrg <mrg@NetBSD.org>1999-06-27 12:55:58 +0000
commite7e33e213622ef8a4f7948f4be9c6c9e58dc6e06 (patch)
treed64dba4818fca90798d46daadf27928853d39d4e /distrib/utils/libhack
parenta7e4d3ac4d35da454e5bba0a47fcf0e3b790b721 (diff)
miniroot changes:
install.sub: - fix interface grovelling, ifmedia support, allow ifmedia and link to have a "none" (-> "") answer (which lets you give nothing when a default answer is given) - allow installing more than one set at a time, including "all" as a synonym for all remaining sets - mount -o async when extracting sets makeconf.awk: - put default "libs" section at the end rather than the start, so you can put other "libs" in before this list - minor cleanup mtree.conf: - create /kern sparc install.md: - MDSETS are now "kern xbase xcomp xcontrib xfont xserver" - use /kern & kernfs (replaces dmesg) - replace grep & cut pipe lines with sed - replace grep hackery with sed hackery - grep and cut are no longer required! yay! - deal with no /usr/bin/vi -- call disklabel -i - in md_copy_kern() link the netbsd.GENERIC we got from the kern set, rather than the miniroot kernel sparc miniroot list: - no more dmesg, cut or grep sparc ramdisk changes: Makefile: - `ramdiskbin.conf' is now generated by makeconf.awk - don't use libhack's opendir, it breaks dot.profile: - don't assume terminal is `sun' - set EDITOR=ed - list: - instbin -> ramdiskbin to make `makeconf.awk' work - CRUNCHSPECIAL those special dirs - add our LIBS as necessary libhack changes: - if NOLIBHACKOPENDIR is set, don't build opendir.o
Diffstat (limited to 'distrib/utils/libhack')
-rw-r--r--distrib/utils/libhack/Makefile7
-rw-r--r--distrib/utils/libhack/Makefile.inc7
2 files changed, 10 insertions, 4 deletions
diff --git a/distrib/utils/libhack/Makefile b/distrib/utils/libhack/Makefile
index 021e9c48685..16e07fa2d3e 100644
--- a/distrib/utils/libhack/Makefile
+++ b/distrib/utils/libhack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 1999/05/19 03:58:13 gwr Exp $
+# $NetBSD: Makefile,v 1.8 1999/06/27 12:56:01 mrg Exp $
#
# Stubs to kill off some things from libc:
# This save space on a boot system.
@@ -6,8 +6,11 @@
LIB= hack
SRCS= getcap.c getgrent.c gethost.c getnet.c getnetgr.c getpwent.c \
- localeconv.c opendir.c perror.c setlocale.c \
+ localeconv.c perror.c setlocale.c \
strerror.c strsignal.c utmp.c yplib.c
+.ifndef NOLIBHACKOPENDIR
+SRCS+= opendir.c
+.endif
WARNS= 1
MKPIC= no
diff --git a/distrib/utils/libhack/Makefile.inc b/distrib/utils/libhack/Makefile.inc
index e19958e33ac..0e01800cdbd 100644
--- a/distrib/utils/libhack/Makefile.inc
+++ b/distrib/utils/libhack/Makefile.inc
@@ -1,11 +1,14 @@
-# $NetBSD: Makefile.inc,v 1.7 1999/05/19 03:58:13 gwr Exp $
+# $NetBSD: Makefile.inc,v 1.8 1999/06/27 12:56:01 mrg Exp $
# Include this fragment to build libhack.o
# It is .o and not .a to make sure these are the
# objects you get (and not the ones in libc.a)
HACKOBJS= getcap.o getgrent.o gethost.o getnet.o getnetgr.o getpwent.o \
- localeconv.o opendir.o perror.o setlocale.o \
+ localeconv.o perror.o setlocale.o \
strerror.o strsignal.o utmp.o yplib.o
+.ifndef NOLIBHACKOPENDIR
+HACKOBJS+= opendir.o
+.endif
libhack.o : $(HACKOBJS)
$(LD) -r -o $@ $(HACKOBJS)