diff options
Diffstat (limited to 'usr/src/lib/nsswitch/compat')
-rw-r--r-- | usr/src/lib/nsswitch/compat/Makefile | 6 | ||||
-rw-r--r-- | usr/src/lib/nsswitch/compat/Makefile.com | 14 | ||||
-rw-r--r-- | usr/src/lib/nsswitch/compat/amd64/Makefile | 4 | ||||
-rw-r--r-- | usr/src/lib/nsswitch/compat/i386/Makefile | 4 | ||||
-rw-r--r-- | usr/src/lib/nsswitch/compat/sparc/Makefile | 4 | ||||
-rw-r--r-- | usr/src/lib/nsswitch/compat/sparcv9/Makefile | 4 |
6 files changed, 19 insertions, 17 deletions
diff --git a/usr/src/lib/nsswitch/compat/Makefile b/usr/src/lib/nsswitch/compat/Makefile index 7e2c8196b1..ed69fbf8dd 100644 --- a/usr/src/lib/nsswitch/compat/Makefile +++ b/usr/src/lib/nsswitch/compat/Makefile @@ -20,12 +20,9 @@ # CDDL HEADER END # # -#ident "%Z%%M% %I% %E% SMI" -# # Copyright (c) 1991 - 1996, by Sun Microsystems, Inc. # All rights reserved. # -# lib/nsswitch/compat/Makefile include ../../../Makefile.master @@ -35,11 +32,10 @@ all:= TARGET= all clean:= TARGET= clean clobber:= TARGET= clobber install:= TARGET= install -lint:= TARGET= lint .KEEP_STATE: -all clean clobber install lint: $(FILES_SUBDIRS) +all clean clobber install: $(FILES_SUBDIRS) $(MACH) $(MACH64): FRC @cd $@; pwd; $(MAKE) $(TARGET) diff --git a/usr/src/lib/nsswitch/compat/Makefile.com b/usr/src/lib/nsswitch/compat/Makefile.com index 5b600c5588..b5b4b7f388 100644 --- a/usr/src/lib/nsswitch/compat/Makefile.com +++ b/usr/src/lib/nsswitch/compat/Makefile.com @@ -23,9 +23,6 @@ # Copyright 1993,2001-2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# -# lib/nsswitch/compat/Makefile.com LIBRARY = libnss_compat.a VERS = .1 @@ -43,5 +40,14 @@ include ../../Makefile.com # install this library in the root filesystem include ../../../Makefile.rootfs -LDLIBS += -lnsl DYNLIB1 = nss_compat.so$(VERS) + +COMPATLINKS= usr/lib/$(DYNLIB1) +COMPATLINKS64= usr/lib/$(MACH64)/$(DYNLIB1) + +$(ROOT)/usr/lib/$(DYNLIB1) := COMPATLINKTARGET=../../lib/$(DYNLIB1) +$(ROOT)/usr/lib/$(MACH64)/$(DYNLIB1):= \ + COMPATLINKTARGET=../../../lib/$(MACH64)/$(DYNLIB1) + +LDLIBS += -lnsl + diff --git a/usr/src/lib/nsswitch/compat/amd64/Makefile b/usr/src/lib/nsswitch/compat/amd64/Makefile index 1334471b25..2f85b65f33 100644 --- a/usr/src/lib/nsswitch/compat/amd64/Makefile +++ b/usr/src/lib/nsswitch/compat/amd64/Makefile @@ -23,7 +23,7 @@ # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" + # include ../Makefile.com @@ -33,4 +33,4 @@ LIBS = $(DYNLIB1) include ../../Makefile.targ -install: all $(ROOT64DYNLIB) +install: all $(ROOT64DYNLIB) $(ROOTCOMPATLINKS64) diff --git a/usr/src/lib/nsswitch/compat/i386/Makefile b/usr/src/lib/nsswitch/compat/i386/Makefile index b7894e1fb1..2ca94e0c37 100644 --- a/usr/src/lib/nsswitch/compat/i386/Makefile +++ b/usr/src/lib/nsswitch/compat/i386/Makefile @@ -23,7 +23,7 @@ # Copyright 1993,2001-2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" + # # lib/nsswitch/compat/i386/Makefile @@ -33,4 +33,4 @@ LIBS = $(DYNLIB1) include ../../Makefile.targ -install: all $(ROOTLIBS) +install: all $(ROOTLIBS) $(ROOTCOMPATLINKS) diff --git a/usr/src/lib/nsswitch/compat/sparc/Makefile b/usr/src/lib/nsswitch/compat/sparc/Makefile index bf84dac75a..9b36f0b9be 100644 --- a/usr/src/lib/nsswitch/compat/sparc/Makefile +++ b/usr/src/lib/nsswitch/compat/sparc/Makefile @@ -23,7 +23,7 @@ # Copyright 1993,2001-2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" + # # lib/nsswitch/compat/sparc/Makefile @@ -33,4 +33,4 @@ LIBS = $(DYNLIB1) include ../../Makefile.targ -install: all $(ROOTLIBS) +install: all $(ROOTLIBS) $(ROOTCOMPATLINKS) diff --git a/usr/src/lib/nsswitch/compat/sparcv9/Makefile b/usr/src/lib/nsswitch/compat/sparcv9/Makefile index 7e6c72e5c7..39d99524aa 100644 --- a/usr/src/lib/nsswitch/compat/sparcv9/Makefile +++ b/usr/src/lib/nsswitch/compat/sparcv9/Makefile @@ -20,7 +20,7 @@ # CDDL HEADER END # # -#ident "%Z%%M% %I% %E% SMI" + # # Copyright (c) 1993,2001 by Sun Microsystems, Inc. # All rights reserved. @@ -34,4 +34,4 @@ LIBS = $(DYNLIB1) include ../../Makefile.targ -install: all $(ROOT64DYNLIB) +install: all $(ROOT64DYNLIB) $(ROOTCOMPATLINKS64) |