p≡p for Java
 
 
 
 
 
 
Go to file
David Lanzendörfer d4aa49cd07 Do not use UTF-8 on an EBCDIC based system... 2022-02-08 20:37:55 +00:00
.gitlab-ci-files CI: build CentOS/RedHat 8 RPM packages 2021-07-22 11:13:35 -07:00
android Android build: Use libetpan foundation gitea instead of github 2021-06-17 18:04:40 +02:00
androidTests Merge branch 'JNI-158' 2021-07-01 14:27:42 +02:00
doc/doxygen Added doc/ dir, added Doxygen fox c++ and java. use "make doxy-all" 2020-04-13 16:16:42 +02:00
scripts CI: match RPM version string to JNI Adapter 2021-07-22 11:13:35 -07:00
src Do not use UTF-8 on an EBCDIC based system... 2022-02-08 20:37:55 +00:00
test Do not use UTF-8 on an EBCDIC based system... 2022-02-08 20:37:55 +00:00
utils CodeGen: New enhanced enums, now all enums got .toString(), all enums can have .getInternalStringValue() (This was needed to avoid mapping table in the app, for "casting" Ratings to Engine internal string values for X-Opts .e.g) 2020-09-11 04:22:57 +02:00
.gitignore Build system cleanup 2022-02-07 22:00:16 +00:00
.gitlab-ci.yml CI: build CentOS/RedHat 8 RPM packages 2021-07-22 11:13:35 -07:00
DEPENDENCIES pEpEngine=Release_2.1.42 2021-07-06 14:51:56 +02:00
LICENSE.txt switching to AGPL 2016-11-20 13:12:32 +01:00
Makefile Build system cleanup 2022-02-07 22:00:16 +00:00
Makefile.conf Do not use UTF-8 on an EBCDIC based system... 2022-02-08 20:37:55 +00:00
README.md Rewrite README.md from scratch 2021-01-15 15:48:58 +01:00
local.conf.example added build option: USE_JAVAH - explicitly enable/disable use of javah over javac -h (if autodetect doesnt work correctly) 2020-09-16 18:19:08 +02:00

README.md

p≡p JNI Adapter

Please find the complete build instructions here: https://dev.pep.foundation/Common%20Adapter%20Documentation/Adapter_Build_Instructions

Build Result

The binary package resulting from the build will be located under ./dist. It merely contains:

  • pEp.jar - The java library
  • libpEpJNI.dylib - The dynamically linkable native library
  • libpEpJNI.a - The statically linkable native library

Build Configuration

The build configuration file is called local.conf. Use the file local.conf.example as a template.

cp local.conf.example local.conf

Then, tweak it to your needs.

Make Targets

The default make target is compile.

Build

  • make compile
    Builds the whole adapter under ./build. The complete distribution ready adapter will be in ./dist.

Test

  • make test
    Builds the complete test-suite under ./test.

Install

  • make install Installs the files under ./dist under $PREFIX (local.conf)

  • make uninstall Removes all the filenames under ./dist from $PREFIX (local.conf)

Doc

In order to generate the API doc you need to have doxygen installed on your system.

  • make doc
    Generates Java and C++ API doc.

  • make doc-cxx
    Generates the API doc for the C++ part of the adapter.

  • make doc-java
    Generates the API doc for the Java part of the adapter.

Clean

  • make clean
    Deletes all the derived objects of the adapter build in ./build and ./dist. Also invokes make clean which cleans the whole test-suite. Does not remove the generated API doc.

  • make clean-doc
    Removes all the generated API doc.

  • make clean-all
    Equals make clean and make clean-doc