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


  44 ROOTFMHDRS   = $(FMHDRS:%=$(ROOTFMHDRDIR)/%)
  45 
  46 ROOTLIBDIR=     $(ROOTFS_LIBDIR)/fm
  47 ROOTLIBDIR64=   $(ROOTFS_LIBDIR)/fm/$(MACH64)
  48 
  49 SRCS = $(LIBSRCS:%.c=../common/%.c)
  50 LIBS = $(DYNLIB) $(LINTLIB)
  51 
  52 SRCDIR =        ../common
  53 
  54 CSTD = $(CSTD_GNU99)
  55 
  56 CPPFLAGS += -I../common -I.
  57 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  58 
  59 CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
  60 CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
  61 
  62 CERRWARN += -_gcc=-Wno-parentheses
  63 CERRWARN += -_gcc=-Wno-unused-function
  64 CERRWARN += -_gcc=-Wno-uninitialized
  65 
  66 FMLIBDIR=usr/lib/fm
  67 $(BUILD64)FMLIBDIR64=usr/lib/fm/$(MACH64)
  68 
  69 $(DYNLIB) := LDLIBS += -lumem -lnvpair -luutil -lsysevent \
  70         -L$(ROOT)/$(FMLIBDIR) -ltopo -lc
  71 
  72 $(BUILD64)$(DYNLIB) := LDLIBS64 += -lumem -lnvpair -luutil -lsysevent \
  73         -L$(ROOT)/$(FMLIBDIR64) -ltopo -lc
  74 
  75 LINTFLAGS = -msux
  76 LINTFLAGS64 = -msux -m64
  77 
  78 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
  79 $(LINTLIB) := LINTFLAGS = -nsvx
  80 $(LINTLIB) := LINTFLAGS64 = -nsvx -m64
  81 
  82 CLEANFILES += ../common/fmev_errstring.c
  83 
  84 .KEEP_STATE:


  44 ROOTFMHDRS   = $(FMHDRS:%=$(ROOTFMHDRDIR)/%)
  45 
  46 ROOTLIBDIR=     $(ROOTFS_LIBDIR)/fm
  47 ROOTLIBDIR64=   $(ROOTFS_LIBDIR)/fm/$(MACH64)
  48 
  49 SRCS = $(LIBSRCS:%.c=../common/%.c)
  50 LIBS = $(DYNLIB) $(LINTLIB)
  51 
  52 SRCDIR =        ../common
  53 
  54 CSTD = $(CSTD_GNU99)
  55 
  56 CPPFLAGS += -I../common -I.
  57 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  58 
  59 CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
  60 CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
  61 
  62 CERRWARN += -_gcc=-Wno-parentheses
  63 CERRWARN += -_gcc=-Wno-unused-function
  64 CERRWARN += $(CNOWARN_UNINIT)
  65 
  66 FMLIBDIR=usr/lib/fm
  67 $(BUILD64)FMLIBDIR64=usr/lib/fm/$(MACH64)
  68 
  69 $(DYNLIB) := LDLIBS += -lumem -lnvpair -luutil -lsysevent \
  70         -L$(ROOT)/$(FMLIBDIR) -ltopo -lc
  71 
  72 $(BUILD64)$(DYNLIB) := LDLIBS64 += -lumem -lnvpair -luutil -lsysevent \
  73         -L$(ROOT)/$(FMLIBDIR64) -ltopo -lc
  74 
  75 LINTFLAGS = -msux
  76 LINTFLAGS64 = -msux -m64
  77 
  78 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
  79 $(LINTLIB) := LINTFLAGS = -nsvx
  80 $(LINTLIB) := LINTFLAGS64 = -nsvx -m64
  81 
  82 CLEANFILES += ../common/fmev_errstring.c
  83 
  84 .KEEP_STATE: