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


  70 include ../../Makefile.lib
  71 
  72 # install this library in the root filesystem
  73 include ../../Makefile.rootfs
  74 
  75 SRCDIR =        ../common
  76 
  77 LIBS =          $(DYNLIB) $(LINTLIB)
  78 
  79 LINTSRC= $(LINTLIB:%.ln=%)
  80 $(LINTLIB) :=   SRCS = ../common/$(LINTSRC)
  81 ROOTLINTDIR=    $(ROOTLIBDIR)
  82 ROOTLINT=       $(LINTSRC:%=$(ROOTLINTDIR)/%)
  83 
  84 CLEANFILES +=   $(LINTOUT) $(LINTLIB)
  85 
  86 CFLAGS  +=      $(CCVERBOSE)
  87 LDLIBS +=       -lsocket -lnsl -lmd -lc -lsecdb -ltsol -linetutil -lscf
  88 
  89 CERRWARN +=     -_gcc=-Wno-parentheses
  90 CERRWARN +=     -_gcc=-Wno-uninitialized
  91 
  92 # not linted
  93 SMATCH=off
  94 
  95 COMDIR=         ../common
  96 AUDITD=         $(SRC)/cmd/auditd
  97 
  98 CPPFLAGS += -I$(COMDIR) -I$(AUDITD)
  99 CPPFLAGS += -D_REENTRANT
 100 
 101 #
 102 # message catalogue file
 103 #
 104 TEXT_DOMAIN= SUNW_OST_OSLIB
 105 
 106 .KEEP_STATE:
 107 
 108 all: $(LIBS)
 109 
 110 lint: lintcheck


  70 include ../../Makefile.lib
  71 
  72 # install this library in the root filesystem
  73 include ../../Makefile.rootfs
  74 
  75 SRCDIR =        ../common
  76 
  77 LIBS =          $(DYNLIB) $(LINTLIB)
  78 
  79 LINTSRC= $(LINTLIB:%.ln=%)
  80 $(LINTLIB) :=   SRCS = ../common/$(LINTSRC)
  81 ROOTLINTDIR=    $(ROOTLIBDIR)
  82 ROOTLINT=       $(LINTSRC:%=$(ROOTLINTDIR)/%)
  83 
  84 CLEANFILES +=   $(LINTOUT) $(LINTLIB)
  85 
  86 CFLAGS  +=      $(CCVERBOSE)
  87 LDLIBS +=       -lsocket -lnsl -lmd -lc -lsecdb -ltsol -linetutil -lscf
  88 
  89 CERRWARN +=     -_gcc=-Wno-parentheses
  90 CERRWARN +=     $(CNOWARN_UNINIT)
  91 
  92 # not linted
  93 SMATCH=off
  94 
  95 COMDIR=         ../common
  96 AUDITD=         $(SRC)/cmd/auditd
  97 
  98 CPPFLAGS += -I$(COMDIR) -I$(AUDITD)
  99 CPPFLAGS += -D_REENTRANT
 100 
 101 #
 102 # message catalogue file
 103 #
 104 TEXT_DOMAIN= SUNW_OST_OSLIB
 105 
 106 .KEEP_STATE:
 107 
 108 all: $(LIBS)
 109 
 110 lint: lintcheck