# Copyright  2005 Sun Microsystems, Inc.  All rights reserved.
#
# Sun Microsystems, Inc. has intellectual property rights relating to
# technology embodied in the product that is described in this document.
# In particular, and without limitation, these intellectual property rights
# may include one or more of the U.S. patents listed at
# http://www.sun.com/patents and one or more additional patents or pending
# patent applications in the U.S. and in other countries.
#
# U.S. Government Rights - Commercial software.  Government users are subject
# to the Sun Microsystems, Inc. standard license agreement and applicable
# provisions of the FAR and its supplements.
#
# Use is subject to license terms.
#
# This distribution may include materials developed by third parties.Sun,
# Sun Microsystems and  the Sun logo are trademarks or registered trademarks
# of Sun Microsystems, Inc. in the U.S. and other countries.  
#
# Copyright  2005 Sun Microsystems, Inc. Tous droits rservs.
# Sun Microsystems, Inc. dtient les droits de proprit intellectuels relatifs
#  la technologie incorpore dans le produit qui est dcrit dans ce document.
# En particulier, et ce sans limitation, ces droits de proprit
# intellectuelle peuvent inclure un ou plus des brevets amricains lists
#  l'adresse http://www.sun.com/patents et un ou les brevets supplmentaires
# ou les applications de brevet en attente aux Etats - Unis et dans les
# autres pays.
#
# L'utilisation est soumise aux termes du contrat de licence.
#
# Cette distribution peut comprendre des composants dvelopps par des
# tierces parties.
#
# Sun,  Sun Microsystems et  le logo Sun sont des marques de fabrique ou des
# marques dposes de Sun Microsystems, Inc. aux Etats-Unis et dans
# d'autres pays.

BASE=IS_INSTALL_BASEDIR/IS_PRODNAME
JAVA_HOME=JAVADIR
JSS_HOME=TAG_JSS_JAR_PATH
CLASSPATH=.:$(BASE)/lib:$(BASE)/locale:$(BASE)/lib/jaas.jar:$(BASE)/lib/ldapjdk.jar:$(BASE)/lib/xmlsec.jar:$(BASE)/lib/am_services.jar:$(BASE)/lib/am_sdk.jar:$(JSS_HOME)/jss4.jar:$(BASE)/lib/servlet.jar:$(BASE)/lib/jaxp-api.jar:$(BASE)/lib/xalan.jar:$(BASE)/lib/xercesImpl.jar:$(BASE)/lib/dom.jar:$(BASE)/lib/sax.jar:$(BASE)/lib/jce1_2_1.jar:$(BASE)/lib/am_logging.jar:IS_INSTALL_ETCDIR/IS_PRODNAME/config:$(BASE)/lib/jaxm-api.jar:$(BASE)/lib/jaxm-runtime.jar:$(BASE)/lib/saaj-api.jar:$(BASE)/lib/saaj-impl.jar:$(BASE)/lib/jaxb-api.jar:$(BASE)/lib/jax-qname.jar:$(BASE)/lib/jaxb-impl.jar:$(BASE)/lib/jaxb-libs.jar:$(BASE)/lib/jaxb-xjc.jar

all: bytecode

bytecode:
	$(JAVA_HOME)/bin/javac -classpath $(CLASSPATH) PlainClient.java 

run:
	$(JAVA_HOME)/bin/java -classpath $(CLASSPATH) PlainClient http://SERVER_HOST:SERVER_PORT/SERVER_DEPLOY_URI/Liberty/authnsvc idpuser idpuser 

clean:
	rm *.class 
