forked from I2P_Developers/i2p.i2p
Added Makefile for building i2p SAM server jarfile
This commit is contained in:
31
apps/sam/jython/build/Makefile
Normal file
31
apps/sam/jython/build/Makefile
Normal 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)
|
Reference in New Issue
Block a user