# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "@(#)Makefile 1.84 09/07/17 SMI" # # # lib/Makefile # # include global definitions include ../Makefile.master # # Certain libraries are linked with, hence depend on, other libraries. # # Although we have historically used .WAIT to express dependencies, it # reduces the amount of parallelism and thus lengthens the time it # takes to build the libraries. Thus, we now require that any new # libraries explicitly call out their dependencies. # # Aside from explicit dependencies all libraries are built in parallel. # .PARALLEL: COMMON_SUBDIRS= \ aalib \ activation \ antlr2 \ ant \ stringtemplate \ antlr \ cglib \ commons-collections \ dom4j \ fastcgi \ glib \ gtk+ \ gd2 \ gdbm \ gnump \ idn \ ilmbase \ pcre \ curl \ janino \ jarjar \ jaxb \ jaxen-core \ jdom \ jdtcore \ jettison \ joda-time \ junit \ jxl \ mvel \ objectasm \ relaxngDatatype \ tcl \ tk \ xpp3-min \ zlib \ fftw2 \ fftw3 \ javamail \ libconfuse \ libxml2 \ libxslt \ libexpat \ libneon \ libusb \ libusbugen \ lcms \ libedit \ libevent \ libmcrypt \ libmemcached \ libmng \ libnet \ libpcap \ libosip2 \ librsync \ libsigsegv \ libsndfile \ libtorrent \ libxmlrpc-c \ libyaz \ logilab-common \ log4j \ logilab-astng \ memcached \ memcached-java \ mpfr \ pmdbi \ pull-parser \ slang \ tidy \ usb_ccid_ifd \ wxwidgets \ xom \ xsdlib \ xstream \ drools \ sblim \ imperius \ slib \ readline \ openexr \ openssl \ openusb \ pam_pkcs11 \ perl_net_ssleay \ pyopenssl \ python26-pyopenssl \ saaj \ sane-backends \ snack \ sqlite3 \ tcltls \ trousers \ unixodbc \ wiseman sparc_SUBDIRS= i386_SUBDIRS= SUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS) all := TARGET= all install := TARGET= install install_h := TARGET= install_h clean := TARGET= clean clobber := TARGET= clobber lint := TARGET= lint meta-check := TARGET= meta-check component-hook := TARGET= component-hook install_h all install clean clobber meta-check component-hook: $(SUBDIRS) $(SUBDIRS): FRC @cd $@; echo "$(TARGET) \c"; pwd; $(MAKE) $(MAKEFILE) $(TARGET) tk: tcl gtk+: glib tk libneon: openssl zlib libxml2 libxslt: libxml2 usb_ccid_ifd: libusb libusbugen libusbugen: libusb curl: openssl zlib idn libxmlrpc-c: curl memcached: libevent sqlite3: tcl lcms: zlib libmng: lcms mpfr: gnump slang: pcre zlib snack: tcl tk tcltls: openssl tcl openexr: ilmbase imperius: antlr2 sblim xom: jaxen-core jaxb: activation saaj: activation ant: antlr2 antlr: antlr2 ant stringtemplate: antlr2 ant drools: xstream jdtcore mvel janino jxl junit antlr wiseman: saaj jaxb trousers: openssl pam_pkcs11: openssl perl_net_ssleay: openssl pyopenssl: openssl python26-pyopenssl: openssl FRC: