add jnaerator auto download
This commit is contained in:
parent
2f974e7e6e
commit
60c30eef22
|
@ -18,7 +18,7 @@ INSTALL = install
|
|||
SH = /bin/sh
|
||||
JAVA = java
|
||||
# see http://code.google.com/p/jnaerator/
|
||||
JNAERATOR = jnaerator-0.9.3.jar
|
||||
JNAERATOR = jnaerator-0.9.7.jar
|
||||
#following libs are needed on Solaris
|
||||
#LDLIBS=-lsocket -lnsl -lresolv
|
||||
|
||||
|
@ -192,7 +192,13 @@ testigddescparse: $(TESTIGDDESCPARSE)
|
|||
miniupnpcstrings.h: miniupnpcstrings.h.in updateminiupnpcstrings.sh
|
||||
$(SH) updateminiupnpcstrings.sh
|
||||
|
||||
jar: $(SHAREDLIBRARY)
|
||||
jnaerator-0.9.8-shaded.jar:
|
||||
wget http://jnaerator.googlecode.com/files/jnaerator-0.9.8-shaded.jar
|
||||
|
||||
jnaerator-0.9.7.jar:
|
||||
wget http://jnaerator.googlecode.com/files/jnaerator-0.9.7.jar
|
||||
|
||||
jar: $(SHAREDLIBRARY) $(JNAERATOR)
|
||||
$(JAVA) -jar $(JNAERATOR) -library miniupnpc miniupnpc.h declspec.h upnpcommands.h upnpreplyparse.h igd_desc_parse.h miniwget.h upnperrors.h $(SHAREDLIBRARY) -package fr.free.miniupnp -o . -jar java/miniupnpc_$(OS).jar -v
|
||||
|
||||
minihttptestserver: minihttptestserver.o
|
||||
|
|
Loading…
Reference in New Issue