68 # Notes:
69 # - "-D_BLD_DLL" comes from ${mam_cc_DLL} in Mamfile
70 CPPFLAGS = \
71 $(DTEXTDOM) $(DTS_ERRNO) \
72 $(DLLPLATFORMCPPFLAGS) \
73 -I. \
74 -I$(ROOT)/usr/include/ast \
75 -I$(ROOT)/usr/include \
76 '-DCONF_LIBSUFFIX=".so"' \
77 '-DCONF_LIBPREFIX="lib"' \
78 -D_BLD_dll \
79 -D_PACKAGE_ast \
80 -D_BLD_DLL
81
82 CFLAGS += \
83 $(ASTCFLAGS)
84 CFLAGS64 += \
85 $(ASTCFLAGS64)
86
87 CERRWARN += -_gcc=-Wno-parentheses
88 CERRWARN += -_gcc=-Wno-uninitialized
89
90 # needs work
91 SMOFF += all_func_returns,strcpy_overflow
92
93 .KEEP_STATE:
94
95 all: $(LIBS)
96
97 #
98 # libdll is not lint-clean yet; fake up a target. (You can use
99 # "make lintcheck" to actually run lint; please send all lint fixes
100 # upstream (to AT&T) so the next update will pull them into ON.)
101 #
102 lint:
103 @ print "usr/src/lib/libdll is not lint-clean: skipping"
104
105 include ../../Makefile.targ
|
68 # Notes:
69 # - "-D_BLD_DLL" comes from ${mam_cc_DLL} in Mamfile
70 CPPFLAGS = \
71 $(DTEXTDOM) $(DTS_ERRNO) \
72 $(DLLPLATFORMCPPFLAGS) \
73 -I. \
74 -I$(ROOT)/usr/include/ast \
75 -I$(ROOT)/usr/include \
76 '-DCONF_LIBSUFFIX=".so"' \
77 '-DCONF_LIBPREFIX="lib"' \
78 -D_BLD_dll \
79 -D_PACKAGE_ast \
80 -D_BLD_DLL
81
82 CFLAGS += \
83 $(ASTCFLAGS)
84 CFLAGS64 += \
85 $(ASTCFLAGS64)
86
87 CERRWARN += -_gcc=-Wno-parentheses
88 CERRWARN += $(CNOWARN_UNINIT)
89
90 # needs work
91 SMOFF += all_func_returns,strcpy_overflow
92
93 .KEEP_STATE:
94
95 all: $(LIBS)
96
97 #
98 # libdll is not lint-clean yet; fake up a target. (You can use
99 # "make lintcheck" to actually run lint; please send all lint fixes
100 # upstream (to AT&T) so the next update will pull them into ON.)
101 #
102 lint:
103 @ print "usr/src/lib/libdll is not lint-clean: skipping"
104
105 include ../../Makefile.targ
|