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


  16 # If applicable, add the following below this CDDL HEADER, with the
  17 # fields enclosed by brackets "[]" replaced with your own identifying
  18 # information: Portions Copyright [yyyy] [name of copyright owner]
  19 #
  20 # CDDL HEADER END
  21 #
  22 #
  23 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 
  27 PROG= cal 
  28 
  29 include ../Makefile.cmd
  30 
  31 SED= sed
  32 DCFILE= $(PROG).dc
  33 
  34 CFLAGS += $(CCVERBOSE)
  35 CERRWARN += -_gcc=-Wno-parentheses
  36 CERRWARN += -_gcc=-Wno-uninitialized
  37 
  38 .KEEP_STATE:
  39 
  40 all: $(PROG) 
  41 
  42 install: all $(ROOTPROG)
  43 
  44 clean:
  45 
  46 lint:   lint_PROG
  47 
  48 $(DCFILE): $(PROG).c
  49         $(RM) $(DCFILE)
  50         $(COMPILE.cpp) $(PROG).c  | \
  51         $(XGETTEXT) $(XGETFLAGS) -t -
  52         $(SED) -e '/^domain/d' messages.po > $@
  53         $(RM) messages.po
  54 
  55 include ../Makefile.targ


  16 # If applicable, add the following below this CDDL HEADER, with the
  17 # fields enclosed by brackets "[]" replaced with your own identifying
  18 # information: Portions Copyright [yyyy] [name of copyright owner]
  19 #
  20 # CDDL HEADER END
  21 #
  22 #
  23 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 
  27 PROG= cal 
  28 
  29 include ../Makefile.cmd
  30 
  31 SED= sed
  32 DCFILE= $(PROG).dc
  33 
  34 CFLAGS += $(CCVERBOSE)
  35 CERRWARN += -_gcc=-Wno-parentheses
  36 CERRWARN += $(CNOWARN_UNINIT)
  37 
  38 .KEEP_STATE:
  39 
  40 all: $(PROG) 
  41 
  42 install: all $(ROOTPROG)
  43 
  44 clean:
  45 
  46 lint:   lint_PROG
  47 
  48 $(DCFILE): $(PROG).c
  49         $(RM) $(DCFILE)
  50         $(COMPILE.cpp) $(PROG).c  | \
  51         $(XGETTEXT) $(XGETFLAGS) -t -
  52         $(SED) -e '/^domain/d' messages.po > $@
  53         $(RM) messages.po
  54 
  55 include ../Makefile.targ