73 INSSBINPROG= $(SBINPROG:%=$(ROOTUSRSBIN)/%)
74 INSSKELFILE= $(SKELFILE:%=$(ROOTSKEL)/%)
75
76 CPPFLAGS= -I$(HERE) -I$(LOCAL) $(CPPFLAGS.master)
77 CERRWARN += -_gcc=-Wno-implicit-function-declaration
78
79 $(INSSBINPROG) := FILEMODE = 0555
80 $(INSSYSADMPROG):= FILEMODE = 0500
81 $(INSSKELFILE) := FILEMODE = 0644
82
83 $(USERADD) := OBJS = $(ADD_OBJ)
84 $(USERADD) := LIBS = $(LIBUSRGRP)
85 $(USERADD) := LDLIBS += -lcmdutils
86
87 $(USERDEL) := OBJS = $(DEL_OBJ)
88 $(USERDEL) := LIBS = $(LIBUSRGRP)
89
90 $(USERMOD) := OBJS = $(MOD_OBJ)
91 $(USERMOD) := LIBS = $(LIBUSRGRP)
92
93 LDLIBS += -lbsm -lnsl -lsecdb -lproject -lzfs -ltsol
94
95 .PARALLEL: $(OBJECTS)
96
97 all: $(PRODUCT)
98
99 $(PROG): $$(OBJS) $$(LIBS)
100 $(LINK.c) $(OBJS) -o $@ $(LIBS) $(LDLIBS)
101 $(POST_PROCESS)
102
103 $(USERADD): $(ADD_OBJ)
104 $(USERMOD): $(MOD_OBJ)
105 $(USERDEL): $(DEL_OBJ)
106
107 install: all $(ROOTETCDEFAULTFILES) .WAIT \
108 $(ROOTSKEL) $(INSSBINPROG) $(INSSKELFILE)
109 $(RM) $(ROOTUSRSBIN)/$(ROLEADD)
110 $(LN) $(ROOTUSRSBIN)/$(USERADD) $(ROOTUSRSBIN)/$(ROLEADD)
111 $(RM) $(ROOTUSRSBIN)/$(ROLEDEL)
112 $(LN) $(ROOTUSRSBIN)/$(USERDEL) $(ROOTUSRSBIN)/$(ROLEDEL)
113 $(RM) $(ROOTUSRSBIN)/$(ROLEMOD)
|
73 INSSBINPROG= $(SBINPROG:%=$(ROOTUSRSBIN)/%)
74 INSSKELFILE= $(SKELFILE:%=$(ROOTSKEL)/%)
75
76 CPPFLAGS= -I$(HERE) -I$(LOCAL) $(CPPFLAGS.master)
77 CERRWARN += -_gcc=-Wno-implicit-function-declaration
78
79 $(INSSBINPROG) := FILEMODE = 0555
80 $(INSSYSADMPROG):= FILEMODE = 0500
81 $(INSSKELFILE) := FILEMODE = 0644
82
83 $(USERADD) := OBJS = $(ADD_OBJ)
84 $(USERADD) := LIBS = $(LIBUSRGRP)
85 $(USERADD) := LDLIBS += -lcmdutils
86
87 $(USERDEL) := OBJS = $(DEL_OBJ)
88 $(USERDEL) := LIBS = $(LIBUSRGRP)
89
90 $(USERMOD) := OBJS = $(MOD_OBJ)
91 $(USERMOD) := LIBS = $(LIBUSRGRP)
92
93 LDLIBS += -luserdefs -lbsm -lnsl -lsecdb -lproject -lzfs -ltsol
94
95 .PARALLEL: $(OBJECTS)
96
97 all: $(PRODUCT)
98
99 $(PROG): $$(OBJS) $$(LIBS)
100 $(LINK.c) $(OBJS) -o $@ $(LIBS) $(LDLIBS)
101 $(POST_PROCESS)
102
103 $(USERADD): $(ADD_OBJ)
104 $(USERMOD): $(MOD_OBJ)
105 $(USERDEL): $(DEL_OBJ)
106
107 install: all $(ROOTETCDEFAULTFILES) .WAIT \
108 $(ROOTSKEL) $(INSSBINPROG) $(INSSKELFILE)
109 $(RM) $(ROOTUSRSBIN)/$(ROLEADD)
110 $(LN) $(ROOTUSRSBIN)/$(USERADD) $(ROOTUSRSBIN)/$(ROLEADD)
111 $(RM) $(ROOTUSRSBIN)/$(ROLEDEL)
112 $(LN) $(ROOTUSRSBIN)/$(USERDEL) $(ROOTUSRSBIN)/$(ROLEDEL)
113 $(RM) $(ROOTUSRSBIN)/$(ROLEMOD)
|