82 mdb_string.c \
83 mdb_strio.c \
84 mdb_tab.c \
85 mdb_target.c \
86 mdb_tdb.c \
87 mdb_termio.c \
88 mdb_typedef.c \
89 mdb_umem.c \
90 mdb_value.c \
91 mdb_vcb.c \
92 mdb_wcb.c \
93 mdb_whatis.c
94
95 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
96 CPPFLAGS += -D_MDB -I. -I../.. -I../../../common
97
98 CSTD= $(CSTD_GNU99)
99 C99LMODE= -Xc99=%all
100
101 LDLIBS += -lcurses -lkvm -lproc -lrtld_db -lctf -lumem -ldisasm -lscf
102
103 CERRWARN += -_gcc=-Wno-uninitialized
104 CERRWARN += -_gcc=-Wno-char-subscripts
105 CERRWARN += -_gcc=-Wno-clobbered
106 CERRWARN += -_gcc=-Wno-parentheses
107 CERRWARN += -_gcc=-Wno-unused-label
108 CERRWARN += -_gcc=-Wno-unused-variable
109
110 #
111 # -erroff=E_INCONS_ARG_DECL2 works around a problem where lint gets confused
112 # about how struct mdb_tgt_gregset is used in mdb_tgt_stack_f() and
113 # mdb_tgt_stack_iter_f(). Will be resolved as part of fix for CR 6749868.
114 #
115 LINTFLAGS += -n -errtags=yes -erroff=E_INCONS_ARG_DECL2
116 LINTFILES = $(SRCS:%.c=%.ln)
117
118 PROG = mdb
119 OBJS = $(SRCS:%.c=%.o) mdb_lex.o mdb_grammar.o
120
121 LINK = adb
|
82 mdb_string.c \
83 mdb_strio.c \
84 mdb_tab.c \
85 mdb_target.c \
86 mdb_tdb.c \
87 mdb_termio.c \
88 mdb_typedef.c \
89 mdb_umem.c \
90 mdb_value.c \
91 mdb_vcb.c \
92 mdb_wcb.c \
93 mdb_whatis.c
94
95 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
96 CPPFLAGS += -D_MDB -I. -I../.. -I../../../common
97
98 CSTD= $(CSTD_GNU99)
99 C99LMODE= -Xc99=%all
100
101 LDLIBS += -lcurses -lkvm -lproc -lrtld_db -lctf -lumem -ldisasm -lscf
102 LDLIBS += -lsysdemangle
103
104 CERRWARN += -_gcc=-Wno-uninitialized
105 CERRWARN += -_gcc=-Wno-char-subscripts
106 CERRWARN += -_gcc=-Wno-clobbered
107 CERRWARN += -_gcc=-Wno-parentheses
108 CERRWARN += -_gcc=-Wno-unused-label
109 CERRWARN += -_gcc=-Wno-unused-variable
110
111 #
112 # -erroff=E_INCONS_ARG_DECL2 works around a problem where lint gets confused
113 # about how struct mdb_tgt_gregset is used in mdb_tgt_stack_f() and
114 # mdb_tgt_stack_iter_f(). Will be resolved as part of fix for CR 6749868.
115 #
116 LINTFLAGS += -n -errtags=yes -erroff=E_INCONS_ARG_DECL2
117 LINTFILES = $(SRCS:%.c=%.ln)
118
119 PROG = mdb
120 OBJS = $(SRCS:%.c=%.o) mdb_lex.o mdb_grammar.o
121
122 LINK = adb
|