diff options
Diffstat (limited to 'usr/src/cmd/sgs/lex')
-rw-r--r-- | usr/src/cmd/sgs/lex/Makefile.com | 7 | ||||
-rw-r--r-- | usr/src/cmd/sgs/lex/Makefile.targ | 3 | ||||
-rw-r--r-- | usr/src/cmd/sgs/lex/amd64/Makefile | 4 | ||||
-rw-r--r-- | usr/src/cmd/sgs/lex/i386/Makefile | 2 | ||||
-rw-r--r-- | usr/src/cmd/sgs/lex/sparc/Makefile | 2 | ||||
-rw-r--r-- | usr/src/cmd/sgs/lex/sparcv9/Makefile | 6 |
6 files changed, 14 insertions, 10 deletions
diff --git a/usr/src/cmd/sgs/lex/Makefile.com b/usr/src/cmd/sgs/lex/Makefile.com index 9a24765ceb..c8100b1e3f 100644 --- a/usr/src/cmd/sgs/lex/Makefile.com +++ b/usr/src/cmd/sgs/lex/Makefile.com @@ -44,6 +44,13 @@ FORMS= nceucform ncform nrform include ../../../../lib/Makefile.lib +COMPATLINKS= usr/ccs/lib/libl.so +COMPATLINKS64= usr/ccs/lib/$(MACH64)/libl.so + +$(ROOT)/usr/ccs/lib/libl.so := COMPATLINKTARGET=../../lib/libl.so.1 +$(ROOT)/usr/ccs/lib/$(MACH64)/libl.so:= \ + COMPATLINKTARGET=../../../lib/$(MACH64)/libl.so.1 + SRCDIR = ../common CSTD= $(CSTD_GNU99) diff --git a/usr/src/cmd/sgs/lex/Makefile.targ b/usr/src/cmd/sgs/lex/Makefile.targ index 7755dd804b..de50a8ae21 100644 --- a/usr/src/cmd/sgs/lex/Makefile.targ +++ b/usr/src/cmd/sgs/lex/Makefile.targ @@ -79,5 +79,8 @@ objs/%.o pics/%.o: ../common/%.c $(DYNLINKLIBDIR)/%: %$(VERS) $(INS.liblink) +$(ROOTCOMPATLINKS) $(ROOTCOMPATLINKS64): + $(RM) $@; $(SYMLINK) $(COMPATLINKTARGET) $@ + clean: $(RM) $(POBJS) $(OBJS) $(PICS) $(CLEANFILES) diff --git a/usr/src/cmd/sgs/lex/amd64/Makefile b/usr/src/cmd/sgs/lex/amd64/Makefile index 88c06842ea..a70552a0ba 100644 --- a/usr/src/cmd/sgs/lex/amd64/Makefile +++ b/usr/src/cmd/sgs/lex/amd64/Makefile @@ -23,8 +23,6 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# # This Makefile is only to produce 64-bit lex shared library libl.so.1 # and not for building 64-bit lex itself. @@ -36,7 +34,7 @@ include ../../../../lib/Makefile.lib.64 all_lib: $(LIBS) -install_lib: all_lib $(ROOTLIBS64) $(ROOTLINKS64) +install_lib: all_lib $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTCOMPATLINKS64) include ../Makefile.targ include ../../../Makefile.targ diff --git a/usr/src/cmd/sgs/lex/i386/Makefile b/usr/src/cmd/sgs/lex/i386/Makefile index 7c4ed059ec..a4627ee882 100644 --- a/usr/src/cmd/sgs/lex/i386/Makefile +++ b/usr/src/cmd/sgs/lex/i386/Makefile @@ -38,7 +38,7 @@ all_lib: $(LIBS) install: all $(ROOTPROG) $(ROOTFORMS) $(ROOTCCSBINLINK) -install_lib: all_lib $(ROOTLIBS) $(ROOTLINKS) $(DYNLINKLIB) +install_lib: all_lib $(ROOTLIBS) $(ROOTLINKS) $(DYNLINKLIB) $(ROOTCOMPATLINKS) include ../Makefile.targ include ../../../Makefile.targ diff --git a/usr/src/cmd/sgs/lex/sparc/Makefile b/usr/src/cmd/sgs/lex/sparc/Makefile index ca3f074cc4..e5a9194df2 100644 --- a/usr/src/cmd/sgs/lex/sparc/Makefile +++ b/usr/src/cmd/sgs/lex/sparc/Makefile @@ -38,7 +38,7 @@ all_lib: $(LIBS) install: all $(ROOTPROG) $(ROOTFORMS) $(ROOTCCSBINLINK) -install_lib: all_lib $(ROOTLIBS) $(ROOTLINKS) $(DYNLINKLIB) +install_lib: all_lib $(ROOTLIBS) $(ROOTLINKS) $(DYNLINKLIB) $(ROOTCOMPATLINKS) include ../Makefile.targ include ../../../Makefile.targ diff --git a/usr/src/cmd/sgs/lex/sparcv9/Makefile b/usr/src/cmd/sgs/lex/sparcv9/Makefile index 5edc1ac22b..c6279e175c 100644 --- a/usr/src/cmd/sgs/lex/sparcv9/Makefile +++ b/usr/src/cmd/sgs/lex/sparcv9/Makefile @@ -20,13 +20,9 @@ # CDDL HEADER END # # -# ident "%Z%%M% %I% %E% SMI" -# # Copyright (c) 1997 by Sun Microsystems, Inc. # All rights reserved. # -# cmd/sgs/lex/sparcv9/Makefile -# # This Makefile is only to produce 64-bit lex shared library libl.so.1 # and not for building 64-bit lex itself. @@ -38,7 +34,7 @@ include ../../../../lib/Makefile.lib.64 all_lib: $(LIBS) -install_lib: all_lib $(ROOTLIBS64) $(ROOTLINKS64) +install_lib: all_lib $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTCOMPATLINKS64) include ../Makefile.targ include ../../../Makefile.targ |