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 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 # ident "@(#)Makefile   1.183   09/10/26 SMI"
  27 #
  28 
  29 #
  30 # cmd/Makefile
  31 #
  32 # include global definitions
  33 include ../Makefile.master
  34 
  35 #       Commands are listed one per line so that TeamWare can
  36 #       auto-merge most changes.
  37 #
  38 #       Note that some commands are first in the list, violating
  39 #       alphabetical order.  This is because they are very long-running
  40 #       and should be given the most wall-clock time for a parallel build.
  41 
  42 COMMON_SUBDIRS= \
  43         gcc \
  44         binutils \
  45         a2ps \
  46         aget \
  47         apr/apr-1.3 \
  48         apr-util/apr-util-1.3 \
  49         apache \
  50         apache2 \
  51         apache2-modperl \
  52         areca \
  53         autoconf \
  54         automake/automake-1.9.6 \
  55         automake/automake-1.10 \
  56         autogen \
  57         awstats \
  58         bash \
  59         bcc \
  60         beanshell \
  61         bind \
  62         bison \
  63         bonnieplus \
  64         bvi \
  65         bwm-ng \
  66         bzip2 \
  67         cimserver \
  68         clisp \
  69         cmake \
  70         conflict \
  71         conman \
  72         convmv \
  73         coreutils \
  74         cvs \
  75         cups \
  76         diffstat \
  77         diffutils \
  78         doxygen \
  79         dosbox \
  80         dwdiff \
  81         ejabberd \
  82         elinks \
  83         emacs \
  84         epydoc \
  85         erlang \
  86         expect \
  87         fakeroot \
  88         fetchmail \
  89         foomatic-db \
  90         foomatic-db-engine \
  91         foomatic-filters \
  92         foomatic-ppd \
  93         freeipmi \
  94         guile \
  95         gutenprint \
  96         flex \
  97         fping \
  98         gawk \
  99         gdb \
 100         gettext \
 101         grails \
 102         gpatch \
 103         ggrep \
 104         ghostscript \
 105         git \
 106         gm4 \
 107         gmake \
 108         gnu-gperf \
 109         gnu-gs-fonts-other \
 110         gnu-gs-fonts-std \
 111         gocr \
 112         gsed \
 113         gtar \
 114         gvim \
 115         gzip \
 116         hal-cups-utils \
 117         hexedit \
 118         hplip \
 119         httping \
 120         idzebra \
 121         iftop \
 122         ImageMagick \
 123         iozone \
 124         iperf \
 125         ipmitool \
 126         ircii \
 127         jedit \
 128         jruby \
 129         konkretcmpi \
 130         lablgtk \
 131         less \
 132         lftp \
 133         libtool \
 134         lighttpd14 \
 135         links \
 136         logrotate \
 137         lua \
 138         mc \
 139         meld \
 140         mercurial \
 141         mrtg \
 142         mrxvt \
 143         mtx \
 144         cdrtools \
 145         dvd+rw-tools \
 146         mutt \
 147         mysql \
 148         mysql-5-0 \
 149         mysql-5-1 \
 150         mysql-5-0-jdbc \
 151         nano \
 152         ncftp \
 153         nethack \
 154         net-snmp \
 155         nmap \
 156         ntpd \
 157         ocaml \
 158         openldap \
 159         openwsman \
 160         p7zip \
 161         patchutils \
 162         pconsole \
 163         pdsh \
 164         pen \
 165         perl510 \
 166         perl-pmtools \
 167         php5 \
 168         postgres/libpgtcl \
 169         postgres/libpqxx \
 170         postgres/pgadmin \
 171         postgres/pgagent \
 172         postgres/pmdbdpg \
 173         postgres/pgbouncer \
 174         postgres/postgresql-8.2 \
 175         postgres/postgresql-8.2-tcl \
 176         postgres/postgresql-8.2-jdbc \
 177         postgres/postgresql-8.3 \
 178         postgres/postgresql-8.3-tcl \
 179         postgres/postgresql-8.4 \
 180         postgres/postgresql-common \
 181         postgres/postgresql-upgrade \
 182         postgres/postgresql-jdbc \
 183         powerman \
 184         privoxy \
 185         procmail \
 186         psutils \
 187         pv \
 188         pycups \
 189         pylint \
 190         pwgen \
 191         quagga \
 192         quilt \
 193         rdiff-backup \
 194         rpm2cpio \
 195         rsync \
 196         rtorrent \
 197         ruby18 \
 198         samba \
 199         sane-frontends \
 200         sblim-wbemcli \
 201         screen \
 202         ser \
 203         serweb \
 204         sg3_utils \
 205         shmux \
 206         simplewbem \
 207         slrn \
 208         snort \
 209         sox \
 210         squid \
 211         stunnel \
 212         subversion \
 213         sudo \
 214         swig \
 215         sysbench \
 216         tcsh \
 217         texinfo \
 218         texi2html \
 219         tomcat \
 220         top \
 221         tor \
 222         tree \
 223         unrar \
 224         unzip \
 225         unison \
 226         vim \
 227         webalizer \
 228         webmin \
 229         wget \
 230         which \
 231         wireshark \
 232         zip \
 233         zsh
 234 
 235 i386_SUBDIRS= \
 236         acpidump
 237 
 238 sparc_SUBDIRS=
 239 
 240 all :=          TARGET= all
 241 install :=      TARGET= install
 242 clean :=        TARGET= clean
 243 clobber :=      TARGET= clobber
 244 lint :=         TARGET= lint
 245 meta-check :=           TARGET= meta-check
 246 component-hook :=       TARGET= component-hook
 247 
 248 SUBDIRS = $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
 249 
 250 .PARALLEL:      $(SUBDIRS)
 251 
 252 all install clean clobber lint meta-check component-hook: $(FIRST_SUBDIRS) .WAIT $(SUBDIRS)
 253 
 254 $(FIRST_SUBDIRS) $(SUBDIRS): FRC
 255         @cd $@; echo "$(TARGET) \c"; pwd; $(MAKE) $(MAKEFILE) $(TARGET)
 256 
 257 
 258 foomatic-filters:       cups
 259 gutenprint:     cups
 260 hplip:          cups ghostscript
 261 ghostscript:    cups
 262 samba:          cups
 263 pycups:         cups
 264 hal-cups-utils:         cups pycups
 265 a2ps:   psutils ImageMagick
 266 foomatic-ppd:   gutenprint
 267 foomatic-db-engine:     foomatic-db
 268 ser:    mysql
 269 apr-util/apr-util-1.3: apr/apr-1.3 mysql-5-1 postgres/postgresql-8.3
 270 apache2: apr-util/apr-util-1.3
 271 apache2-modperl: apache2
 272 postgres/libpgtcl: postgres/postgresql-common
 273 postgres/libpqxx: postgres/postgresql-common
 274 postgres/postgresql-8.2-tcl: postgres/postgresql-8.2
 275 postgres/postgresql-8.3-tcl: postgres/postgresql-8.3
 276 postgres/postgresql-common: postgres/postgresql-8.4
 277 postgres/postgresql-upgrade: postgres/postgresql-8.2
 278 postgres/pgadmin: postgres/postgresql-8.2 postgres/pgagent
 279 postgres/pgagent: postgres/postgresql-8.2
 280 postgres/pmdbdpg: postgres/postgresql-8.2
 281 subversion: apache2 swig
 282 php5: apache2 mysql-5-1 postgres/postgresql-8.3
 283 simplewbem: cimserver
 284 konkretcmpi: cimserver
 285 lighttpd14: mysql-5-1
 286 guile: libtool
 287 autogen: guile
 288 net-snmp: doxygen
 289 sysbench: mysql-5-1
 290 
 291 FRC: