aboutsummaryrefslogtreecommitdiff
path: root/misc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/Makefile')
-rw-r--r--misc/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/misc/Makefile b/misc/Makefile
index e4f9786..3c87abf 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -56,13 +56,16 @@ extra-objs := bsd-compat.o
install-lib := libbsd-compat.a libg.a
non-lib.a := libbsd-compat.a
+# Build the -lutil library with these extra functions.
+extra-libs := libutil
+libutil-routines:= login login_tty logout logwtmp pty
+
+
include ../Rules
+
$(objpfx)libbsd-compat.a: $(objpfx)bsd-compat.o
rm -f $@
ln $< $@
-lib: $(objpfx)libbsd-compat.a
-
$(objpfx)libg.a: $(dep-dummy-lib); $(make-dummy-lib)
-lib: $(objpfx)libg.a