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


  43 # install this library in the root filesystem
  44 include ../../Makefile.rootfs
  45 
  46 LIBS =          $(DYNLIB) $(LINTLIB)
  47 LDLIBS +=       -lsecdb -lc
  48 
  49 SRCDIR =        ../common
  50 $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  51 
  52 lint:=          SRCS = \
  53         $(NONCOMMONOBJS:%.o=$(SRCDIR)/%.c) \
  54         $(COMMONOBJS:%.o=$(COMMONDIR)/%.c)
  55 
  56 COMMONDIR=      $(SRC)/common/tsol
  57 
  58 CFLAGS +=       $(CCVERBOSE)
  59 CPPFLAGS +=     -D_REENTRANT -I$(SRCDIR) -I$(COMMONDIR)
  60 
  61 LINTFLAGS64 +=  -m64
  62 
  63 CERRWARN +=     -_gcc=-Wno-uninitialized
  64 
  65 # not linted
  66 SMATCH=off
  67 
  68 .KEEP_STATE:
  69 
  70 all: $(LIBS)
  71 
  72 lint: lintcheck
  73 
  74 objs/%.o pic_profs/%.o pics/%.o:        $(COMMONDIR)/%.c
  75         $(COMPILE.c) -o $@ $<
  76         $(POST_PROCESS_O)
  77 
  78 include ../../Makefile.targ


  43 # install this library in the root filesystem
  44 include ../../Makefile.rootfs
  45 
  46 LIBS =          $(DYNLIB) $(LINTLIB)
  47 LDLIBS +=       -lsecdb -lc
  48 
  49 SRCDIR =        ../common
  50 $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  51 
  52 lint:=          SRCS = \
  53         $(NONCOMMONOBJS:%.o=$(SRCDIR)/%.c) \
  54         $(COMMONOBJS:%.o=$(COMMONDIR)/%.c)
  55 
  56 COMMONDIR=      $(SRC)/common/tsol
  57 
  58 CFLAGS +=       $(CCVERBOSE)
  59 CPPFLAGS +=     -D_REENTRANT -I$(SRCDIR) -I$(COMMONDIR)
  60 
  61 LINTFLAGS64 +=  -m64
  62 
  63 CERRWARN +=     $(CNOWARN_UNINIT)
  64 
  65 # not linted
  66 SMATCH=off
  67 
  68 .KEEP_STATE:
  69 
  70 all: $(LIBS)
  71 
  72 lint: lintcheck
  73 
  74 objs/%.o pic_profs/%.o pics/%.o:        $(COMMONDIR)/%.c
  75         $(COMPILE.c) -o $@ $<
  76         $(POST_PROCESS_O)
  77 
  78 include ../../Makefile.targ