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

*** 33,55 **** include $(SRC)/cmd/sgs/Makefile.com COMOBJ= pvs.o BLTOBJ= msg.o ! TOOLOBJS = alist.o ! OBJS= $(BLTOBJ) $(COMOBJ) $(TOOLOBJS) MAPFILE= $(MAPFILE.NGB) MAPOPTS= $(MAPFILE:%=-M%) ! CPPFLAGS += -I$(SRCBASE)/lib/libc/inc LLDFLAGS = '-R$$ORIGIN/../lib' LLDFLAGS64 = '-R$$ORIGIN/../../lib/$(MACH64)' ! LDFLAGS += $(VERSREF) $(CC_USE_PROTO) $(MAPOPTS) $(LLDFLAGS) ! LDLIBS += $(LDDBGLIBDIR) $(LDDBG_LIB) $(ELFLIBDIR) -lelf \ ! $(CONVLIBDIR) $(CONV_LIB) # not linted SMATCH=off BLTDEFS= msg.h --- 33,55 ---- include $(SRC)/cmd/sgs/Makefile.com COMOBJ= pvs.o BLTOBJ= msg.o ! SGSCOMMONOBJ = alist.o ! OBJS= $(BLTOBJ) $(COMOBJ) $(SGSCOMMONOBJ) MAPFILE= $(MAPFILE.NGB) MAPOPTS= $(MAPFILE:%=-M%) ! CPPFLAGS += -I$(SRC)/lib/libc/inc LLDFLAGS = '-R$$ORIGIN/../lib' LLDFLAGS64 = '-R$$ORIGIN/../../lib/$(MACH64)' ! LDFLAGS += $(VERSREF) $(MAPOPTS) $(LLDFLAGS) ! LDLIBS += $(LDDBGLIBDIR) -llddbg $(ELFLIBDIR) -lelf \ ! $(CONVLIBDIR) -lconv # not linted SMATCH=off BLTDEFS= msg.h
*** 63,70 **** SGSMSGALL= $(SGSMSGCOM) SGSMSGFLAGS += -h $(BLTDEFS) -d $(BLTDATA) -m $(BLTMESG) -n pvs_msg SRCS= $(COMOBJ:%.o=../common/%.c) $(BLTDATA) \ ! $(TOOLOBJS:%.o=$(SGSTOOLS)/common/%.c) CLEANFILES += $(BLTFILES) --- 63,70 ---- SGSMSGALL= $(SGSMSGCOM) SGSMSGFLAGS += -h $(BLTDEFS) -d $(BLTDATA) -m $(BLTMESG) -n pvs_msg SRCS= $(COMOBJ:%.o=../common/%.c) $(BLTDATA) \ ! $(SGSCOMMONOBJ:%.o=$(SGSCOMMON)/%.c) CLEANFILES += $(BLTFILES)