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


  46 NETNLSD = $(NETD)/nls
  47 
  48 # Don"t re-install /usr/lib/saf/ and /usr/net, Targetdirs installs them
  49 #DIRS= $(LIBSAFD) $(NETD) $(NETNLSD)
  50 DIRS=  $(NETNLSD)
  51 ROOTSAFPROG= $(PROG:%=$(LIBSAFD)/%) 
  52 
  53 # If machine name and /etc/issue file need to be printed
  54 # before the service prompt is printed, then:  CPPFLAGS += -DSYS_NAME
  55 # If debug is needed, then:  CPPFLAGS += -DDEBUG
  56 
  57 LDLIBS += -lnsl
  58 LDFLAGS += $(MAPFILE.NGB:%=-M%)
  59 LINTFLAGS = -b -x
  60 FILEMODE= 0755
  61 
  62 CERRWARN += -_gcc=-Wno-implicit-function-declaration
  63 CERRWARN += -_gcc=-Wno-unused-variable
  64 CERRWARN += -_gcc=-Wno-empty-body
  65 CERRWARN += -_gcc=-Wno-parentheses
  66 CERRWARN += -_gcc=-Wno-uninitialized
  67 
  68 # not linted
  69 SMATCH=off
  70 
  71 $(LIBSAFD)/% : %
  72         $(INS.file)
  73 
  74 .KEEP_STATE:
  75 
  76 all: $(PROG)
  77 
  78 listen: $(LSOBJS) $(MAPFILE.NGB)
  79         $(LINK.c) $(LSOBJS) -o $@ $(LDLIBS)
  80         $(POST_PROCESS)
  81 
  82 nlps_server:    $(NLPSOBJS) $(MAPFILE.NGB)
  83         $(LINK.c) $(NLPSOBJS) -o $@ $(LDLIBS)
  84         $(POST_PROCESS)
  85 
  86 install: all $(DIRS) $(ROOTSAFPROG)


  46 NETNLSD = $(NETD)/nls
  47 
  48 # Don"t re-install /usr/lib/saf/ and /usr/net, Targetdirs installs them
  49 #DIRS= $(LIBSAFD) $(NETD) $(NETNLSD)
  50 DIRS=  $(NETNLSD)
  51 ROOTSAFPROG= $(PROG:%=$(LIBSAFD)/%) 
  52 
  53 # If machine name and /etc/issue file need to be printed
  54 # before the service prompt is printed, then:  CPPFLAGS += -DSYS_NAME
  55 # If debug is needed, then:  CPPFLAGS += -DDEBUG
  56 
  57 LDLIBS += -lnsl
  58 LDFLAGS += $(MAPFILE.NGB:%=-M%)
  59 LINTFLAGS = -b -x
  60 FILEMODE= 0755
  61 
  62 CERRWARN += -_gcc=-Wno-implicit-function-declaration
  63 CERRWARN += -_gcc=-Wno-unused-variable
  64 CERRWARN += -_gcc=-Wno-empty-body
  65 CERRWARN += -_gcc=-Wno-parentheses
  66 CERRWARN += $(CNOWARN_UNINIT)
  67 
  68 # not linted
  69 SMATCH=off
  70 
  71 $(LIBSAFD)/% : %
  72         $(INS.file)
  73 
  74 .KEEP_STATE:
  75 
  76 all: $(PROG)
  77 
  78 listen: $(LSOBJS) $(MAPFILE.NGB)
  79         $(LINK.c) $(LSOBJS) -o $@ $(LDLIBS)
  80         $(POST_PROCESS)
  81 
  82 nlps_server:    $(NLPSOBJS) $(MAPFILE.NGB)
  83         $(LINK.c) $(NLPSOBJS) -o $@ $(LDLIBS)
  84         $(POST_PROCESS)
  85 
  86 install: all $(DIRS) $(ROOTSAFPROG)