summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-08-14 14:24:46 +0000
committerMiles Bader <miles@gnu.org>1996-08-14 14:24:46 +0000
commit2731414ffa9a42d49e47c5d9c18493a070000baf (patch)
tree4a80fdbea831f027b459fa89606199cc3f67816a
parent90d45b38b70ee46d1545a6b13627135eb4090c23 (diff)
(getty-LDLIBS): New variable.
(getty): Dependency on -lutil removed. (libutil-libsubst): Variable removed.
-rw-r--r--daemons/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/daemons/Makefile b/daemons/Makefile
index b089ac79..00beb292 100644
--- a/daemons/Makefile
+++ b/daemons/Makefile
@@ -26,14 +26,13 @@ SRCS = rc.sh getty.c
installationdir = $(libexecdir)
OBJS = $(SRCS:.c=.o)
-
-libutil-libsubst = -lutil
+getty-LDLIBS = -lutil
include ../Makeconf
-%: %.sh
- cp $< $@ && chmod +w $@
-
-getty: ../libshouldbeinlibc/libshouldbeinlibc.a -lutil
+getty: ../libshouldbeinlibc/libshouldbeinlibc.a
$(filter-out $(special-targets), $(targets)): %: %.o
+
+%: %.sh
+ cp $< $@ && chmod +w $@