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,59 ****
include $(SRC)/cmd/sgs/Makefile.com
COMOBJ= config.o crle.o depend.o dump.o \
inspect.o hash.o print.o util.o
BLTOBJ= msg.o
! TOOLSOBJ= alist.o
! OBJS= $(BLTOBJ) $(COMOBJ) $(TOOLSOBJ)
MAPFILE= $(MAPFILE.NGB)
MAPOPT= $(MAPFILE:%=-M%)
# not linted
SMATCH=off
! CPPFLAGS += -I$(SRC)/common/sgsrtcid -I$(SRCBASE)/uts/$(ARCH)/sys \
-D__EXTENSIONS__
LLDFLAGS = '-R$$ORIGIN/../lib'
LLDFLAGS64 = '-R$$ORIGIN/../../lib/$(MACH64)'
! LDFLAGS += $(VERSREF) $(CC_USE_PROTO) $(MAPOPT) \
! $(LLDFLAGS) $(ZNOLAZYLOAD)
! LDLIBS += -lelf $(CONVLIBDIR) $(CONV_LIB) $(DLLIB)
BLTDEFS= msg.h
BLTDATA= msg.c
BLTMESG= $(SGSMSGDIR)/crle
--- 33,58 ----
include $(SRC)/cmd/sgs/Makefile.com
COMOBJ= config.o crle.o depend.o dump.o \
inspect.o hash.o print.o util.o
BLTOBJ= msg.o
! SGSCOMMONOBJ= alist.o
! OBJS= $(BLTOBJ) $(COMOBJ) $(SGSCOMMONOBJ)
MAPFILE= $(MAPFILE.NGB)
MAPOPT= $(MAPFILE:%=-M%)
# not linted
SMATCH=off
! CPPFLAGS += -I$(SRC)/common/sgsrtcid -I$(SRC)/uts/$(ARCH)/sys \
-D__EXTENSIONS__
LLDFLAGS = '-R$$ORIGIN/../lib'
LLDFLAGS64 = '-R$$ORIGIN/../../lib/$(MACH64)'
! LDFLAGS += $(VERSREF) $(MAPOPT) $(LLDFLAGS) $(ZNOLAZYLOAD)
! LDLIBS += -lelf $(CONVLIBDIR) -lconv
BLTDEFS= msg.h
BLTDATA= msg.c
BLTMESG= $(SGSMSGDIR)/crle
*** 64,71 ****
SGSMSGALL= $(SGSMSGCOM)
SGSMSGFLAGS += -h $(BLTDEFS) -d $(BLTDATA) -m $(BLTMESG) -n crle_msg
SRCS= $(COMOBJ:%.o=../common/%.c) $(BLTDATA) \
! $(TOOLSOBJ:%.o=$(SGSTOOLS)/common/%.c)
CLEANFILES += $(BLTFILES)
--- 63,70 ----
SGSMSGALL= $(SGSMSGCOM)
SGSMSGFLAGS += -h $(BLTDEFS) -d $(BLTDATA) -m $(BLTMESG) -n crle_msg
SRCS= $(COMOBJ:%.o=../common/%.c) $(BLTDATA) \
! $(COMMON:%.o=$(SGSCOMMON)/%.c)
CLEANFILES += $(BLTFILES)