Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build


  27 PROG =          $(NETYPPROG)
  28 
  29 MANIFEST = passwd.xml
  30 
  31 include ../../Makefile.cmd
  32 
  33 ROOTMANIFESTDIR = $(ROOTSVCNETWORKNIS)
  34 
  35 #installed directories
  36 RPCSVC=         $(ROOT)/usr/include/rpcsvc
  37 NETSVC =        $(ROOTLIB)/netsvc
  38 NETYP =         $(NETSVC)/yp
  39 ROOTDIRS =      $(NETSVC) $(NETYP)
  40 
  41 # include library definitions
  42 #LDLIBS +=      -lrpcsvc -lnsl -lcrypt -lintl -lgen
  43 LDLIBS +=       -lnsl -lnisdb -lc
  44 MAPFILES =      $(MAPFILE.INT) $(MAPFILE.NGB)
  45 LDFLAGS +=      $(MAPFILES:%=-M%)
  46 









  47 # Pick up includes from library
  48 CPPFLAGS += -I$(SRC)/lib/libnisdb/yptol
  49 
  50 # This file is now in the $(SRC)/head/rpcsvc directory.
  51 #HDRFILE= yppasswd.h
  52 #IHDRFILE= $(HDRFILE:%=$(RPCSVC)/%)
  53 
  54 INETYPPROG=             $(NETYPPROG:%=$(NETYP)/%)
  55 
  56 COMMONOBJ =             yppasswdxdr.o yplckpwdf.o
  57 RPCYPPASSWDDOBJ =       yppasswdd.o changepasswd.o
  58 
  59 CERRWARN +=             -_gcc=-Wno-implicit-function-declaration
  60 CERRWARN +=             -_gcc=-Wno-parentheses
  61 CERRWARN +=             -_gcc=-Wno-uninitialized
  62 
  63 #
  64 # Objects shared between all the major components
  65 #
  66 SHAREDOBJ= ../shared/utils.o ../shared/lockmap.o ../shared/ancil.o




  27 PROG =          $(NETYPPROG)
  28 
  29 MANIFEST = passwd.xml
  30 
  31 include ../../Makefile.cmd
  32 
  33 ROOTMANIFESTDIR = $(ROOTSVCNETWORKNIS)
  34 
  35 #installed directories
  36 RPCSVC=         $(ROOT)/usr/include/rpcsvc
  37 NETSVC =        $(ROOTLIB)/netsvc
  38 NETYP =         $(NETSVC)/yp
  39 ROOTDIRS =      $(NETSVC) $(NETYP)
  40 
  41 # include library definitions
  42 #LDLIBS +=      -lrpcsvc -lnsl -lcrypt -lintl -lgen
  43 LDLIBS +=       -lnsl -lnisdb -lc
  44 MAPFILES =      $(MAPFILE.INT) $(MAPFILE.NGB)
  45 LDFLAGS +=      $(MAPFILES:%=-M%)
  46 
  47 # This links with libnisdb, and thus is 'C++', but is otherwise entirely C.  A
  48 # result of this is that it probably doesn't _actually_ use the C++ runtime, but
  49 # may in future (depending on compiler implementation)
  50 #
  51 # Give up.
  52 ZGUIDANCE= -zguidance=nounused
  53 
  54 $(__SUNC)ADJUNCT_LIBS = libC.so
  55 
  56 # Pick up includes from library
  57 CPPFLAGS += -I$(SRC)/lib/libnisdb/yptol
  58 
  59 # This file is now in the $(SRC)/head/rpcsvc directory.
  60 #HDRFILE= yppasswd.h
  61 #IHDRFILE= $(HDRFILE:%=$(RPCSVC)/%)
  62 
  63 INETYPPROG=             $(NETYPPROG:%=$(NETYP)/%)
  64 
  65 COMMONOBJ =             yppasswdxdr.o yplckpwdf.o
  66 RPCYPPASSWDDOBJ =       yppasswdd.o changepasswd.o
  67 
  68 CERRWARN +=             -_gcc=-Wno-implicit-function-declaration
  69 CERRWARN +=             -_gcc=-Wno-parentheses
  70 CERRWARN +=             -_gcc=-Wno-uninitialized
  71 
  72 #
  73 # Objects shared between all the major components
  74 #
  75 SHAREDOBJ= ../shared/utils.o ../shared/lockmap.o ../shared/ancil.o