Print this page
lib: move compat links from targetdirs to proper makefiles


  45                 getexecattr.o           \
  46                 getuserattr.o           \
  47                 getauuser.o             \
  48                 netmasks.o              \
  49                 tsol_getrhent.o         \
  50                 tsol_gettpent.o
  51 
  52 # include common nsswitch library definitions.
  53 include         ../../Makefile.com
  54 
  55 # install this library in the root filesystem
  56 include ../../../Makefile.rootfs
  57 
  58 CPPFLAGS +=     -I../../../common/inc
  59 LINTFLAGS +=    -erroff=E_GLOBAL_COULD_BE_STATIC2
  60 LINTFLAGS64 +=  -erroff=E_GLOBAL_COULD_BE_STATIC2
  61 
  62 LDLIBS +=       -lnsl
  63 DYNLIB1 =       nss_files.so$(VERS)
  64 












  65 all: $(DYNLIB1)



  45                 getexecattr.o           \
  46                 getuserattr.o           \
  47                 getauuser.o             \
  48                 netmasks.o              \
  49                 tsol_getrhent.o         \
  50                 tsol_gettpent.o
  51 
  52 # include common nsswitch library definitions.
  53 include         ../../Makefile.com
  54 
  55 # install this library in the root filesystem
  56 include ../../../Makefile.rootfs
  57 
  58 CPPFLAGS +=     -I../../../common/inc
  59 LINTFLAGS +=    -erroff=E_GLOBAL_COULD_BE_STATIC2
  60 LINTFLAGS64 +=  -erroff=E_GLOBAL_COULD_BE_STATIC2
  61 
  62 LDLIBS +=       -lnsl
  63 DYNLIB1 =       nss_files.so$(VERS)
  64 
  65 COMPATLINKS=    /usr/lib/$(DYNLIB1) /etc/lib/$(DYNLIB1)
  66 COMPATLINKS64=  /usr/lib/$(MACH64)/$(DYNLIB1)
  67 
  68 $(ROOT)/usr/lib/$(DYNLIB1) := COMPATLINKTARGET=../../lib/$(DYNLIB1)
  69 $(ROOT)/usr/lib/$(MACH64)/$(DYNLIB1):= \
  70         COMPATLINKTARGET=../../../lib/$(MACH64)/$(DYNLIB1)
  71 $(ROOT)/usr/lib/$(DYNLIB1) := COMPATLINKTARGET=../../lib/$(DYNLIB1)
  72 $(ROOT)/usr/lib/$(MACH64)/$(DYNLIB1):= \
  73         COMPATLINKTARGET=../../../lib/$(MACH64)/$(DYNLIB1)
  74 
  75 $(ROOT)/etc/lib/$(DYNLIB1) := COMPATLINKTARGET= ../../lib/$(DYNLIB1)
  76 
  77 all: $(DYNLIB1)
  78