Home | History | Annotate | Download | only in lib
      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.89	09/11/03 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 	stdcxx4  \
     50 	aalib   \
     51 	activation \
     52 	antlr2	\
     53 	ant	\
     54 	stringtemplate	\
     55 	antlr	\
     56 	cglib	\
     57 	commons-collections	\
     58 	dom4j	\
     59 	fastcgi \
     60 	glib	\
     61 	gtk+	\
     62 	gd2	\
     63 	gdbm	\
     64 	gnump	\
     65 	idn 	\
     66 	ilmbase \
     67 	pcre	\
     68 	curl	\
     69 	janino	\
     70 	jarjar	\
     71 	jaxb	\
     72 	jaxen-core	\
     73 	jdom	\
     74 	jdtcore	\
     75 	jettison	\
     76 	joda-time	\
     77 	jrexx	\
     78 	junit	\
     79 	jxl	\
     80 	mvel	\
     81 	objectasm	\
     82 	relaxngDatatype	\
     83 	tcl	\
     84 	trove	\
     85 	tk	\
     86 	xpp3-min	\
     87 	zlib	\
     88 	fftw2 	\
     89 	fftw3	\
     90 	javamail \
     91 	libconfuse \
     92 	libxml2 \
     93 	libxslt \
     94 	libexpat \
     95 	libneon \
     96 	libusb \
     97 	libusbugen \
     98 	lcms \
     99 	libedit \
    100 	libevent \
    101 	libmcrypt \
    102 	libmemcached \
    103 	libmng \
    104 	libnet \
    105 	libpcap \
    106 	libosip2 \
    107 	librsync \
    108 	libsigsegv \
    109 	libsndfile \
    110 	libtorrent \
    111 	libxmlrpc-c \
    112 	libyaz \
    113 	logilab-common \
    114 	log4j \
    115 	logilab-astng \
    116 	memcached \
    117 	memcached-java \
    118 	mpfr \
    119 	pmdbi \
    120 	pywbem \
    121 	pull-parser \
    122 	qdox \
    123 	slang \
    124 	tidy \
    125 	usb_ccid_ifd \
    126 	wxwidgets \
    127 	xom \
    128 	xsdlib \
    129 	xstream \
    130 	drools	\
    131 	sblim \
    132 	imperius \
    133 	slib \
    134 	readline \
    135 	openexr \
    136 	openssl \
    137 	openusb \
    138 	pam_pkcs11 \
    139 	perl_net_ssleay \
    140 	pyopenssl \
    141 	python26-pyopenssl \
    142 	saaj \
    143 	sane-backends \
    144 	snack \
    145 	sqlite3 \
    146 	tcltls \
    147 	trousers \
    148 	unixodbc \
    149 	wiseman
    150 
    151 sparc_SUBDIRS= 
    152 
    153 i386_SUBDIRS=
    154 
    155 SUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
    156 
    157 all :=		TARGET= all
    158 install :=	TARGET= install
    159 install_h :=	TARGET= install_h
    160 clean :=	TARGET= clean
    161 clobber :=	TARGET= clobber
    162 lint :=		TARGET= lint
    163 meta-check :=		TARGET= meta-check
    164 component-hook :=	TARGET= component-hook
    165 
    166 install_h all install clean clobber meta-check component-hook: $(SUBDIRS)
    167 
    168 $(SUBDIRS): FRC
    169 	@cd $@; echo "$(TARGET) \c"; pwd; $(MAKE) $(MAKEFILE) $(TARGET)
    170 
    171 tk: tcl
    172 gtk+: glib tk
    173 libneon: openssl zlib libxml2
    174 libxslt: libxml2
    175 usb_ccid_ifd: libusb libusbugen
    176 libusbugen: libusb
    177 curl: openssl zlib idn
    178 libxmlrpc-c: curl
    179 memcached: libevent
    180 sqlite3: tcl
    181 lcms: zlib
    182 libmng: lcms
    183 mpfr: gnump
    184 slang: pcre zlib
    185 snack: tcl tk
    186 tcltls: openssl tcl
    187 openexr: ilmbase
    188 imperius: antlr2 sblim
    189 xom: jaxen-core
    190 jaxb: activation
    191 saaj: activation
    192 ant: antlr2
    193 antlr: antlr2 ant
    194 stringtemplate: antlr2 ant
    195 drools: xstream jdtcore mvel janino jxl junit antlr
    196 wiseman: saaj jaxb
    197 trousers: openssl
    198 pam_pkcs11: openssl
    199 perl_net_ssleay: openssl
    200 pyopenssl: openssl
    201 python26-pyopenssl: openssl
    202 qdox: junit
    203 trove: junit
    204 
    205 
    206 FRC:
    207