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
*** 50,73 ****
OBJECTS= $(BLTOBJS) $(MACHOBJS) $(COMOBJS) $(CLASSOBJS) $(MISCOBJS)
include $(SRC)/lib/Makefile.lib
# Use the value of M4 set in Makefile.master via Makefile.lib
DEMOFILES= Makefile 00README acom.c dcom.c \
pcom.c tpcom.c dispsyms.c
! DEMOFILESRCDIR= ../demo
ROOTDEMODIRBASE=$(ROOT)/usr/demo/ELF
ROOTDEMODIRS= $(ROOTDEMODIRBASE)
include $(SRC)/cmd/sgs/Makefile.com
! MAPFILES = ../common/mapfile-vers
DYNFLAGS += $(VERSREF)
! LDLIBS += $(CONVLIBDIR) $(CONV_LIB) -lc
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
SMOFF += indenting
--- 50,75 ----
OBJECTS= $(BLTOBJS) $(MACHOBJS) $(COMOBJS) $(CLASSOBJS) $(MISCOBJS)
include $(SRC)/lib/Makefile.lib
+ SRCDIR= $(SRC)/cmd/sgs/libelf
+
# Use the value of M4 set in Makefile.master via Makefile.lib
DEMOFILES= Makefile 00README acom.c dcom.c \
pcom.c tpcom.c dispsyms.c
! DEMOFILESRCDIR= $(SRCDIR)/demo
ROOTDEMODIRBASE=$(ROOT)/usr/demo/ELF
ROOTDEMODIRS= $(ROOTDEMODIRBASE)
include $(SRC)/cmd/sgs/Makefile.com
! MAPFILES = $(SRCDIR)/common/mapfile-vers
DYNFLAGS += $(VERSREF)
! LDLIBS += $(CONVLIBDIR) -lconv -lc
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
SMOFF += indenting
*** 81,100 ****
BLTDATA= msg.c
BLTMESG= $(SGSMSGDIR)/libelf
BLTFILES= $(BLTDEFS) $(BLTDATA) $(BLTMESG)
! SGSMSGCOM= ../common/libelf.msg
! SGSMSG32= ../common/libelf.32.msg
SGSMSGTARG= $(SGSMSGCOM)
SGSMSGALL= $(SGSMSGCOM) $(SGSMSG32)
SGSMSGFLAGS1= $(SGSMSGFLAGS) -m $(BLTMESG)
SGSMSGFLAGS2= $(SGSMSGFLAGS) -h $(BLTDEFS) -d $(BLTDATA) -n libelf_msg
BLTSRCS= $(BLTOBJS:%.o=%.c)
! LIBSRCS= $(COMOBJS:%.o=../common/%.c) $(MISCOBJS:%.o=../misc/%.c) \
$(MACHOBJS:%.o=%.c) $(BLTSRCS)
ROOTFS_DYNLIB= $(DYNLIB:%=$(ROOTFS_LIBDIR)/%)
ROOTFS_DYNLIB64= $(DYNLIB:%=$(ROOTFS_LIBDIR64)/%)
--- 83,102 ----
BLTDATA= msg.c
BLTMESG= $(SGSMSGDIR)/libelf
BLTFILES= $(BLTDEFS) $(BLTDATA) $(BLTMESG)
! SGSMSGCOM= $(SRCDIR)/common/libelf.msg
! SGSMSG32= $(SRCDIR)/common/libelf.32.msg
SGSMSGTARG= $(SGSMSGCOM)
SGSMSGALL= $(SGSMSGCOM) $(SGSMSG32)
SGSMSGFLAGS1= $(SGSMSGFLAGS) -m $(BLTMESG)
SGSMSGFLAGS2= $(SGSMSGFLAGS) -h $(BLTDEFS) -d $(BLTDATA) -n libelf_msg
BLTSRCS= $(BLTOBJS:%.o=%.c)
! LIBSRCS= $(COMOBJS:%.o=$(SRCDIR)/common/%.c) $(MISCOBJS:%.o=$(SRCDIR)/misc/%.c) \
$(MACHOBJS:%.o=%.c) $(BLTSRCS)
ROOTFS_DYNLIB= $(DYNLIB:%=$(ROOTFS_LIBDIR)/%)
ROOTFS_DYNLIB64= $(DYNLIB:%=$(ROOTFS_LIBDIR64)/%)