Print this page
7612 SGSPROTO lacks structure
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
@@ -20,10 +20,12 @@
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright 2016 RackTop Systems.
+#
pics/%.o: ../common/%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
@@ -37,14 +39,13 @@
-$(RM) $(DYNLIB)
# Special target for native builds (ie. when we need to build a version of ld
# to build a version of ld :-).
-native: $(SGSPROTO)/$(DYNLIB)
+native: $(SGSLIBDIR)/$(DYNLIB)
-$(SGSPROTO)/$(DYNLIB): \
- pics .WAIT $$(PICS)
+$(SGSLIBDIR)/$(DYNLIB): pics .WAIT $$(PICS)
$(BUILD.SO)
$(POST_PROCESS_SO)
include $(SRC)/lib/Makefile.targ
include $(SRC)/cmd/sgs/Makefile.targ