diff options
Diffstat (limited to 'usr/src/lib/nsswitch/dns')
-rw-r--r-- | usr/src/lib/nsswitch/dns/Makefile | 6 | ||||
-rw-r--r-- | usr/src/lib/nsswitch/dns/Makefile.com | 10 | ||||
-rw-r--r-- | usr/src/lib/nsswitch/dns/amd64/Makefile | 4 | ||||
-rw-r--r-- | usr/src/lib/nsswitch/dns/i386/Makefile | 4 | ||||
-rw-r--r-- | usr/src/lib/nsswitch/dns/sparc/Makefile | 4 | ||||
-rw-r--r-- | usr/src/lib/nsswitch/dns/sparcv9/Makefile | 4 |
6 files changed, 18 insertions, 14 deletions
diff --git a/usr/src/lib/nsswitch/dns/Makefile b/usr/src/lib/nsswitch/dns/Makefile index 9fc3326ce3..ed69fbf8dd 100644 --- a/usr/src/lib/nsswitch/dns/Makefile +++ b/usr/src/lib/nsswitch/dns/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/dns/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/dns/Makefile.com b/usr/src/lib/nsswitch/dns/Makefile.com index 0366633c0c..bc66038274 100644 --- a/usr/src/lib/nsswitch/dns/Makefile.com +++ b/usr/src/lib/nsswitch/dns/Makefile.com @@ -38,11 +38,19 @@ include ../../Makefile.com # install this library in the root filesystem include ../../../Makefile.rootfs +DYNLIB1 = nss_dns.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) + # Appropriate libresolv loaded at runtime. This is the default, to be dlopened # if no libresolv was provided by the application. CPPFLAGS += -DNSS_DNS_LIBRESOLV=\"libresolv.so.2\" -LINTFLAGS += -erroff=E_GLOBAL_COULD_BE_STATIC2 LDLIBS += -lnsl -lresolv_joy -lsocket DYNLIB1 = nss_dns.so$(VERS) diff --git a/usr/src/lib/nsswitch/dns/amd64/Makefile b/usr/src/lib/nsswitch/dns/amd64/Makefile index 1334471b25..2f85b65f33 100644 --- a/usr/src/lib/nsswitch/dns/amd64/Makefile +++ b/usr/src/lib/nsswitch/dns/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/dns/i386/Makefile b/usr/src/lib/nsswitch/dns/i386/Makefile index 164288fc1d..a1784e474a 100644 --- a/usr/src/lib/nsswitch/dns/i386/Makefile +++ b/usr/src/lib/nsswitch/dns/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/dns/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/dns/sparc/Makefile b/usr/src/lib/nsswitch/dns/sparc/Makefile index 9ea99483e7..c42e6a88f5 100644 --- a/usr/src/lib/nsswitch/dns/sparc/Makefile +++ b/usr/src/lib/nsswitch/dns/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/dns/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/dns/sparcv9/Makefile b/usr/src/lib/nsswitch/dns/sparcv9/Makefile index dbcedcf28e..b686e818ca 100644 --- a/usr/src/lib/nsswitch/dns/sparcv9/Makefile +++ b/usr/src/lib/nsswitch/dns/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) |