118 # the standalone. $(DTS_ERRNO) is designed to add -D_TS_ERRNO to $(CPPFLAGS),
119 # in order to enable this feature. Conveniently, -D_REENTRANT does the same
120 # thing. As such, we null out $(DTS_ERRNO) to ensure that the standalone
121 # doesn't get it.
122 DTS_ERRNO=
123
124 CPPFLAGS_standalone = -DDIS_STANDALONE -I$(SRC)/cmd/mdb/common
125 CPPFLAGS_library = -D_REENTRANT
126 CPPFLAGS += -I$(COMDIR) $(CPPFLAGS_$(CURTYPE))
127
128 # For the x86 disassembler we have to include sources from usr/src/common
129 CPPFLAGS += -I$(SRC)/common/dis/i386 -DDIS_TEXT
130
131 CFLAGS_standalone = $(STAND_FLAGS_32)
132 CFLAGS_common =
133 CFLAGS += $(CFLAGS_$(CURTYPE)) $(CFLAGS_common)
134
135 CFLAGS64_standalone = $(STAND_FLAGS_64)
136 CFLAGS64 += $(CCVERBOSE) $(CFLAGS64_$(CURTYPE)) $(CFLAGS64_common)
137
138 DYNFLAGS += $(ZINTERPOSE)
139
140 .KEEP_STATE:
|
118 # the standalone. $(DTS_ERRNO) is designed to add -D_TS_ERRNO to $(CPPFLAGS),
119 # in order to enable this feature. Conveniently, -D_REENTRANT does the same
120 # thing. As such, we null out $(DTS_ERRNO) to ensure that the standalone
121 # doesn't get it.
122 DTS_ERRNO=
123
124 CPPFLAGS_standalone = -DDIS_STANDALONE -I$(SRC)/cmd/mdb/common
125 CPPFLAGS_library = -D_REENTRANT
126 CPPFLAGS += -I$(COMDIR) $(CPPFLAGS_$(CURTYPE))
127
128 # For the x86 disassembler we have to include sources from usr/src/common
129 CPPFLAGS += -I$(SRC)/common/dis/i386 -DDIS_TEXT
130
131 CFLAGS_standalone = $(STAND_FLAGS_32)
132 CFLAGS_common =
133 CFLAGS += $(CFLAGS_$(CURTYPE)) $(CFLAGS_common)
134
135 CFLAGS64_standalone = $(STAND_FLAGS_64)
136 CFLAGS64 += $(CCVERBOSE) $(CFLAGS64_$(CURTYPE)) $(CFLAGS64_common)
137
138 C99MODE = $(C99_ENABLE)
139
140 DYNFLAGS += $(ZINTERPOSE)
141
142 .KEEP_STATE:
|