43 include ../Makefile.cmd
44
45 ROOTMANIFESTDIR = $(ROOTSVCNETWORKNIS)
46
47 # installed directories
48 NETSVC = $(ROOTLIB)/netsvc
49 NETYP = $(NETSVC)/yp
50
51 ROOTVAR_YP = $(ROOT)/var/yp
52 ROOTBINDING = $(ROOTVAR_YP)/binding
53 ROOTDIRS = $(ROOT) $(ROOTUSR) $(ROOTLIB) $(ROOTETC) $(ROOTVAR) \
54 $(NETSVC) $(NETYP) $(ROOTVAR_YP) $(ROOTBINDING) \
55 $(ROOTUSRSBIN) $(ROOTBIN)
56
57 $(LNSLPROG) := LDLIBS += -lnsl
58 $(NIS2LDAPPROG) := LDLIBS += -lc -lnsl -lnisdb
59 stdethers := LDLIBS += -lsocket
60 makedbm := MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
61 makedbm := LDFLAGS += $(MAPFILES:%=-M%)
62
63 $(ROOTVAR_YP)/aliases := FILEMODE=555
64
65 YPFILES = Makefile aliases nicknames updaters
66 ETCFILES = publickey
67 ROOTYPFILES= $(YPFILES:%=$(ROOTVAR_YP)/%)
68 ROOTETCFILE= $(ETCFILES:%=$(ROOTETC)/%)
69
70 TXTS= $(ETCFILES:%=net_files/%) $(YPFILES:%=net_files/%)
71 SUBDIRS = yppasswd mknetid revnetgroup ypupdated yp2lscripts
72
73 YPBINDOBJ= yp_b_svc.o yp_b_subr.o rpc_bootstrap.o getlist.o
74 #
75 # Some sort of obsolete idea of common files which are only now used by a
76 # few minor utilities
77 #
78 COMMONOBJ= getlist.o yp_getalias.o
79
80 #
81 # Objects shared between all the major components
82 #
|
43 include ../Makefile.cmd
44
45 ROOTMANIFESTDIR = $(ROOTSVCNETWORKNIS)
46
47 # installed directories
48 NETSVC = $(ROOTLIB)/netsvc
49 NETYP = $(NETSVC)/yp
50
51 ROOTVAR_YP = $(ROOT)/var/yp
52 ROOTBINDING = $(ROOTVAR_YP)/binding
53 ROOTDIRS = $(ROOT) $(ROOTUSR) $(ROOTLIB) $(ROOTETC) $(ROOTVAR) \
54 $(NETSVC) $(NETYP) $(ROOTVAR_YP) $(ROOTBINDING) \
55 $(ROOTUSRSBIN) $(ROOTBIN)
56
57 $(LNSLPROG) := LDLIBS += -lnsl
58 $(NIS2LDAPPROG) := LDLIBS += -lc -lnsl -lnisdb
59 stdethers := LDLIBS += -lsocket
60 makedbm := MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
61 makedbm := LDFLAGS += $(MAPFILES:%=-M%)
62
63 # These things link with libnisdb, and thus are 'C++', but are otherwise
64 # entirely C. A result of this is they probably don't _actually_ use the C++
65 # runtime, but may in future (depending on compiler implementation)
66 #
67 # Give up.
68 ypxfr := ZGUIDANCE= -zguidance=nounused
69 ypxfrd := ZGUIDANCE= -zguidance=nounused
70 ypserv := ZGUIDANCE= -zguidance=nounused
71
72 $(__SUNC)ypxfr := ADJUNCT_LIBS = libC.so
73 $(__SUNC)ypxfrd := ADJUNCT_LIBS = libC.so
74 $(__SUNC)ypserv := ADJUNCT_LIBS = libC.so
75
76 $(ROOTVAR_YP)/aliases := FILEMODE=555
77
78 YPFILES = Makefile aliases nicknames updaters
79 ETCFILES = publickey
80 ROOTYPFILES= $(YPFILES:%=$(ROOTVAR_YP)/%)
81 ROOTETCFILE= $(ETCFILES:%=$(ROOTETC)/%)
82
83 TXTS= $(ETCFILES:%=net_files/%) $(YPFILES:%=net_files/%)
84 SUBDIRS = yppasswd mknetid revnetgroup ypupdated yp2lscripts
85
86 YPBINDOBJ= yp_b_svc.o yp_b_subr.o rpc_bootstrap.o getlist.o
87 #
88 # Some sort of obsolete idea of common files which are only now used by a
89 # few minor utilities
90 #
91 COMMONOBJ= getlist.o yp_getalias.o
92
93 #
94 # Objects shared between all the major components
95 #
|