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


  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # cmd/plimit/sparcv9/Makefile
  26 #
  27 
  28 PROG=   plimit
  29 
  30 OBJS=   plimit.o
  31 
  32 SRCS=   $(OBJS:%.o=../%.c)
  33 
  34 include ../../Makefile.cmd
  35 include ../../Makefile.cmd.64
  36 
  37 CFLAGS64        += $(CCVERBOSE)
  38 CERRWARN        += -_gcc=-Wno-uninitialized
  39 
  40 LDLIBS  += -lproc
  41 
  42 lint    := LINTFLAGS64 = -x -m64
  43 
  44 CPPFLAGS += -D_LARGEFILE64_SOURCE=1
  45 
  46 .KEEP_STATE:
  47 
  48 %.o:    ../%.c
  49         $(COMPILE.c) $<
  50 
  51 all: $(PROG)
  52 
  53 $(PROG): $(OBJS)
  54         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  55         $(POST_PROCESS)
  56 
  57 install: all $(ROOTPROG64)
  58 


  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # cmd/plimit/sparcv9/Makefile
  26 #
  27 
  28 PROG=   plimit
  29 
  30 OBJS=   plimit.o
  31 
  32 SRCS=   $(OBJS:%.o=../%.c)
  33 
  34 include ../../Makefile.cmd
  35 include ../../Makefile.cmd.64
  36 
  37 CFLAGS64        += $(CCVERBOSE)
  38 CERRWARN        += $(CNOWARN_UNINIT)
  39 
  40 LDLIBS  += -lproc
  41 
  42 lint    := LINTFLAGS64 = -x -m64
  43 
  44 CPPFLAGS += -D_LARGEFILE64_SOURCE=1
  45 
  46 .KEEP_STATE:
  47 
  48 %.o:    ../%.c
  49         $(COMPILE.c) $<
  50 
  51 all: $(PROG)
  52 
  53 $(PROG): $(OBJS)
  54         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  55         $(POST_PROCESS)
  56 
  57 install: all $(ROOTPROG64)
  58