Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# CDDL HEADER START
4ea8055e720d18f386b8026b546e5836ecccba4arjung# The contents of this file are subject to the terms of the
f4845813cd6fa5749dfec8e3bc647b85c1df0980wrowe# Common Development and Distribution License, Version 1.0 only
f4845813cd6fa5749dfec8e3bc647b85c1df0980wrowe# (the "License"). You may not use this file except in compliance
f4845813cd6fa5749dfec8e3bc647b85c1df0980wrowe# with the License.
f4845813cd6fa5749dfec8e3bc647b85c1df0980wrowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c44902d07eab7deb803a59e959f57cf3b7d56655poirier# See the License for the specific language governing permissions
c44902d07eab7deb803a59e959f57cf3b7d56655poirier# and limitations under the License.
ae1981fc94adf2b231e2d0e15d2f895b2138c969covener# When distributing Covered Code, include this CDDL HEADER in each
ae1981fc94adf2b231e2d0e15d2f895b2138c969covener# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ae1981fc94adf2b231e2d0e15d2f895b2138c969covener# If applicable, add the following below this CDDL HEADER, with the
ae1981fc94adf2b231e2d0e15d2f895b2138c969covener# fields enclosed by brackets "[]" replaced with your own identifying
ae1981fc94adf2b231e2d0e15d2f895b2138c969covener# information: Portions Copyright [yyyy] [name of copyright owner]
4ac05f9625e37cc421f4ea548422827b4de163d7niq# CDDL HEADER END
4ac05f9625e37cc421f4ea548422827b4de163d7niq#ident "%Z%%M% %I% %E% SMI"
6999a76d8eb5ef6b4b295e51df0b2fb6064bd373covener# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
6999a76d8eb5ef6b4b295e51df0b2fb6064bd373covener# Use is subject to license terms.
ead0b57bbeaec5acb14f931b5641962f429dabc9trawick# Makefile for building SLP API and slpd.
77d6f9d5c2a5cab805e9ace265628f3d791b937dniq#Compile and create basic library.
77d6f9d5c2a5cab805e9ace265628f3d791b937dniq# The most efficient parallelization factor is 2. Any more than this
9f35dd32eedd781d218a85f0315ea5526a8adc84minfrin# slows the build down. A factor of 1 is more efficient than > 2, so
9f35dd32eedd781d218a85f0315ea5526a8adc84minfrin# use the PARALELL directive only if you can restrict the factor to 2.
5dc4220fc22561537ce1421a03e11846a5b719ebminfrin -$(RM) $(CLASSES)/$(PKGPATH)/*.class $(CLASSES)/$(PKGPATH)/*.properties
68c4447ba8e057cf38cbbec918e0549b817f20b4minfrin# Make the class dir, if it doesn't exist
e33d0698670fead33dbd7c907363053b9e2be454minfrin#Make docs for the API only.
cf8a8738330694e60bad421fcc8361d80b0e9124minfrin cd $(SLPJAVASRC); $(JAVADOC) -public -author -version -classpath $(SLPCLASSPATH) -d $(DOC) $(PKGNAME)
4ea8055e720d18f386b8026b546e5836ecccba4arjungmessage_files: $(CLASSES)/$(PKGPATH) $(CLASSES)/$(PKGPATH)/$(CLIENT_MSGS) $(CLASSES)/$(PKGPATH)/$(SERVER_MSGS)
f80ef15dcf58050fbfbe12b000de043f6ae6ac82pquerna$(CLASSES)/$(PKGPATH)/$(CLIENT_MSGS): $(PKGPATH)/$(CLIENT_MSGS)
60a8830541cd85d23a42ccb1639bc4744de9d526poirier$(CLASSES)/$(PKGPATH)/$(SERVER_MSGS): $(PKGPATH)/$(SERVER_MSGS)
ca0a943242b488c162aa89874498e0316f7b2f2eminfrin$(CLASSES)/$(SLPDJAR): $(ALL_SLP_CLASSES) $(SLPDMANI)
ca0a943242b488c162aa89874498e0316f7b2f2eminfrin cd $(CLASSES); $(JAR) cmf manifest.slpd $@ $(PKGPATH)
e1c6c1dac26c35ecebe158438bb0c56afbb9bfb0sf cd $(CLASSES); $(JAR) cmf manifest.slp $@ $(UA_SA_SUBSET_CLASSES) $(PKGPATH)/$(CLIENT_MSGS)
38451a13fb80b89e704792ebc0e6f9e5e5877d7dsf $(MAKE) -f Makefile.manifest CLASSES=$(CLASSES) PKGPATH=$(PKGPATH)
505e342aefa9fbccc857f1bc653a310e25511946sfinstall: all message_files manifests $(JARDESTDIR) $(INSJARS)
505e342aefa9fbccc857f1bc653a310e25511946sf# empty targets for top-level building compatability
dda254ba84bdff5e236917af1b31693ca4360eabcovener# jstyle check -- more for developer's convenience since the checks are
dda254ba84bdff5e236917af1b31693ca4360eabcovener# not automated in the build.