Print this page
lib: move compat links from targetdirs to proper makefiles
*** 20,31 ****
#
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
- # ident "%Z%%M% %I% %E% SMI"
- #
LIBRARY= libmalloc.a
VERS= .1
OBJECTS= malloc.o
--- 20,29 ----
*** 44,53 ****
--- 42,58 ----
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I../../common/inc -D_REENTRANT
DYNFLAGS += $(ZINTERPOSE)
LDLIBS += -lc
+ COMPATLINKS= /usr/ccs/lib/libmalloc.so \
+ /usr/ccs/lib/$(MACH64)/libmalloc.so
+
+ $(ROOT)/usr/ccs/lib/libmalloc.so := COMPATLINKTARGET=../../lib/libmalloc.so.1
+ $(ROOT)/usr/ccs/lib/$(MACH64)/libmalloc.so:= \
+ COMPATLINKTARGET=../../../lib/$(MACH64)/libmalloc.so.1
+
.KEEP_STATE:
lint: lintcheck
# include library targets