42 # include library definitions
43 #LDLIBS += -lrpcsvc -lnsl -lcrypt -lintl -lgen
44 LDLIBS += -lnsl -lnisdb -lc
45 MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
46 LDFLAGS += $(MAPFILES:%=-M%)
47
48 # Pick up includes from library
49 CPPFLAGS += -I$(SRC)/lib/libnisdb/yptol
50
51 # This file is now in the $(SRC)/head/rpcsvc directory.
52 #HDRFILE= yppasswd.h
53 #IHDRFILE= $(HDRFILE:%=$(RPCSVC)/%)
54
55 INETYPPROG= $(NETYPPROG:%=$(NETYP)/%)
56
57 COMMONOBJ = yppasswdxdr.o yplckpwdf.o
58 RPCYPPASSWDDOBJ = yppasswdd.o changepasswd.o
59
60 CERRWARN += -_gcc=-Wno-implicit-function-declaration
61 CERRWARN += -_gcc=-Wno-parentheses
62 CERRWARN += -_gcc=-Wno-uninitialized
63
64 # not linted
65 SMATCH=off
66
67 #
68 # Objects shared between all the major components
69 #
70 SHAREDOBJ= ../shared/utils.o ../shared/lockmap.o ../shared/ancil.o
71
72 OBJS = $(RPCYPPASSWDDOBJ) \
73 $(COMMONOBJ)
74 # $(YPPWCONVOBJ) $(YPPASSMGMTOBJ)
75
76 SRCS = $(OBJS:%.o=%.c)
77
78 #conditional assignments
79 $(INETSVC) := FILEMODE=555
80
81 $(ETCDFLTFILE) := FILEMODE=0444
82
|
42 # include library definitions
43 #LDLIBS += -lrpcsvc -lnsl -lcrypt -lintl -lgen
44 LDLIBS += -lnsl -lnisdb -lc
45 MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
46 LDFLAGS += $(MAPFILES:%=-M%)
47
48 # Pick up includes from library
49 CPPFLAGS += -I$(SRC)/lib/libnisdb/yptol
50
51 # This file is now in the $(SRC)/head/rpcsvc directory.
52 #HDRFILE= yppasswd.h
53 #IHDRFILE= $(HDRFILE:%=$(RPCSVC)/%)
54
55 INETYPPROG= $(NETYPPROG:%=$(NETYP)/%)
56
57 COMMONOBJ = yppasswdxdr.o yplckpwdf.o
58 RPCYPPASSWDDOBJ = yppasswdd.o changepasswd.o
59
60 CERRWARN += -_gcc=-Wno-implicit-function-declaration
61 CERRWARN += -_gcc=-Wno-parentheses
62 CERRWARN += $(CNOWARN_UNINIT)
63
64 # not linted
65 SMATCH=off
66
67 #
68 # Objects shared between all the major components
69 #
70 SHAREDOBJ= ../shared/utils.o ../shared/lockmap.o ../shared/ancil.o
71
72 OBJS = $(RPCYPPASSWDDOBJ) \
73 $(COMMONOBJ)
74 # $(YPPWCONVOBJ) $(YPPASSMGMTOBJ)
75
76 SRCS = $(OBJS:%.o=%.c)
77
78 #conditional assignments
79 $(INETSVC) := FILEMODE=555
80
81 $(ETCDFLTFILE) := FILEMODE=0444
82
|