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


  30 OBJECTS=        kvm.o kvm_getcmd.o
  31 
  32 # include library definitions
  33 include ../../Makefile.lib
  34 
  35 SRCDIR =        ../common
  36 
  37 LIBS =          $(DYNLIB) $(LINTLIB)
  38 
  39 $(LINTLIB):= SRCS=../common/llib-lkvm
  40 
  41 LINTSRC=        $(LINTLIB:%.ln=%)
  42 
  43 CFLAGS  +=      $(CCVERBOSE)
  44 DYNFLAGS32 +=   -Wl,-f,/usr/platform/\$$PLATFORM/lib/$(DYNLIBPSR)
  45 DYNFLAGS64 +=   -Wl,-f,/usr/platform/\$$PLATFORM/lib/$(MACH64)/$(DYNLIBPSR)
  46 LDLIBS +=       -lelf -lc
  47 
  48 CPPFLAGS = -D_KMEMUSER -D_LARGEFILE64_SOURCE=1 -I.. $(CPPFLAGS.master)
  49 
  50 CERRWARN +=     -_gcc=-Wno-uninitialized
  51 
  52 SMOFF += signed
  53 
  54 CLOBBERFILES += test test.o
  55 
  56 .KEEP_STATE:
  57 
  58 lint: lintcheck
  59 
  60 test: ../common/test.c
  61         $(COMPILE.c) ../common/test.c
  62         $(LINK.c) -o $@ test.o -lkvm -lelf
  63 
  64 # include library targets
  65 include ../../Makefile.targ
  66 
  67 objs/%.o pics/%.o: ../common/%.c ../kvm.h
  68         $(COMPILE.c) -o $@ $<
  69         $(POST_PROCESS_O)
  70 


  30 OBJECTS=        kvm.o kvm_getcmd.o
  31 
  32 # include library definitions
  33 include ../../Makefile.lib
  34 
  35 SRCDIR =        ../common
  36 
  37 LIBS =          $(DYNLIB) $(LINTLIB)
  38 
  39 $(LINTLIB):= SRCS=../common/llib-lkvm
  40 
  41 LINTSRC=        $(LINTLIB:%.ln=%)
  42 
  43 CFLAGS  +=      $(CCVERBOSE)
  44 DYNFLAGS32 +=   -Wl,-f,/usr/platform/\$$PLATFORM/lib/$(DYNLIBPSR)
  45 DYNFLAGS64 +=   -Wl,-f,/usr/platform/\$$PLATFORM/lib/$(MACH64)/$(DYNLIBPSR)
  46 LDLIBS +=       -lelf -lc
  47 
  48 CPPFLAGS = -D_KMEMUSER -D_LARGEFILE64_SOURCE=1 -I.. $(CPPFLAGS.master)
  49 
  50 CERRWARN +=     $(CNOWARN_UNINIT)
  51 
  52 SMOFF += signed
  53 
  54 CLOBBERFILES += test test.o
  55 
  56 .KEEP_STATE:
  57 
  58 lint: lintcheck
  59 
  60 test: ../common/test.c
  61         $(COMPILE.c) ../common/test.c
  62         $(LINK.c) -o $@ test.o -lkvm -lelf
  63 
  64 # include library targets
  65 include ../../Makefile.targ
  66 
  67 objs/%.o pics/%.o: ../common/%.c ../kvm.h
  68         $(COMPILE.c) -o $@ $<
  69         $(POST_PROCESS_O)
  70