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 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # cmd/pbind/Makefile.com
  26 #
  27 
  28 PROG=   pbind
  29 OBJS=   pbind.o
  30 SRCS=   $(OBJS:%.o=../%.c)
  31 
  32 include ../../Makefile.cmd
  33 
  34 LDLIBS += -lproc
  35 CERRWARN += -_gcc=-Wno-parentheses
  36 CERRWARN += -_gcc=-Wno-uninitialized
  37 
  38 .KEEP_STATE:
  39 
  40 %.o:    ../%.c
  41         $(COMPILE.c) $<
  42 
  43 all:    $(PROG)
  44 
  45 $(PROG):        $(OBJS)
  46         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  47         $(POST_PROCESS)
  48 
  49 clean:
  50         $(RM) $(OBJS)
  51 
  52 lint:   lint_SRCS
  53 
  54 include ../../Makefile.targ


  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 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # cmd/pbind/Makefile.com
  26 #
  27 
  28 PROG=   pbind
  29 OBJS=   pbind.o
  30 SRCS=   $(OBJS:%.o=../%.c)
  31 
  32 include ../../Makefile.cmd
  33 
  34 LDLIBS += -lproc
  35 CERRWARN += -_gcc=-Wno-parentheses
  36 CERRWARN += $(CNOWARN_UNINIT)
  37 
  38 .KEEP_STATE:
  39 
  40 %.o:    ../%.c
  41         $(COMPILE.c) $<
  42 
  43 all:    $(PROG)
  44 
  45 $(PROG):        $(OBJS)
  46         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  47         $(POST_PROCESS)
  48 
  49 clean:
  50         $(RM) $(OBJS)
  51 
  52 lint:   lint_SRCS
  53 
  54 include ../../Makefile.targ