Print this page
Want projadd, projdel and projmod in C.

*** 17,57 **** # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # ! # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # cmd/projadd/Makefile # include ../Makefile.cmd ! PROGS= projadd projmod projdel ! USRSBINPROGS= $(PROGS:%=$(ROOTUSRSBIN)/%) ! POFILES= $(PROGS:%=%.po) ! # No msg catalog here. ! POFILE= - CLOBBERFILES += $(PROGS) - .KEEP_STATE: ! all: $(PROGS) ! install : all .WAIT $(USRSBINPROGS) ! clean lint: ! ! _msg: $(MSGDOMAIN) $(POFILES) ! $(CP) $(POFILES) $(MSGDOMAIN) ! ! $(MSGDOMAIN): ! $(INS.dir) ! ! clobber: clean ! $(RM) $(PROG) $(CLOBBERFILES) ! ! $(ROOTUSRSBIN)/% : % ! $(INS.file) --- 17,46 ---- # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # ! # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # cmd/projadd/Makefile # include ../Makefile.cmd ! SUBDIRS= projadd projmod projdel projtest ! all := TARGET = all ! install := TARGET = install ! clean := TARGET = clean ! clobber := TARGET = clobber ! lint := TARGET = lint ! _msg := TARGET = _msg .KEEP_STATE: ! all install lint clean clobber _msg: $(SUBDIRS) ! $(SUBDIRS): FRC ! @cd $@; pwd; $(MAKE) $(MFLAGS) $(TARGET) ! FRC: