p≡p for Java
You can not 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
Hussein Kasem 6496b499fe
JNI-177 Maintenance: Move from jcenter(deprecated) to mavenCentral repository
10 months ago
.gitlab-ci-files CI: build CentOS/RedHat 8 RPM packages 2 years ago
android JNI-177 Maintenance: Move from jcenter(deprecated) to mavenCentral repository 10 months ago
androidTests JNI-158: Android activity - remove keyserver stuff 2 years ago
build-windows Build: windows - manual merge of PR#15 from thomas (due to conflicts) 1 year ago
doc/doxygen Added doc/ dir, added Doxygen fox c++ and java. use "make doxy-all" 3 years ago
scripts CI: update script path for building libpEpAdapter 1 year ago
src Fix:: Windows portability - manual merge of PR#15 from thomas (due to conflicts) 1 year ago
test PityTest: Disable broken termsize detection 1 year ago
utils Generate Status files 1 year ago
.gitignore Add Windows build project and reference platform.h 1 year ago
.gitlab-ci.yml CI: build CentOS/RedHat 8 RPM packages 2 years ago
DEPENDENCIES pEpEngine=Release_2.1.56 12 months ago
LICENSE.txt switching to AGPL 6 years ago
Makefile Rewrite README.md from scratch 2 years ago
Makefile.conf C++ impl of export_key() 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

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