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


  30 CFGFILES=       vrrp.conf
  31 
  32 include ../../../Makefile.cmd
  33 
  34 ROOTMANIFESTDIR=        $(ROOTSVCNETWORK)
  35 
  36 $(ROOTETC)/inet/$(CFGFILES):= FILEMODE= 644 
  37 $(ROOTETC)/inet/$(CFGFILES):= OWNER= root 
  38 $(ROOTETC)/inet/$(CFGFILES):= GROUP= sys 
  39 
  40 CSTD=           $(CSTD_GNU99)
  41 
  42 #
  43 # We need access to the ancillary data features which are only available
  44 # via the SUS standards.  Further, C99 support requires SUSv3 or higher.
  45 #
  46 CPPFLAGS += -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
  47 LDLIBS += -lvrrpadm -lsocket -lnsl -ldladm -linetutil -lipadm -lsysevent -lnvpair -lsecdb
  48 LINTFLAGS += -erroff=E_INCONS_ARG_DECL2  -erroff=E_INCONS_ARG_USED2
  49 
  50 CERRWARN += -_gcc=-Wno-uninitialized
  51 
  52 #
  53 # Instrument vrrpd with CTF data to ease debugging.
  54 #
  55 CTFCONVERT_HOOK = && $(CTFCONVERT_O)
  56 CTFMERGE_HOOK = && $(CTFMERGE) -L VERSION -o $@ $(OBJS)
  57 $(OBJS) := CFLAGS += $(CTF_FLAGS)
  58 
  59 # for messaging catalog. No messages are present in CMN_DIR sources.
  60 POFILES = $(LOCAL_OBJS:%.o=%.po)
  61 XGETFLAGS += -a -x vrrpd.xcl
  62 
  63 .KEEP_STATE:
  64 
  65 all: $(PROG)
  66 
  67 $(PROG): $(OBJS)
  68         $(LINK.c) -o $@ $(OBJS) $(LDLIBS) $(CTFMERGE_HOOK)
  69         $(POST_PROCESS)
  70 


  30 CFGFILES=       vrrp.conf
  31 
  32 include ../../../Makefile.cmd
  33 
  34 ROOTMANIFESTDIR=        $(ROOTSVCNETWORK)
  35 
  36 $(ROOTETC)/inet/$(CFGFILES):= FILEMODE= 644 
  37 $(ROOTETC)/inet/$(CFGFILES):= OWNER= root 
  38 $(ROOTETC)/inet/$(CFGFILES):= GROUP= sys 
  39 
  40 CSTD=           $(CSTD_GNU99)
  41 
  42 #
  43 # We need access to the ancillary data features which are only available
  44 # via the SUS standards.  Further, C99 support requires SUSv3 or higher.
  45 #
  46 CPPFLAGS += -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
  47 LDLIBS += -lvrrpadm -lsocket -lnsl -ldladm -linetutil -lipadm -lsysevent -lnvpair -lsecdb
  48 LINTFLAGS += -erroff=E_INCONS_ARG_DECL2  -erroff=E_INCONS_ARG_USED2
  49 
  50 CERRWARN += $(CNOWARN_UNINIT)
  51 
  52 #
  53 # Instrument vrrpd with CTF data to ease debugging.
  54 #
  55 CTFCONVERT_HOOK = && $(CTFCONVERT_O)
  56 CTFMERGE_HOOK = && $(CTFMERGE) -L VERSION -o $@ $(OBJS)
  57 $(OBJS) := CFLAGS += $(CTF_FLAGS)
  58 
  59 # for messaging catalog. No messages are present in CMN_DIR sources.
  60 POFILES = $(LOCAL_OBJS:%.o=%.po)
  61 XGETFLAGS += -a -x vrrpd.xcl
  62 
  63 .KEEP_STATE:
  64 
  65 all: $(PROG)
  66 
  67 $(PROG): $(OBJS)
  68         $(LINK.c) -o $@ $(OBJS) $(LDLIBS) $(CTFMERGE_HOOK)
  69         $(POST_PROCESS)
  70