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