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


  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright (c) 2008-2009, Intel Corporation.
  23 # All Rights Reserved.
  24 #
  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 PROG = latencytop
  28 OBJS = latencytop.o display.o dwrapper.o klog.o stat.o table.o util.o
  29 SRCS = $(OBJS:%.o=../common/%.c)
  30 
  31 include ../../Makefile.cmd
  32 
  33 CFLAGS += $(CCVERBOSE)
  34 CFLAGS64 += $(CCVERBOSE)
  35 
  36 CERRWARN += -_gcc=-Wno-uninitialized
  37 
  38 SMOFF += all_func_returns
  39 
  40 CPPFLAGS += -DEMBED_CONFIGS -I$(ADJUNCT_PROTO)/usr/include/glib-2.0 \
  41         -I$(ADJUNCT_PROTO)/usr/lib/glib-2.0/include
  42 CSTD = $(CSTD_GNU99)
  43 LDLIBS += -lcurses -ldtrace
  44 all install     := LDLIBS += -lglib-2.0
  45 
  46 LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
  47 LINTFLAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
  48 LINTFLAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2
  49 LINTFLAGS64 += -erroff=E_NAME_USED_NOT_DEF2
  50 LINTFLAGS64 += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
  51 LINTFLAGS64 += -erroff=E_FUNC_RET_MAYBE_IGNORED2
  52 
  53 FILEMODE = 0555
  54 
  55 ELFWRAP = elfwrap
  56 WRAPOBJ = latencytop_wrap.o




  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright (c) 2008-2009, Intel Corporation.
  23 # All Rights Reserved.
  24 #
  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 PROG = latencytop
  28 OBJS = latencytop.o display.o dwrapper.o klog.o stat.o table.o util.o
  29 SRCS = $(OBJS:%.o=../common/%.c)
  30 
  31 include ../../Makefile.cmd
  32 
  33 CFLAGS += $(CCVERBOSE)
  34 CFLAGS64 += $(CCVERBOSE)
  35 
  36 CERRWARN += $(CNOWARN_UNINIT)
  37 
  38 SMOFF += all_func_returns
  39 
  40 CPPFLAGS += -DEMBED_CONFIGS -I$(ADJUNCT_PROTO)/usr/include/glib-2.0 \
  41         -I$(ADJUNCT_PROTO)/usr/lib/glib-2.0/include
  42 CSTD = $(CSTD_GNU99)
  43 LDLIBS += -lcurses -ldtrace
  44 all install     := LDLIBS += -lglib-2.0
  45 
  46 LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
  47 LINTFLAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
  48 LINTFLAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2
  49 LINTFLAGS64 += -erroff=E_NAME_USED_NOT_DEF2
  50 LINTFLAGS64 += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
  51 LINTFLAGS64 += -erroff=E_FUNC_RET_MAYBE_IGNORED2
  52 
  53 FILEMODE = 0555
  54 
  55 ELFWRAP = elfwrap
  56 WRAPOBJ = latencytop_wrap.o