Print this page
5468 Missing dependencies in lib/Makefile
@@ -21,10 +21,12 @@
#
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright 2015 RackTop Systems.
+#
PROG= link
XPG4PROG= link
OBJS= link.o
@@ -39,11 +41,11 @@
.KEEP_STATE:
all: $(PROG) $(XPG4)
$(PROG) $(XPG4): $$(OBJS)
- $(LINK.c) -o $@ $(OBJS)
+ $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
$(POST_PROCESS)
install: all $(ROOTUSRSBINPROG) $(ROOTXPG4PROG)
-$(RM) $(ROOTETCPROG)
-$(SYMLINK) ../usr/sbin/$(PROG) $(ROOTETCPROG)