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.83    09/07/07 SMI"
  27 #
  28 
  29 #
  30 # lib/Makefile
  31 #
  32 
  33 # include global definitions
  34 include ../Makefile.master
  35 
  36 #
  37 # Certain libraries are linked with, hence depend on, other libraries.
  38 #
  39 # Although we have historically used .WAIT to express dependencies, it
  40 # reduces the amount of parallelism and thus lengthens the time it
  41 # takes to build the libraries.  Thus, we now require that any new
  42 # libraries explicitly call out their dependencies.
  43 #
  44 # Aside from explicit dependencies all libraries are built in parallel.
  45 #
  46 .PARALLEL:
  47 
  48 COMMON_SUBDIRS= \
  49         aalib   \
  50         activation \
  51         antlr2  \
  52         ant     \
  53         stringtemplate  \
  54         antlr   \
  55         cglib   \
  56         commons-collections     \
  57         dom4j   \
  58         fastcgi \
  59         glib    \
  60         gtk+    \
  61         gd2     \
  62         gdbm    \
  63         gnump   \
  64         idn     \
  65         ilmbase \
  66         pcre    \
  67         curl    \
  68         janino  \
  69         jarjar  \
  70         jaxb    \
  71         jaxen-core      \
  72         jdom    \
  73         jdtcore \
  74         jettison        \
  75         joda-time       \
  76         junit   \
  77         jxl     \
  78         mvel    \
  79         objectasm       \
  80         relaxngDatatype \
  81         tcl     \
  82         tk      \
  83         xpp3-min        \
  84         zlib    \
  85         fftw2   \
  86         fftw3   \
  87         javamail \
  88         libconfuse \
  89         libxml2 \
  90         libxslt \
  91         libexpat \
  92         libneon \
  93         libusb \
  94         libusbugen \
  95         lcms \
  96         libedit \
  97         libevent \
  98         libmcrypt \
  99         libmemcached \
 100         libmng \
 101         libnet \
 102         libpcap \
 103         libosip2 \
 104         librsync \
 105         libsigsegv \
 106         libsndfile \
 107         libtorrent \
 108         libxmlrpc-c \
 109         logilab-common \
 110         log4j \
 111         logilab-astng \
 112         memcached \
 113         memcached-java \
 114         mpfr \
 115         pmdbi \
 116         pull-parser \
 117         slang \
 118         tidy \
 119         usb_ccid_ifd \
 120         wxwidgets \
 121         xom \
 122         xsdlib \
 123         xstream \
 124         drools  \
 125         sblim \
 126         imperius \
 127         slib \
 128         readline \
 129         openexr \
 130         openssl \
 131         openusb \
 132         pam_pkcs11 \
 133         perl_net_ssleay \
 134         pyopenssl \
 135         python26-pyopenssl \
 136         saaj \
 137         sane-backends \
 138         snack \
 139         sqlite3 \
 140         tcltls \
 141         trousers \
 142         unixodbc \
 143         wiseman
 144 
 145 sparc_SUBDIRS= 
 146 
 147 i386_SUBDIRS=
 148 
 149 SUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
 150 
 151 all :=          TARGET= all
 152 install :=      TARGET= install
 153 install_h :=    TARGET= install_h
 154 clean :=        TARGET= clean
 155 clobber :=      TARGET= clobber
 156 lint :=         TARGET= lint
 157 meta-check :=           TARGET= meta-check
 158 component-hook :=       TARGET= component-hook
 159 
 160 install_h all install clean clobber meta-check component-hook: $(SUBDIRS)
 161 
 162 $(SUBDIRS): FRC
 163         @cd $@; echo "$(TARGET) \c"; pwd; $(MAKE) $(MAKEFILE) $(TARGET)
 164 
 165 tk: tcl
 166 gtk+: glib tk
 167 libneon: openssl zlib libxml2
 168 libxslt: libxml2
 169 usb_ccid_ifd: libusb libusbugen
 170 libusbugen: libusb
 171 curl: openssl zlib idn
 172 libxmlrpc-c: curl
 173 memcached: libevent
 174 sqlite3: tcl
 175 lcms: zlib
 176 libmng: lcms
 177 mpfr: gnump
 178 slang: pcre zlib
 179 snack: tcl tk
 180 tcltls: openssl tcl
 181 openexr: ilmbase
 182 imperius: antlr2 sblim
 183 xom: jaxen-core
 184 jaxb: activation
 185 saaj: activation
 186 ant: antlr2
 187 antlr: antlr2 ant
 188 stringtemplate: antlr2 ant
 189 drools: xstream jdtcore mvel janino jxl junit antlr
 190 wiseman: saaj jaxb
 191 trousers: openssl
 192 pam_pkcs11: openssl
 193 perl_net_ssleay: openssl
 194 pyopenssl: openssl
 195 python26-pyopenssl: openssl
 196 
 197 
 198 FRC: