140 # We need to rename some standard functions so we can easily implement them
141 # in consumers.
142 STAND_RENAMED_FUNCS= \
143 atomic_add_64 \
144 atomic_add_32_nv \
145 atomic_swap_64 \
146 snprintf \
147 vsnprintf
148
149 CPPFLAGS_standalone = -DUMEM_STANDALONE $(STAND_RENAMED_FUNCS:%=-D%=umem_%)
150 CPPFLAGS_library = -D_REENTRANT
151 CPPFLAGS += -I../common -I../../common/inc $(CPPFLAGS_$(CURTYPE))
152
153 CFLAGS_standalone = $(STAND_FLAGS_32)
154 CFLAGS_common =
155 CFLAGS += $(CFLAGS_$(CURTYPE)) $(CFLAGS_common)
156
157 CFLAGS64_standalone = $(STAND_FLAGS_64)
158 CFLAGS64 += $(CCVERBOSE) $(CFLAGS64_$(CURTYPE)) $(CFLAGS64_common)
159
160 INSTALL_DEPS_library = $(ROOTLINKS) $(ROOTLINT) $(ROOTLIBS)
161
162 #
163 # turn off ptr-cast warnings, since we do them all the time
164 #
165 LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
166 LINTFLAGS64 += -erroff=E_BAD_PTR_CAST_ALIGN
167
168 DYNFLAGS += $(ZINTERPOSE)
169
170 .KEEP_STATE:
|
140 # We need to rename some standard functions so we can easily implement them
141 # in consumers.
142 STAND_RENAMED_FUNCS= \
143 atomic_add_64 \
144 atomic_add_32_nv \
145 atomic_swap_64 \
146 snprintf \
147 vsnprintf
148
149 CPPFLAGS_standalone = -DUMEM_STANDALONE $(STAND_RENAMED_FUNCS:%=-D%=umem_%)
150 CPPFLAGS_library = -D_REENTRANT
151 CPPFLAGS += -I../common -I../../common/inc $(CPPFLAGS_$(CURTYPE))
152
153 CFLAGS_standalone = $(STAND_FLAGS_32)
154 CFLAGS_common =
155 CFLAGS += $(CFLAGS_$(CURTYPE)) $(CFLAGS_common)
156
157 CFLAGS64_standalone = $(STAND_FLAGS_64)
158 CFLAGS64 += $(CCVERBOSE) $(CFLAGS64_$(CURTYPE)) $(CFLAGS64_common)
159
160 INSTALL_DEPS_library = $(ROOTLINKS) $(ROOTLINT) $(ROOTLIBS) $(ROOTCOMPATLINKS)
161
162 #
163 # turn off ptr-cast warnings, since we do them all the time
164 #
165 LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
166 LINTFLAGS64 += -erroff=E_BAD_PTR_CAST_ALIGN
167
168 DYNFLAGS += $(ZINTERPOSE)
169
170 .KEEP_STATE:
|