Well, the code anyway.  I have now finished the first version of a java
class wrapper for the linux joystick driver, written a java gui test
program, and it works! ... er, At least it works on my system, with my
jdk, on my distribution, with my joystick, so I'd like to make it
available for others to test. But, as this is my first linux programming
project, I have no clue how to build appropriate makefile for:
1- gotta build the native .c file into a shared library
2- build the java files into a jar
3- need to install the .so created in step 1 into an appropriate
directory. (In the LD_LIBRARY_PATH?)
4- put the .jar file in an appropriate directory in the classpath.
5- How do I put an appropriate "license" on it so it can be used
freely?  I'd like changes to come back to me, so I can be the maintainer
of the thing, but want people to use or improve it, and make it useful.

So,I think there should be:
make clean
make configure - do I need this? maybe to find out where the linux jni
includes are?
make  - to build the so, and the jar files
make install - to install the stuff appropriately

Should I write the doc in javadoc since it's just a set of classes for
an api?  Or in a readme?  Both?  Where do I include the license
descriptions?  Is there a "template" or sample license file somewhere
that I can use?

I appreciate any help in this, since I've never attempted this stuff,
and have never done makefiles, shell scripts, etc.  Where do I start?

Thanks,
--
Kevin White, Software Engineer
Envision Telephony
[EMAIL PROTECTED]
[EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to