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


  63         topo_tree.c \
  64         topo_xml.c
  65 
  66 OBJECTS = $(BUILTINSRCS:%.c=%.o) $(LIBSRCS:%.c=%.o)
  67 
  68 include ../../../../Makefile.lib
  69 include ../../../Makefile.lib
  70 
  71 SRCS = $(BUILTINSRCS:%.c=../common/%.c) $(LIBSRCS:%.c=../common/%.c)
  72 LIBS = $(DYNLIB) $(LINTLIB)
  73 
  74 SRCDIR =        ../common
  75 
  76 CLEANFILES += $(SRCDIR)/topo_error.c $(SRCDIR)/topo_tables.c
  77 
  78 CPPFLAGS += -I../common -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I.
  79 CSTD = $(CSTD_GNU99)
  80 CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
  81 CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
  82 CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
  83 CERRWARN += -_gcc=-Wno-uninitialized
  84 CERRWARN += -_gcc=-Wno-switch
  85 CERRWARN += -_gcc=-Wno-parentheses
  86 
  87 LINTFLAGS = -msux
  88 LINTFLAGS64 = -msux -m64
  89 
  90 $(DYNLIB)  := LDLIBS += \
  91         -lnvpair -lelf -lumem -lxml2 -lkstat -luuid -ldevinfo \
  92         -lsmbios -lc -ldevid -lipmi -lscf -lpcidb
  93 
  94 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
  95 $(LINTLIB) := LINTFLAGS = -nsvx
  96 $(LINTLIB) := LINTFLAGS64 = -nsvx -m64
  97 $(LINTLIB) := LDLIBS += -lnvpair -lumem -lc
  98 
  99 .KEEP_STATE:
 100 
 101 all: $(LIBS)
 102 
 103 lint: $(LINTLIB) lintcheck




  63         topo_tree.c \
  64         topo_xml.c
  65 
  66 OBJECTS = $(BUILTINSRCS:%.c=%.o) $(LIBSRCS:%.c=%.o)
  67 
  68 include ../../../../Makefile.lib
  69 include ../../../Makefile.lib
  70 
  71 SRCS = $(BUILTINSRCS:%.c=../common/%.c) $(LIBSRCS:%.c=../common/%.c)
  72 LIBS = $(DYNLIB) $(LINTLIB)
  73 
  74 SRCDIR =        ../common
  75 
  76 CLEANFILES += $(SRCDIR)/topo_error.c $(SRCDIR)/topo_tables.c
  77 
  78 CPPFLAGS += -I../common -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I.
  79 CSTD = $(CSTD_GNU99)
  80 CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
  81 CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
  82 CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
  83 CERRWARN += $(CNOWARN_UNINIT)
  84 CERRWARN += -_gcc=-Wno-switch
  85 CERRWARN += -_gcc=-Wno-parentheses
  86 
  87 LINTFLAGS = -msux
  88 LINTFLAGS64 = -msux -m64
  89 
  90 $(DYNLIB)  := LDLIBS += \
  91         -lnvpair -lelf -lumem -lxml2 -lkstat -luuid -ldevinfo \
  92         -lsmbios -lc -ldevid -lipmi -lscf -lpcidb
  93 
  94 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
  95 $(LINTLIB) := LINTFLAGS = -nsvx
  96 $(LINTLIB) := LINTFLAGS64 = -nsvx -m64
  97 $(LINTLIB) := LDLIBS += -lnvpair -lumem -lc
  98 
  99 .KEEP_STATE:
 100 
 101 all: $(LIBS)
 102 
 103 lint: $(LINTLIB) lintcheck