Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build


  22 # Copyright (c) 2008-2009, Intel Corporation.
  23 # All Rights Reserved.
  24 #
  25 
  26 PROG = latencytop
  27 OBJS = latencytop.o display.o dwrapper.o klog.o stat.o table.o util.o
  28 SRCS = $(OBJS:%.o=../common/%.c)
  29 
  30 include ../../Makefile.cmd
  31 
  32 CFLAGS += $(CCVERBOSE)
  33 CFLAGS64 += $(CCVERBOSE)
  34 
  35 CERRWARN += -_gcc=-Wno-uninitialized
  36 
  37 CPPFLAGS += -DEMBED_CONFIGS -I$(ADJUNCT_PROTO)/usr/include/glib-2.0 \
  38         -I$(ADJUNCT_PROTO)/usr/lib/glib-2.0/include
  39 CSTD = $(CSTD_GNU99)
  40 LDLIBS += -lcurses -ldtrace
  41 all install     := LDLIBS += -lglib-2.0

  42 
  43 LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
  44 LINTFLAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
  45 LINTFLAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2
  46 LINTFLAGS64 += -erroff=E_NAME_USED_NOT_DEF2
  47 LINTFLAGS64 += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
  48 LINTFLAGS64 += -erroff=E_FUNC_RET_MAYBE_IGNORED2
  49 
  50 FILEMODE = 0555
  51 
  52 ELFWRAP = elfwrap
  53 WRAPOBJ = latencytop_wrap.o
  54 
  55 CLEANFILES += $(OBJS) $(WRAPOBJ) ./latencytop_d ./latencytop_trans
  56 
  57 .KEEP_STATE:
  58 
  59 all: $(PROG)
  60 
  61 install:        $(SUBDIRS)




  22 # Copyright (c) 2008-2009, Intel Corporation.
  23 # All Rights Reserved.
  24 #
  25 
  26 PROG = latencytop
  27 OBJS = latencytop.o display.o dwrapper.o klog.o stat.o table.o util.o
  28 SRCS = $(OBJS:%.o=../common/%.c)
  29 
  30 include ../../Makefile.cmd
  31 
  32 CFLAGS += $(CCVERBOSE)
  33 CFLAGS64 += $(CCVERBOSE)
  34 
  35 CERRWARN += -_gcc=-Wno-uninitialized
  36 
  37 CPPFLAGS += -DEMBED_CONFIGS -I$(ADJUNCT_PROTO)/usr/include/glib-2.0 \
  38         -I$(ADJUNCT_PROTO)/usr/lib/glib-2.0/include
  39 CSTD = $(CSTD_GNU99)
  40 LDLIBS += -lcurses -ldtrace
  41 all install     := LDLIBS += -lglib-2.0
  42 all install     := ADJUNCT_LIBS = libglib-2.0.so
  43 
  44 LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
  45 LINTFLAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
  46 LINTFLAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2
  47 LINTFLAGS64 += -erroff=E_NAME_USED_NOT_DEF2
  48 LINTFLAGS64 += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
  49 LINTFLAGS64 += -erroff=E_FUNC_RET_MAYBE_IGNORED2
  50 
  51 FILEMODE = 0555
  52 
  53 ELFWRAP = elfwrap
  54 WRAPOBJ = latencytop_wrap.o
  55 
  56 CLEANFILES += $(OBJS) $(WRAPOBJ) ./latencytop_d ./latencytop_trans
  57 
  58 .KEEP_STATE:
  59 
  60 all: $(PROG)
  61 
  62 install:        $(SUBDIRS)