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


  44 include ../../Makefile.cmd
  45 
  46 DATA_STORE      = xml
  47 XML_DIR         = xml_def
  48 ISNS_SVC        = $(XML_DIR)/isns_server.xml
  49 
  50 MANIFEST        = isns_server.xml
  51 ROOTMANIFESTDIR = $(ROOTSVCNETWORK)
  52 $(ROOTSVCNETWORK)/isns_server.xml       := FILEMODE = 0444
  53 
  54 CFLAGS          +=      $(CCVERBOSE)
  55 CPPFLAGS        += -I./ -I$(ADJUNCT_PROTO)/usr/include/libxml2
  56 CPPFLAGS        += -DTARGET_DATA_STORE=$(DATA_STORE)
  57 CPPFLAGS        += -D_POSIX_PTHREAD_SEMANTICS
  58 LINTFLAGS += -xerroff=E_BAD_PTR_CAST_ALIGN
  59 LINTFLAGS += -xerroff=E_NAME_USED_NOT_DEF2
  60 LINTFLAGS += -xerroff=E_CASE_FALLTHRU
  61 
  62 CERRWARN += -_gcc=-Wno-char-subscripts
  63 CERRWARN += -_gcc=-Wno-ignored-qualifiers
  64 CERRWARN += -_gcc=-Wno-uninitialized
  65 CERRWARN += -_gcc=-Wno-implicit-function-declaration
  66 
  67 # not linted
  68 SMATCH=off
  69 
  70 CLOBBERFILES += $(DTRACE_HEADER)
  71 
  72 obj.o := CERRWARN += -erroff=E_CONST_OBJ_SHOULD_HAVE_INITIZR
  73 obj.o := CERRWARN += -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT
  74 
  75 LDLIBS          += -lsecdb -lsocket -lnsl -lscf -lxml2
  76 
  77 .KEEP_STATE:
  78 
  79 all:    $(PROG)
  80 
  81 $(PROG): $(OBJS)
  82         $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  83         $(POST_PROCESS)
  84 




  44 include ../../Makefile.cmd
  45 
  46 DATA_STORE      = xml
  47 XML_DIR         = xml_def
  48 ISNS_SVC        = $(XML_DIR)/isns_server.xml
  49 
  50 MANIFEST        = isns_server.xml
  51 ROOTMANIFESTDIR = $(ROOTSVCNETWORK)
  52 $(ROOTSVCNETWORK)/isns_server.xml       := FILEMODE = 0444
  53 
  54 CFLAGS          +=      $(CCVERBOSE)
  55 CPPFLAGS        += -I./ -I$(ADJUNCT_PROTO)/usr/include/libxml2
  56 CPPFLAGS        += -DTARGET_DATA_STORE=$(DATA_STORE)
  57 CPPFLAGS        += -D_POSIX_PTHREAD_SEMANTICS
  58 LINTFLAGS += -xerroff=E_BAD_PTR_CAST_ALIGN
  59 LINTFLAGS += -xerroff=E_NAME_USED_NOT_DEF2
  60 LINTFLAGS += -xerroff=E_CASE_FALLTHRU
  61 
  62 CERRWARN += -_gcc=-Wno-char-subscripts
  63 CERRWARN += -_gcc=-Wno-ignored-qualifiers
  64 CERRWARN += $(CNOWARN_UNINIT)
  65 CERRWARN += -_gcc=-Wno-implicit-function-declaration
  66 
  67 # not linted
  68 SMATCH=off
  69 
  70 CLOBBERFILES += $(DTRACE_HEADER)
  71 
  72 obj.o := CERRWARN += -erroff=E_CONST_OBJ_SHOULD_HAVE_INITIZR
  73 obj.o := CERRWARN += -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT
  74 
  75 LDLIBS          += -lsecdb -lsocket -lnsl -lscf -lxml2
  76 
  77 .KEEP_STATE:
  78 
  79 all:    $(PROG)
  80 
  81 $(PROG): $(OBJS)
  82         $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  83         $(POST_PROCESS)
  84