104 CLOBBERFILES += $(CLOBBERFILES_$(CURTYPE))
105
106 LIBS_standalone = $(STANDLIBRARY)
107 LIBS_library = $(DYNLIB) $(LINTLIB)
108 LIBS = $(LIBS_$(CURTYPE))
109
110 MAPFILES = $(COMDIR)/mapfile-vers
111
112 LDLIBS += -lc
113
114 LDFLAGS_standalone = $(ZNOVERSION) $(BREDUCE) -dy -r
115 LDFLAGS = $(LDFLAGS_$(CURTYPE))
116
117 ASFLAGS_standalone = -DDIS_STANDALONE
118 ASFLAGS_library =
119 ASFLAGS += -P $(ASFLAGS_$(CURTYPE)) -D_ASM
120
121 $(LINTLIB) := SRCS = $(COMDIR)/$(LINTSRC)
122
123 CERRWARN += -_gcc=-Wno-parentheses
124 CERRWARN += -_gcc=-Wno-uninitialized
125
126 # not linted
127 SMATCH=off
128
129 # We want the thread-specific errno in the library, but we don't want it in
130 # the standalone. $(DTS_ERRNO) is designed to add -D_TS_ERRNO to $(CPPFLAGS),
131 # in order to enable this feature. Conveniently, -D_REENTRANT does the same
132 # thing. As such, we null out $(DTS_ERRNO) to ensure that the standalone
133 # doesn't get it.
134 DTS_ERRNO=
135
136 CPPFLAGS_standalone = -DDIS_STANDALONE -I$(SRC)/cmd/mdb/common
137 CPPFLAGS_library = -D_REENTRANT
138 CPPFLAGS += -I$(COMDIR) $(CPPFLAGS_$(CURTYPE))
139
140 # For the x86 disassembler we have to include sources from usr/src/common
141 CPPFLAGS += -I$(SRC)/common/dis/i386 -DDIS_TEXT
142
143 CFLAGS_standalone = $(STAND_FLAGS_32)
144 CFLAGS_common =
|
104 CLOBBERFILES += $(CLOBBERFILES_$(CURTYPE))
105
106 LIBS_standalone = $(STANDLIBRARY)
107 LIBS_library = $(DYNLIB) $(LINTLIB)
108 LIBS = $(LIBS_$(CURTYPE))
109
110 MAPFILES = $(COMDIR)/mapfile-vers
111
112 LDLIBS += -lc
113
114 LDFLAGS_standalone = $(ZNOVERSION) $(BREDUCE) -dy -r
115 LDFLAGS = $(LDFLAGS_$(CURTYPE))
116
117 ASFLAGS_standalone = -DDIS_STANDALONE
118 ASFLAGS_library =
119 ASFLAGS += -P $(ASFLAGS_$(CURTYPE)) -D_ASM
120
121 $(LINTLIB) := SRCS = $(COMDIR)/$(LINTSRC)
122
123 CERRWARN += -_gcc=-Wno-parentheses
124 CERRWARN += $(CNOWARN_UNINIT)
125
126 # not linted
127 SMATCH=off
128
129 # We want the thread-specific errno in the library, but we don't want it in
130 # the standalone. $(DTS_ERRNO) is designed to add -D_TS_ERRNO to $(CPPFLAGS),
131 # in order to enable this feature. Conveniently, -D_REENTRANT does the same
132 # thing. As such, we null out $(DTS_ERRNO) to ensure that the standalone
133 # doesn't get it.
134 DTS_ERRNO=
135
136 CPPFLAGS_standalone = -DDIS_STANDALONE -I$(SRC)/cmd/mdb/common
137 CPPFLAGS_library = -D_REENTRANT
138 CPPFLAGS += -I$(COMDIR) $(CPPFLAGS_$(CURTYPE))
139
140 # For the x86 disassembler we have to include sources from usr/src/common
141 CPPFLAGS += -I$(SRC)/common/dis/i386 -DDIS_TEXT
142
143 CFLAGS_standalone = $(STAND_FLAGS_32)
144 CFLAGS_common =
|