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


  33 # Set common AST build flags (e.g., needed to support the math stuff).
  34 include ../../../Makefile.ast
  35 
  36 # build rules
  37 CPPFLAGS = \
  38         $(DTEXTDOM) $(DTS_ERRNO) \
  39         -I$(ROOT)/usr/include/ast \
  40         -I$(ROOT)/usr/include \
  41         -D_PACKAGE_ast \
  42         '-DUSAGE_LICENSE=\
  43                 "[-author?Glenn Fowler <gsf@research.att.com>]"\
  44                 "[-copyright?Copyright (c) 1986-2009 AT&T Intellectual Property]"\
  45                 "[-license?http://www.opensource.org/licenses/cpl1.0.txt]"\
  46                 "[--catalog?msgcc]"'
  47 
  48 CFLAGS += \
  49         $(ASTCFLAGS)
  50 
  51 CERRWARN += -_gcc=-Wno-parentheses
  52 CERRWARN += -_gcc=-Wno-empty-body
  53 CERRWARN += -_gcc=-Wno-uninitialized
  54 
  55 # not linted
  56 SMATCH=off
  57 
  58 LDLIBS += -last
  59 msgcpp   := LDLIBS += -lpp
  60 
  61 # This target should use "shcomp" in the future
  62 msgcc:  msgcc.sh
  63         rm -f msgcc ; \
  64         { \
  65                 print "#!/usr/bin/ksh93" ; \
  66                 print "export PATH=/usr/ast/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/bin:\$${PATH}" ; \
  67                 print "builtin date" ; \
  68                 cat "msgcc.sh" ; \
  69         } >msgcc ; \
  70         chmod a+rx msgcc
  71 
  72 ROOTCMDDIR=$(ROOT)/usr/ast/bin
  73 


  33 # Set common AST build flags (e.g., needed to support the math stuff).
  34 include ../../../Makefile.ast
  35 
  36 # build rules
  37 CPPFLAGS = \
  38         $(DTEXTDOM) $(DTS_ERRNO) \
  39         -I$(ROOT)/usr/include/ast \
  40         -I$(ROOT)/usr/include \
  41         -D_PACKAGE_ast \
  42         '-DUSAGE_LICENSE=\
  43                 "[-author?Glenn Fowler <gsf@research.att.com>]"\
  44                 "[-copyright?Copyright (c) 1986-2009 AT&T Intellectual Property]"\
  45                 "[-license?http://www.opensource.org/licenses/cpl1.0.txt]"\
  46                 "[--catalog?msgcc]"'
  47 
  48 CFLAGS += \
  49         $(ASTCFLAGS)
  50 
  51 CERRWARN += -_gcc=-Wno-parentheses
  52 CERRWARN += -_gcc=-Wno-empty-body
  53 CERRWARN += $(CNOWARN_UNINIT)
  54 
  55 # not linted
  56 SMATCH=off
  57 
  58 LDLIBS += -last
  59 msgcpp   := LDLIBS += -lpp
  60 
  61 # This target should use "shcomp" in the future
  62 msgcc:  msgcc.sh
  63         rm -f msgcc ; \
  64         { \
  65                 print "#!/usr/bin/ksh93" ; \
  66                 print "export PATH=/usr/ast/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/bin:\$${PATH}" ; \
  67                 print "builtin date" ; \
  68                 cat "msgcc.sh" ; \
  69         } >msgcc ; \
  70         chmod a+rx msgcc
  71 
  72 ROOTCMDDIR=$(ROOT)/usr/ast/bin
  73