Print this page
NEX-17829 libfmd_snmp and snmp-notify should provide FMRIs for all fault types
Reviewed by: Cynthia Eastham <cynthia.eastham@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>


  27 VERS = .1
  28 
  29 LIBSRCS = libfmnotify.c
  30 OBJECTS = $(LIBSRCS:%.c=%.o)
  31 
  32 include ../../../Makefile.lib
  33 include ../../Makefile.lib
  34 
  35 SRCS = $(LIBSRCS:%.c=../common/%.c)
  36 LIBS = $(DYNLIB) $(LINTLIB)
  37 
  38 SRCDIR =        ../common
  39 
  40 CSTD = $(CSTD_GNU99)
  41 
  42 CPPFLAGS += -I../common -I.
  43 CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
  44 CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
  45 
  46 $(DYNLIB) := LDLIBS += $(MACH_LDLIBS)
  47 $(DYNLIB) := LDLIBS += -lnvpair -lc -lfmd_msg -lfmevent -lscf -ldiagcode
  48 
  49 LINTFLAGS = -msux
  50 LINTFLAGS64 = -msux -m64
  51 
  52 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
  53 $(LINTLIB) := LINTFLAGS = -nsvx
  54 $(LINTLIB) := LINTFLAGS64 = -nsvx -m64
  55 
  56 .KEEP_STATE:
  57 
  58 all: $(LIBS)
  59 
  60 lint: $(LINTLIB) lintcheck
  61 
  62 include ../../../Makefile.targ
  63 include ../../Makefile.targ


  27 VERS = .1
  28 
  29 LIBSRCS = libfmnotify.c
  30 OBJECTS = $(LIBSRCS:%.c=%.o)
  31 
  32 include ../../../Makefile.lib
  33 include ../../Makefile.lib
  34 
  35 SRCS = $(LIBSRCS:%.c=../common/%.c)
  36 LIBS = $(DYNLIB) $(LINTLIB)
  37 
  38 SRCDIR =        ../common
  39 
  40 CSTD = $(CSTD_GNU99)
  41 
  42 CPPFLAGS += -I../common -I.
  43 CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
  44 CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
  45 
  46 $(DYNLIB) := LDLIBS += $(MACH_LDLIBS)
  47 $(DYNLIB) := LDLIBS += -lnvpair -lc -lfmd_msg -lfmevent -lscf -ldiagcode -ltopo
  48 
  49 LINTFLAGS = -msux
  50 LINTFLAGS64 = -msux -m64
  51 
  52 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
  53 $(LINTLIB) := LINTFLAGS = -nsvx
  54 $(LINTLIB) := LINTFLAGS64 = -nsvx -m64
  55 
  56 .KEEP_STATE:
  57 
  58 all: $(LIBS)
  59 
  60 lint: $(LINTLIB) lintcheck
  61 
  62 include ../../../Makefile.targ
  63 include ../../Makefile.targ