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


  37                 getnetent.o             \
  38                 getnetgrent.o           \
  39                 getprinter.o            \
  40                 getprofattr.o           \
  41                 getprojent.o            \
  42                 getprotoent.o           \
  43                 getpwnam.o              \
  44                 getrpcent.o             \
  45                 getservent.o            \
  46                 getspent.o              \
  47                 getuserattr.o           \
  48                 netmasks.o              \
  49                 nis_common.o
  50 
  51 # include common nsswitch library definitions.
  52 include         ../../Makefile.com
  53 
  54 # install this library in the root filesystem
  55 include ../../../Makefile.rootfs
  56 









  57 LINTFLAGS +=    -erroff=E_GLOBAL_COULD_BE_STATIC2
  58 LINTFLAGS64 +=  -erroff=E_GLOBAL_COULD_BE_STATIC2
  59 
  60 LDLIBS +=       -lnsl
  61 DYNLIB1 =       nss_nis.so$(VERS)


  37                 getnetent.o             \
  38                 getnetgrent.o           \
  39                 getprinter.o            \
  40                 getprofattr.o           \
  41                 getprojent.o            \
  42                 getprotoent.o           \
  43                 getpwnam.o              \
  44                 getrpcent.o             \
  45                 getservent.o            \
  46                 getspent.o              \
  47                 getuserattr.o           \
  48                 netmasks.o              \
  49                 nis_common.o
  50 
  51 # include common nsswitch library definitions.
  52 include         ../../Makefile.com
  53 
  54 # install this library in the root filesystem
  55 include ../../../Makefile.rootfs
  56 
  57 DYNLIB1 =       nss_nis.so$(VERS)
  58 
  59 COMPATLINKS=    /usr/lib/$(DYNLIB1)
  60 COMPATLINKS64=  /usr/lib/$(MACH64)/$(DYNLIB1)
  61 
  62 $(ROOT)/usr/lib/$(DYNLIB1) := COMPATLINKTARGET=../../lib/$(DYNLIB1)
  63 $(ROOT)/usr/lib/$(MACH64)/$(DYNLIB1):= \
  64         COMPATLINKTARGET=../../../lib/$(MACH64)/$(DYNLIB1)
  65 
  66 LINTFLAGS +=    -erroff=E_GLOBAL_COULD_BE_STATIC2
  67 LINTFLAGS64 +=  -erroff=E_GLOBAL_COULD_BE_STATIC2
  68 
  69 LDLIBS +=       -lnsl
  70