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


  29 SRCS =  $(OBJS:%.o=%.c)
  30 lint := SRCS = smediad.c smediad_err.c myaudit.c
  31 
  32 MANIFEST=       smserver.xml
  33 
  34 DERIVED_FILES = smed.h smed_xdr.c smed_svc.c
  35 
  36 # install specifics
  37 
  38 ROOTLIBSMSERVERDIR= $(ROOTLIB)/smedia
  39 ROOTLIBSMSERVERD= $(PROG:%=$(ROOTLIBSMSERVERDIR)/%)
  40 
  41 include ../Makefile.cmd
  42 
  43 ROOTMANIFESTDIR=        $(ROOTSVCNETWORKRPC)
  44 
  45 LDLIBS +=  -lnsl -lbsm
  46 
  47 CPPFLAGS += -D_REENTRANT
  48 CFLAGS += $(CCVERBOSE)
  49 CERRWARN += -_gcc=-Wno-uninitialized
  50 CERRWARN += -_gcc=-Wno-unused-variable
  51 
  52 # not linted
  53 SMATCH=off
  54 
  55 LINTFLAGS += -u
  56 
  57 .KEEP_STATE:
  58 
  59 all: $(PROG)
  60 
  61 install: all $(ROOTLIBSMSERVERDIR) $(ROOTLIBSMSERVERD) $(ROOTMANIFEST)
  62 
  63 $(PROG):        $(DERIVED_FILES) $(OBJS)
  64         $(LINK.c) -o $(PROG) $(OBJS) $(LDLIBS)
  65         $(POST_PROCESS)
  66 
  67 check:  $(CHKMANIFEST)
  68 
  69 clean:




  29 SRCS =  $(OBJS:%.o=%.c)
  30 lint := SRCS = smediad.c smediad_err.c myaudit.c
  31 
  32 MANIFEST=       smserver.xml
  33 
  34 DERIVED_FILES = smed.h smed_xdr.c smed_svc.c
  35 
  36 # install specifics
  37 
  38 ROOTLIBSMSERVERDIR= $(ROOTLIB)/smedia
  39 ROOTLIBSMSERVERD= $(PROG:%=$(ROOTLIBSMSERVERDIR)/%)
  40 
  41 include ../Makefile.cmd
  42 
  43 ROOTMANIFESTDIR=        $(ROOTSVCNETWORKRPC)
  44 
  45 LDLIBS +=  -lnsl -lbsm
  46 
  47 CPPFLAGS += -D_REENTRANT
  48 CFLAGS += $(CCVERBOSE)
  49 CERRWARN += $(CNOWARN_UNINIT)
  50 CERRWARN += -_gcc=-Wno-unused-variable
  51 
  52 # not linted
  53 SMATCH=off
  54 
  55 LINTFLAGS += -u
  56 
  57 .KEEP_STATE:
  58 
  59 all: $(PROG)
  60 
  61 install: all $(ROOTLIBSMSERVERDIR) $(ROOTLIBSMSERVERD) $(ROOTMANIFEST)
  62 
  63 $(PROG):        $(DERIVED_FILES) $(OBJS)
  64         $(LINK.c) -o $(PROG) $(OBJS) $(LDLIBS)
  65         $(POST_PROCESS)
  66 
  67 check:  $(CHKMANIFEST)
  68 
  69 clean: