130
131 COMMONSRC = $(COMMONOBJ:.o=.c)
132
133 #COMMONCLNTSRC = $(COMMONCLNTOBJ:.o=.c)
134
135 SRCS = $(BINSRC) $(SBINSRC) $(NETYPSRC) \
136 $(COMMONSRC) $(SHAREDSRC)
137
138 CLEANFILES = ypxfrd.h ypxfrd_xdr.c
139
140 IBINPROG= $(BINPROG:%=$(ROOTBIN)/%)
141 ISBINPROG= $(SBINPROG:%=$(ROOTUSRSBIN)/%)
142 INETYPPROG= $(NETYPPROG:%=$(NETYP)/%)
143 INIS2LDAPPROG = $(NIS2LDAPPROG:%=$(NETYP)/%)
144
145 NIS2LDAPINC = -I$(SRC)/lib/libnisdb/yptol
146
147 CERRWARN += -_gcc=-Wno-implicit-function-declaration
148 CERRWARN += -_gcc=-Wno-parentheses
149 CERRWARN += -_gcc=-Wno-unused-variable
150 CERRWARN += -_gcc=-Wno-uninitialized
151 CERRWARN += -_gcc=-Wno-switch
152 CERRWARN += -_gcc=-Wno-extra
153 CERRWARN += -_gcc=-Wno-unused-label
154 CERRWARN += -_gcc=-Wno-address
155 CERRWARN += -_gcc=-Wno-unused-function
156
157 # too many unknown types
158 SMATCH = off
159
160 #conditional assignments
161 ypalias.o := CPPFLAGS= -DMAIN $(CPPFLAGS.master)
162 makedbm.o := CPPFLAGS= $(CPPFLAGS.master)
163 yp_b_svc.o := CPPFLAGS += -DINIT_DEFAULT
164 ypxfrd_svc.o := CPPFLAGS += -Dmain=_main
165 ypxfr.o := CPPFLAGS += $(NIS2LDAPINC)
166 yppush.o := CPPFLAGS += $(NIS2LDAPINC)
167 $(NIS2LDAPPROG) := CPPFLAGS += $(NIS2LDAPINC)
168 $(SHAREDOBJ) := CPPFLAGS += -I$(SRC)/lib/libnisdb/yptol
169 $(ROOTVAR_YP)/Makefile := FILEMODE= 555
170 $(ROOTVAR_YP)/nicknames := FILEMODE= 644
|
130
131 COMMONSRC = $(COMMONOBJ:.o=.c)
132
133 #COMMONCLNTSRC = $(COMMONCLNTOBJ:.o=.c)
134
135 SRCS = $(BINSRC) $(SBINSRC) $(NETYPSRC) \
136 $(COMMONSRC) $(SHAREDSRC)
137
138 CLEANFILES = ypxfrd.h ypxfrd_xdr.c
139
140 IBINPROG= $(BINPROG:%=$(ROOTBIN)/%)
141 ISBINPROG= $(SBINPROG:%=$(ROOTUSRSBIN)/%)
142 INETYPPROG= $(NETYPPROG:%=$(NETYP)/%)
143 INIS2LDAPPROG = $(NIS2LDAPPROG:%=$(NETYP)/%)
144
145 NIS2LDAPINC = -I$(SRC)/lib/libnisdb/yptol
146
147 CERRWARN += -_gcc=-Wno-implicit-function-declaration
148 CERRWARN += -_gcc=-Wno-parentheses
149 CERRWARN += -_gcc=-Wno-unused-variable
150 CERRWARN += $(CNOWARN_UNINIT)
151 CERRWARN += -_gcc=-Wno-switch
152 CERRWARN += -_gcc=-Wno-extra
153 CERRWARN += -_gcc=-Wno-unused-label
154 CERRWARN += -_gcc=-Wno-address
155 CERRWARN += -_gcc=-Wno-unused-function
156
157 # too many unknown types
158 SMATCH = off
159
160 #conditional assignments
161 ypalias.o := CPPFLAGS= -DMAIN $(CPPFLAGS.master)
162 makedbm.o := CPPFLAGS= $(CPPFLAGS.master)
163 yp_b_svc.o := CPPFLAGS += -DINIT_DEFAULT
164 ypxfrd_svc.o := CPPFLAGS += -Dmain=_main
165 ypxfr.o := CPPFLAGS += $(NIS2LDAPINC)
166 yppush.o := CPPFLAGS += $(NIS2LDAPINC)
167 $(NIS2LDAPPROG) := CPPFLAGS += $(NIS2LDAPINC)
168 $(SHAREDOBJ) := CPPFLAGS += -I$(SRC)/lib/libnisdb/yptol
169 $(ROOTVAR_YP)/Makefile := FILEMODE= 555
170 $(ROOTVAR_YP)/nicknames := FILEMODE= 644
|