Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  31 
  32 ROOTLINKS=      $(VAR_SGSBIN)/$(STRIPFILE)
  33 
  34 include         $(SRC)/cmd/Makefile.cmd
  35 include         $(SRC)/cmd/sgs/Makefile.com
  36 
  37 # avoid bootstrap problems
  38 MCS =           /usr/ccs/bin/mcs
  39 
  40 COMOBJS =       main.o          file.o          utils.o         global.o \
  41                 message.o
  42 TOOLSOBJS =     alist.o
  43 
  44 OBJS =          $(COMOBJS) $(TOOLSOBJS)
  45 
  46 LLDFLAGS =      '-R$$ORIGIN/../../lib'
  47 LLDFLAGS64 =    '-R$$ORIGIN/../../../lib/$(MACH64)'
  48 LDFLAGS +=      $(VERSREF) $(LLDFLAGS)
  49 LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf
  50 
  51 CERRWARN +=     -_gcc=-Wno-uninitialized
  52 
  53 SRCS =          $(COMOBJS:%.o=../common/%.c) \
  54                 $(TOOLSOBJS:%.o=$(SGSTOOLS)/common/%.c)
  55 
  56 CLEANFILES +=   $(OBJS)


  31 
  32 ROOTLINKS=      $(VAR_SGSBIN)/$(STRIPFILE)
  33 
  34 include         $(SRC)/cmd/Makefile.cmd
  35 include         $(SRC)/cmd/sgs/Makefile.com
  36 
  37 # avoid bootstrap problems
  38 MCS =           /usr/ccs/bin/mcs
  39 
  40 COMOBJS =       main.o          file.o          utils.o         global.o \
  41                 message.o
  42 TOOLSOBJS =     alist.o
  43 
  44 OBJS =          $(COMOBJS) $(TOOLSOBJS)
  45 
  46 LLDFLAGS =      '-R$$ORIGIN/../../lib'
  47 LLDFLAGS64 =    '-R$$ORIGIN/../../../lib/$(MACH64)'
  48 LDFLAGS +=      $(VERSREF) $(LLDFLAGS)
  49 LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf
  50 
  51 CERRWARN +=     $(CNOWARN_UNINIT)
  52 
  53 SRCS =          $(COMOBJS:%.o=../common/%.c) \
  54                 $(TOOLSOBJS:%.o=$(SGSTOOLS)/common/%.c)
  55 
  56 CLEANFILES +=   $(OBJS)