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


  39 # This library will be installed w/all other nfs
  40 # binaries in /usr/lib/nfs, so define it as such.
  41 #
  42 ROOTLIBDIR   =  $(ROOT)/usr/lib/nfs
  43 
  44 #
  45 # SRCS is defined to be $(OBJECTS:%.o=$(SRCDIR)/%.c)
  46 #
  47 SRCDIR  =       ../common
  48 LIBSRCS = $(LIBOBJS:%.o=$(SRCDIR)/%.c)
  49 $(LINTLIB) := SRCS = $(LINTSRC:%=$(SRCDIR)/%)
  50 lintcheck  :=   SRCS = $(LIBSRCS)
  51 
  52 LDLIBS  +=      -lresolv -lc -lscf
  53 
  54 CFLAGS  +=      $(CCVERBOSE)
  55 CPPFLAGS +=     -I$(SRCDIR) -I$(SMF_DIR) -D_REENTRANT
  56 
  57 CERRWARN +=     -_gcc=-Wno-switch
  58 CERRWARN +=     -_gcc=-Wno-unused-variable
  59 CERRWARN +=     -_gcc=-Wno-uninitialized
  60 
  61 SMOFF += all_func_returns
  62 
  63 .KEEP_STATE:
  64 
  65 all:  $(LIBS)
  66 
  67 install: $(ROOTLIBDIR) all
  68 
  69 lint:   $(LINTLIB) lintcheck
  70 
  71 pics/%.o:       $(SMF_DIR)/%.c
  72         $(COMPILE.c) -o $@ $<
  73         $(POST_PROCESS_O)
  74 
  75 $(ROOTLIBDIR):
  76         $(INS.dir)
  77 
  78 include ../../Makefile.targ


  39 # This library will be installed w/all other nfs
  40 # binaries in /usr/lib/nfs, so define it as such.
  41 #
  42 ROOTLIBDIR   =  $(ROOT)/usr/lib/nfs
  43 
  44 #
  45 # SRCS is defined to be $(OBJECTS:%.o=$(SRCDIR)/%.c)
  46 #
  47 SRCDIR  =       ../common
  48 LIBSRCS = $(LIBOBJS:%.o=$(SRCDIR)/%.c)
  49 $(LINTLIB) := SRCS = $(LINTSRC:%=$(SRCDIR)/%)
  50 lintcheck  :=   SRCS = $(LIBSRCS)
  51 
  52 LDLIBS  +=      -lresolv -lc -lscf
  53 
  54 CFLAGS  +=      $(CCVERBOSE)
  55 CPPFLAGS +=     -I$(SRCDIR) -I$(SMF_DIR) -D_REENTRANT
  56 
  57 CERRWARN +=     -_gcc=-Wno-switch
  58 CERRWARN +=     -_gcc=-Wno-unused-variable
  59 CERRWARN +=     $(CNOWARN_UNINIT)
  60 
  61 SMOFF += all_func_returns
  62 
  63 .KEEP_STATE:
  64 
  65 all:  $(LIBS)
  66 
  67 install: $(ROOTLIBDIR) all
  68 
  69 lint:   $(LINTLIB) lintcheck
  70 
  71 pics/%.o:       $(SMF_DIR)/%.c
  72         $(COMPILE.c) -o $@ $<
  73         $(POST_PROCESS_O)
  74 
  75 $(ROOTLIBDIR):
  76         $(INS.dir)
  77 
  78 include ../../Makefile.targ