83 # way to explicitly list each single flag.
84 CPPFLAGS = \
85 $(DTEXTDOM) $(DTS_ERRNO) \
86 -I. \
87 -I$(ROOT)/usr/include/ast \
88 -I$(ROOT)/usr/include \
89 -D_PACKAGE_ast \
90 '-DUSAGE_LICENSE=\
91 "[-author?Glenn Fowler <gsf@research.att.com>]"\
92 "[-copyright?Copyright (c) 1986-2009 AT&T Intellectual Property]"\
93 "[-license?http://www.opensource.org/licenses/cpl1.0.txt]"\
94 "[--catalog?libpp]"'
95
96
97 CFLAGS += \
98 $(ASTCFLAGS)
99 CFLAGS64 += \
100 $(ASTCFLAGS64)
101
102 CERRWARN += -_gcc=-Wno-parentheses
103 CERRWARN += -_gcc=-Wno-uninitialized
104 CERRWARN += -_gcc=-Wno-char-subscripts
105 CERRWARN += -_gcc=-Wno-empty-body
106 CERRWARN += -_gcc=-Wno-unused-value
107
108 # "pplex() parse error: turning off implications after 60 seconds"
109 SMATCH = off
110
111 pics/ppcall.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
112 pics/ppcontrol.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
113 pics/ppcpp.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
114 pics/ppexpr.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
115 pics/pplex.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
116 pics/ppop.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
117 pics/ppsearch.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
118 pics/ppsearch.o := CERRWARN += -_gcc=-Wno-sequence-point
119 pics/pplex.o := CERRWARN += -_gcc=-Wno-implicit-fallthrough
120 pics/ppcpp.o := CERRWARN += -_gcc=-Wno-implicit-fallthrough
121 pics/ppproto.o := CERRWARN += -_gcc=-Wno-implicit-fallthrough
122
123 .KEEP_STATE:
|
83 # way to explicitly list each single flag.
84 CPPFLAGS = \
85 $(DTEXTDOM) $(DTS_ERRNO) \
86 -I. \
87 -I$(ROOT)/usr/include/ast \
88 -I$(ROOT)/usr/include \
89 -D_PACKAGE_ast \
90 '-DUSAGE_LICENSE=\
91 "[-author?Glenn Fowler <gsf@research.att.com>]"\
92 "[-copyright?Copyright (c) 1986-2009 AT&T Intellectual Property]"\
93 "[-license?http://www.opensource.org/licenses/cpl1.0.txt]"\
94 "[--catalog?libpp]"'
95
96
97 CFLAGS += \
98 $(ASTCFLAGS)
99 CFLAGS64 += \
100 $(ASTCFLAGS64)
101
102 CERRWARN += -_gcc=-Wno-parentheses
103 CERRWARN += $(CNOWARN_UNINIT)
104 CERRWARN += -_gcc=-Wno-char-subscripts
105 CERRWARN += -_gcc=-Wno-empty-body
106 CERRWARN += -_gcc=-Wno-unused-value
107
108 # "pplex() parse error: turning off implications after 60 seconds"
109 SMATCH = off
110
111 pics/ppcall.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
112 pics/ppcontrol.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
113 pics/ppcpp.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
114 pics/ppexpr.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
115 pics/pplex.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
116 pics/ppop.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
117 pics/ppsearch.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
118 pics/ppsearch.o := CERRWARN += -_gcc=-Wno-sequence-point
119 pics/pplex.o := CERRWARN += -_gcc=-Wno-implicit-fallthrough
120 pics/ppcpp.o := CERRWARN += -_gcc=-Wno-implicit-fallthrough
121 pics/ppproto.o := CERRWARN += -_gcc=-Wno-implicit-fallthrough
122
123 .KEEP_STATE:
|