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 2008 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 
  26 PROG= strings
  27 SRCS= ../$(PROG).c
  28 
  29 include ../../Makefile.cmd
  30 
  31 LDLIBS += -lelf
  32 
  33 CFLAGS += $(CCVERBOSE)
  34 CFLAGS64 += $(CCVERBOSE)
  35 CERRWARN += -_gcc=-Wno-switch
  36 CERRWARN += -_gcc=-Wno-uninitialized
  37 
  38 .KEEP_STATE:
  39 
  40 all: $(PROG)
  41 
  42 $(PROG): $(SRCS)
  43         $(LINK.c) -o $(PROG) $(SRCS) $(LDLIBS)
  44         $(POST_PROCESS)
  45 
  46 clean:
  47 
  48 lint:   lint_SRCS
  49 
  50 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 2008 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 
  26 PROG= strings
  27 SRCS= ../$(PROG).c
  28 
  29 include ../../Makefile.cmd
  30 
  31 LDLIBS += -lelf
  32 
  33 CFLAGS += $(CCVERBOSE)
  34 CFLAGS64 += $(CCVERBOSE)
  35 CERRWARN += -_gcc=-Wno-switch
  36 CERRWARN += $(CNOWARN_UNINIT)
  37 
  38 .KEEP_STATE:
  39 
  40 all: $(PROG)
  41 
  42 $(PROG): $(SRCS)
  43         $(LINK.c) -o $(PROG) $(SRCS) $(LDLIBS)
  44         $(POST_PROCESS)
  45 
  46 clean:
  47 
  48 lint:   lint_SRCS
  49 
  50 include ../../Makefile.targ