Print this page
11461 should use a native link-editor during the build
11463 SUNWonld has passed its use-by date
11464 cmd/sgs/tools should contain tools, not common code
11465 sgsmsg should be built with the rest of the build tools

@@ -27,14 +27,11 @@
 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
 #
 
 all:            $(PROG)
 
-package \
-install:        all $(VAR_SGSBINPROG) $(VAR_SGSCCSLINK)
-
-%.o:            ../common/%.c
+%.o:            $(SRCDIR)/common/%.c
                 $(COMPILE.c) $<
                 $(POST_PROCESS_O)
 
 $(PROG):        $(OBJS) $(MAPFILES)
                 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)

@@ -47,19 +44,10 @@
                 $(RM) $(PROG)
 
 include         $(SRC)/cmd/Makefile.targ
 include         $(SRC)/cmd/sgs/Makefile.targ
 
-# Special target for native builds (ie. when we need to build a version of ld
-# to build a version of ld :-).
-
-native:         $(SGSBINDIR)/$(PROG)
-
-$(SGSBINDIR)/$(PROG):   $(OBJS) $(SGSBINDIR)
-                $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
-                $(POST_PROCESS)
-
 # Derived source and header files (messaging).
 
 catalog:        $(BLTMESG)
 
 chkmsg:         $(SRCS)