New Makefile
  1 # 
  2 #  CDDL HEADER START
  3 #
  4 #  The contents of this file are subject to the terms of the
  5 #  Common Development and Distribution License (the "License").
  6 #  You may not use this file except in compliance with the License.
  7 #
  8 #  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  9 #  or http://www.opensolaris.org/os/licensing.
 10 #  See the License for the specific language governing permissions
 11 #  and limitations under the License.
 12 #
 13 #  When distributing Covered Code, include this CDDL HEADER in each
 14 #  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
 15 #  If applicable, add the following below this CDDL HEADER, with the
 16 #  fields enclosed by brackets "[]" replaced with your own identifying
 17 #  information: Portions Copyright [yyyy] [name of copyright owner]
 18 #
 19 #  CDDL HEADER END
 20 #
 21 #
 22 
 23 
 24 #
 25 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 26 # Use is subject to license terms.
 27 #
 28 # cmd/Makefile
 29 #
 30 # include global definitions
 31 include ../Makefile.master
 32 
 33 #
 34 #       Commands in the FIRST_SUBDIRS list are built before starting the
 35 #       build of other commands. 
 36 #
 37 #       Commands are listed one per line so that TeamWare can
 38 #       auto-merge most changes.
 39 #
 40 #       Use of .WAIT is discouraged, use explicit dependencies instead.
 41 
 42 FIRST_SUBDIRS=
 43 
 44 # this list is not completely alphabetical because the largest packages
 45 # need to be started first
 46 
 47 
 48 COMMON_SUBDIRS= \
 49         automake \
 50         gnuplot \
 51         netpbm \
 52         xpdf \
 53         global \
 54         gettext \
 55         libtool \
 56         openslp \
 57         openldap \
 58         cups \
 59         cupsddk \
 60         cupsprint \
 61         pnm2ppa \
 62         ddd \
 63         ispell \
 64         vnc \
 65         mysql-connector-java \
 66         php \
 67         AfterStep \
 68         xemacs \
 69         emacs \
 70         emacspeak \
 71         unwindows \
 72         emacspeak-ss \
 73         yasr \
 74         ctags \
 75         diffutils \
 76         amanda \
 77         fetchmail \
 78         expect \
 79         file \
 80         gawk \
 81         gcal \
 82         groff \
 83         graphviz \
 84         lynx \
 85         mpage \
 86         mutt \
 87         nmh \
 88         procmail \
 89         rxvt \
 90         snort \
 91         sed \
 92         screen \
 93         screenbrltty \
 94         w3 \
 95         enscript \
 96         squid \
 97         vorbis-tools \
 98         uudeview \
 99         findutils \
100         coreutils \
101         plotutils \
102         sharutils \
103         tnef \
104         xcpustate \
105         xdelta \
106         xmms \
107         xpp \
108         asclock \
109         xterm \
110         pine \
111         ocaml \
112         xfce \
113         mpack \
114         imap \
115         sudo \
116         joe \
117         cvs \
118         top \
119         sgrep \
120         afio \
121         WindowMaker \
122         ruby \
123         sane \
124         fvwm \
125         xmcd \
126         tcpdump \
127         proftpd \
128         ethereal \
129         lablgtk \
130         stardic \
131         unison \
132         slrn \
133         rpm \
134         tetex 
135 
136 i386_SUBDIRS= 
137 
138 sparc_SUBDIRS=
139 
140 all :=          TARGET= all
141 install :=      TARGET= install
142 clean :=        TARGET= clean
143 clobber :=      TARGET= clobber
144 lint :=         TARGET= lint
145 
146 SUBDIRS = $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
147 
148 .PARALLEL:      $(SUBDIRS)
149 
150 all install clean clobber lint: $(FIRST_SUBDIRS) .WAIT $(SUBDIRS)
151 
152 $(FIRST_SUBDIRS) $(SUBDIRS): FRC
153         @cd $@; pwd; $(MAKE) $(MAKEFILE) $(TARGET)
154 
155 xpp:  cups
156 cupsddk:     cups
157 lablgtk:     ocaml
158 unison:      lablgtk
159 w3: emacs
160 xpp: cups
161 emacspeak: emacs
162 pine: openldap
163 amanda: gnuplot
164 rpm: automake
165 
166 FRC:
167