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


  33         dtj_error.c \
  34         dtj_probe.c \
  35         dtj_attr.c \
  36         dtj_consume.c \
  37         dtrace_jni.c
  38 
  39 OBJECTS = $(MACHOBJS) $(LIBSRCS:%.c=%.o)
  40 
  41 include ../../Makefile.lib
  42 
  43 SRCS = $(LIBSRCS:%.c=../common/%.c)
  44 
  45 SRCDIR = ../common
  46 
  47 CPPFLAGS += -I../common -I.
  48 CPPFLAGS += -I$(JAVA_ROOT)/include -I$(JAVA_ROOT)/include/solaris
  49 CPPFLAGS += -I../java/native
  50 CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
  51 CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS64)
  52 
  53 CERRWARN += -_gcc=-Wno-uninitialized
  54 
  55 SMOFF += all_func_returns
  56 
  57 LDLIBS += -lc -luutil -ldtrace -lproc
  58 
  59 LINTLIB =
  60 
  61 LFLAGS = -t -v
  62 
  63 ROOTDLIBDIR = $(ROOT)/usr/lib/dtrace_jni
  64 ROOTDLIBDIR64 = $(ROOT)/usr/lib/dtrace_jni/64
  65 
  66 ROOTDLIBS = $(DLIBSRCS:%=$(ROOTDLIBDIR)/%)
  67 
  68 .KEEP_STATE:
  69 
  70 all: $(DYNLIB)
  71 
  72 lint: lintcheck
  73 




  33         dtj_error.c \
  34         dtj_probe.c \
  35         dtj_attr.c \
  36         dtj_consume.c \
  37         dtrace_jni.c
  38 
  39 OBJECTS = $(MACHOBJS) $(LIBSRCS:%.c=%.o)
  40 
  41 include ../../Makefile.lib
  42 
  43 SRCS = $(LIBSRCS:%.c=../common/%.c)
  44 
  45 SRCDIR = ../common
  46 
  47 CPPFLAGS += -I../common -I.
  48 CPPFLAGS += -I$(JAVA_ROOT)/include -I$(JAVA_ROOT)/include/solaris
  49 CPPFLAGS += -I../java/native
  50 CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
  51 CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS64)
  52 
  53 CERRWARN += $(CNOWARN_UNINIT)
  54 
  55 SMOFF += all_func_returns
  56 
  57 LDLIBS += -lc -luutil -ldtrace -lproc
  58 
  59 LINTLIB =
  60 
  61 LFLAGS = -t -v
  62 
  63 ROOTDLIBDIR = $(ROOT)/usr/lib/dtrace_jni
  64 ROOTDLIBDIR64 = $(ROOT)/usr/lib/dtrace_jni/64
  65 
  66 ROOTDLIBS = $(DLIBSRCS:%=$(ROOTDLIBDIR)/%)
  67 
  68 .KEEP_STATE:
  69 
  70 all: $(DYNLIB)
  71 
  72 lint: lintcheck
  73