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         pnm2ppa \
 59         ddd \
 60         ispell \
 61         vnc \
 62         mysql-connector-java \
 63         php \
 64         AfterStep \
 65         xemacs \
 66         emacs \
 67         emacspeak \
 68         unwindows \
 69         emacspeak-ss \
 70         yasr \
 71         ctags \
 72         diffutils \
 73         amanda \
 74         fetchmail \
 75         expect \
 76         file \
 77         gawk \
 78         gcal \
 79         groff \
 80         graphviz \
 81         lynx \
 82         mpage \
 83         mutt \
 84         nmh \
 85         procmail \
 86         rxvt \
 87         snort \
 88         sed \
 89         screen \
 90         screenbrltty \
 91         w3 \
 92         enscript \
 93         squid \
 94         vorbis-tools \
 95         uudeview \
 96         findutils \
 97         coreutils \
 98         plotutils \
 99         sharutils \
100         tnef \
101         xcpustate \
102         xdelta \
103         xmms \
104         asclock \
105         xterm \
106         pine \
107         ocaml \
108         xfce \
109         mpack \
110         imap \
111         sudo \
112         joe \
113         cvs \
114         top \
115         sgrep \
116         afio \
117         WindowMaker \
118         ruby \
119         sane \
120         fvwm \
121         xmcd \
122         tcpdump \
123         proftpd \
124         ethereal \
125         lablgtk \
126         stardic \
127         unison \
128         slrn \
129         rpm \
130         tetex 
131 
132 i386_SUBDIRS= 
133 
134 sparc_SUBDIRS=
135 
136 all :=          TARGET= all
137 install :=      TARGET= install
138 clean :=        TARGET= clean
139 clobber :=      TARGET= clobber
140 lint :=         TARGET= lint
141 
142 SUBDIRS = $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
143 
144 .PARALLEL:      $(SUBDIRS)
145 
146 all install clean clobber lint: $(FIRST_SUBDIRS) .WAIT $(SUBDIRS)
147 
148 $(FIRST_SUBDIRS) $(SUBDIRS): FRC
149         @cd $@; pwd; $(MAKE) $(MAKEFILE) $(TARGET)
150 
151 lablgtk:     ocaml
152 unison:      lablgtk
153 w3: emacs
154 emacspeak: emacs
155 pine: openldap
156 amanda: gnuplot
157 rpm: automake
158 
159 FRC:
160