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

@@ -17,41 +17,30 @@
 # information: Portions Copyright [yyyy] [name of copyright owner]
 #
 # CDDL HEADER END
 #
 #
-# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2006 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)
+SUBDIRS=        projadd projmod projdel projtest
 
-# No msg catalog here.
-POFILE=
+all :=          TARGET = all
+install :=      TARGET = install
+clean :=        TARGET = clean
+clobber :=      TARGET = clobber
+lint :=         TARGET = lint
+_msg :=         TARGET = _msg
 
-CLOBBERFILES += $(PROGS)
-
 .KEEP_STATE:
 
-all: $(PROGS)
+all install lint clean clobber _msg: $(SUBDIRS)
 
-install : all .WAIT $(USRSBINPROGS)
+$(SUBDIRS): FRC
+        @cd $@; pwd; $(MAKE) $(MFLAGS) $(TARGET)
 
-clean lint:
-
-_msg: $(MSGDOMAIN) $(POFILES)
-        $(CP) $(POFILES) $(MSGDOMAIN)
-
-$(MSGDOMAIN):
-        $(INS.dir)
-
-clobber: clean
-        $(RM) $(PROG) $(CLOBBERFILES)
-
-$(ROOTUSRSBIN)/% : %
-        $(INS.file)
+FRC: