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


 105         SUNW_mpxio_rcm.so \
 106         SUNW_ip_anon_rcm.so \
 107         SUNW_bridge_rcm.so
 108 
 109 sparc_RCM_MODS = SUNW_ttymux_rcm.so
 110 
 111 RCM_DIR = rcm
 112 MOD_DIR = modules
 113 SCRIPT_DIR = scripts
 114 
 115 CLOBBERFILES += $(COMMON_RCM_MODS) $($(MACH)_RCM_MODS) $(RCM_DAEMON)
 116 
 117 LINT_MODULES = $(COMMON_MOD_SRC:.c=.ln) $($(MACH)_MOD_SRC:.c=.ln)
 118 
 119 CPPFLAGS += -I..
 120 CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
 121 CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
 122 
 123 CERRWARN += -_gcc=-Wno-parentheses
 124 CERRWARN += -_gcc=-Wno-unused-label
 125 CERRWARN += -_gcc=-Wno-uninitialized
 126 CERRWARN += -_gcc=-Wno-unused-function
 127 
 128 # not linted
 129 SMATCH=off
 130 
 131 MAPFILES = ../common/mapfile-intf $(MAPFILE.NGB)
 132 rcm_daemon := LDFLAGS += $(MAPFILES:%=-M%)
 133 
 134 LINTFLAGS += -u -erroff=E_FUNC_ARG_UNUSED
 135 
 136 LDLIBS_MODULES =
 137 SUNW_pool_rcm.so := LDLIBS_MODULES += -L$(ROOT)/usr/lib -lpool
 138 SUNW_network_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm
 139 SUNW_vlan_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm
 140 SUNW_vnic_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm
 141 SUNW_ibpart_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm
 142 SUNW_aggr_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm
 143 SUNW_ip_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -linetutil -ldladm -lipmp -lipadm
 144 SUNW_ip_anon_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -linetutil
 145 SUNW_bridge_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm




 105         SUNW_mpxio_rcm.so \
 106         SUNW_ip_anon_rcm.so \
 107         SUNW_bridge_rcm.so
 108 
 109 sparc_RCM_MODS = SUNW_ttymux_rcm.so
 110 
 111 RCM_DIR = rcm
 112 MOD_DIR = modules
 113 SCRIPT_DIR = scripts
 114 
 115 CLOBBERFILES += $(COMMON_RCM_MODS) $($(MACH)_RCM_MODS) $(RCM_DAEMON)
 116 
 117 LINT_MODULES = $(COMMON_MOD_SRC:.c=.ln) $($(MACH)_MOD_SRC:.c=.ln)
 118 
 119 CPPFLAGS += -I..
 120 CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
 121 CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
 122 
 123 CERRWARN += -_gcc=-Wno-parentheses
 124 CERRWARN += -_gcc=-Wno-unused-label
 125 CERRWARN += $(CNOWARN_UNINIT)
 126 CERRWARN += -_gcc=-Wno-unused-function
 127 
 128 # not linted
 129 SMATCH=off
 130 
 131 MAPFILES = ../common/mapfile-intf $(MAPFILE.NGB)
 132 rcm_daemon := LDFLAGS += $(MAPFILES:%=-M%)
 133 
 134 LINTFLAGS += -u -erroff=E_FUNC_ARG_UNUSED
 135 
 136 LDLIBS_MODULES =
 137 SUNW_pool_rcm.so := LDLIBS_MODULES += -L$(ROOT)/usr/lib -lpool
 138 SUNW_network_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm
 139 SUNW_vlan_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm
 140 SUNW_vnic_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm
 141 SUNW_ibpart_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm
 142 SUNW_aggr_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm
 143 SUNW_ip_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -linetutil -ldladm -lipmp -lipadm
 144 SUNW_ip_anon_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -linetutil
 145 SUNW_bridge_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm