Print this page
5468 Missing dependencies in lib/Makefile
@@ -16,16 +16,16 @@
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
-
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright 2015 RackTop Systems.
+#
all: $(PROG) $(DMODPROG)
.NO_PARALLEL:
.PARALLEL: $(OBJS) $(LINTFILES) $(DMOD_OBJS) $(DMODLINTFILES)
@@ -35,11 +35,11 @@
$(CTFMERGE) -L VERSION -o $@ $(OBJS)
$(POST_PROCESS_SO)
$(DMODPROG): $(DMOD_OBJS)
-@mkdir -p $(@D)
- $(LINK.c) $(DMOD_OBJS) -o $@
+ $(LINK.c) $(DMOD_OBJS) -o $@ $(LDLIBS)
$(POST_PROCESS)
%.o: %.c
$(COMPILE.c) $<
$(CTFCONVERT_O)