p≡p for Java
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
heck 10b5f9772f Merge pull request 'android-build update to use jni adapter 2.1.25' (#7) from android-build into Release_2.1
Reviewed-on: #7
2 years ago
.gitlab-ci-files CI: add job using Java 8 2 years ago
android Android build: Update engine version on AndroidHelper.java 2 years ago
androidTests Update gradle versions and engine version 5 years ago
doc/doxygen Added doc/ dir, added Doxygen fox c++ and java. use "make doxy-all" 3 years ago
scripts/debian10 CI: use multi-stage build to reduce image size 2 years ago
src JNI-149: "Wrap disable_all_sync_channels into the adapter" - implementation 2 years ago
test Tests: Add test JNI-153 - implement/emulate pEp4FM threading model 2 years ago
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) 3 years ago
.gitignore Add build and .cxx folders to .gitignore 2 years ago
.gitlab-ci.yml CI: enable java8 tagged build 2 years ago
DEPENDENCIES pEpEngine=Release_2.1.33 2 years ago
LICENSE.txt switching to AGPL 7 years ago
Makefile testcommit 2 years ago
Makefile.conf And suddenly my linux box javac needs "-encoding UTF-8", well, cant hurtbeing explicit about that in general. 2 years ago
README.md Rewrite README.md from scratch 2 years ago
local.conf.example added build option: USE_JAVAH - explicitly enable/disable use of javah over javac -h (if autodetect doesnt work correctly) 3 years ago


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.


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


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


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

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


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.


  • 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