Added Makefile for building i2p SAM server jarfile

This commit is contained in:
aum
2004-04-10 08:11:24 +00:00
committed by zzz
parent b437d858f0
commit a3a7a585d7

View File

@ -0,0 +1,31 @@
# This makefile constructs the SAM Server i2psam.jar
# by default, it gets linked into a standalone .jar file, together
# with the I2P core classes, and the jython classes
# sources
JYTHON_SOURCES=../src/i2psam.py
# jython compilation command
JYTHON_COMPILE=jython
# change this to wherever you put your i2p jars
CLASSPATH=../../../../build/i2p.jar:../../../../build/mstreaming.jar:../../../jython/lib/jython.jar
# comment this out to prevent the kitchen sink (i2p code, jython code etc)
# from being linked into jar. Uncomment it to create a standalone .jar
JARLINKOPTIONS=--all
# uncomment this to enable '--addpackages' option, but this doesn't
# seem to work, so we don't use it.
#EXTRAPACKAGES=--addpackages net.i2p,net.i2p.client.mstreaming
jar: i2psam.jar
i2psam.jar: $(JYTHON_SOURCES) Makefile
CLASSPATH=$(CLASSPATH) \
$(JYTHON_COMPILE) \
--jar i2psam.jar \
$(JARLINKOPTIONS) \
$(EXTRAPACKAGES) \
$(JYTHON_SOURCES)