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.84 09/07/17 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 libyaz \ 110 logilab-common \ 111 log4j \ 112 logilab-astng \ 113 memcached \ 114 memcached-java \ 115 mpfr \ 116 pmdbi \ 117 pull-parser \ 118 slang \ 119 tidy \ 120 usb_ccid_ifd \ 121 wxwidgets \ 122 xom \ 123 xsdlib \ 124 xstream \ 125 drools \ 126 sblim \ 127 imperius \ 128 slib \ 129 readline \ 130 openexr \ 131 openssl \ 132 openusb \ 133 pam_pkcs11 \ 134 perl_net_ssleay \ 135 pyopenssl \ 136 python26-pyopenssl \ 137 saaj \ 138 sane-backends \ 139 snack \ 140 sqlite3 \ 141 tcltls \ 142 trousers \ 143 unixodbc \ 144 wiseman 145 146 sparc_SUBDIRS= 147 148 i386_SUBDIRS= 149 150 SUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) 151 152 all := TARGET= all 153 install := TARGET= install 154 install_h := TARGET= install_h 155 clean := TARGET= clean 156 clobber := TARGET= clobber 157 lint := TARGET= lint 158 meta-check := TARGET= meta-check 159 component-hook := TARGET= component-hook 160 161 install_h all install clean clobber meta-check component-hook: $(SUBDIRS) 162 163 $(SUBDIRS): FRC 164 @cd $@; echo "$(TARGET) \c"; pwd; $(MAKE) $(MAKEFILE) $(TARGET) 165 166 tk: tcl 167 gtk+: glib tk 168 libneon: openssl zlib libxml2 169 libxslt: libxml2 170 usb_ccid_ifd: libusb libusbugen 171 libusbugen: libusb 172 curl: openssl zlib idn 173 libxmlrpc-c: curl 174 memcached: libevent 175 sqlite3: tcl 176 lcms: zlib 177 libmng: lcms 178 mpfr: gnump 179 slang: pcre zlib 180 snack: tcl tk 181 tcltls: openssl tcl 182 openexr: ilmbase 183 imperius: antlr2 sblim 184 xom: jaxen-core 185 jaxb: activation 186 saaj: activation 187 ant: antlr2 188 antlr: antlr2 ant 189 stringtemplate: antlr2 ant 190 drools: xstream jdtcore mvel janino jxl junit antlr 191 wiseman: saaj jaxb 192 trousers: openssl 193 pam_pkcs11: openssl 194 perl_net_ssleay: openssl 195 pyopenssl: openssl 196 python26-pyopenssl: openssl 197 198 199 FRC: