p≡p for Java
 
 
 
 
 
 
Go to file
heck cefb146828 Merge pull request 'gitea-43 Update pEpEngineSequoiaBackend dependency' (#44) from Ignacio/pEpJNIAdapter:gitea-43 into master
Reviewed-on: #44
2023-03-24 12:56:51 +01:00
.gitlab-ci-files CI: build CentOS/RedHat 8 RPM packages 2021-07-22 11:13:35 -07:00
android gitea-43 Update pEpEngineSequoiaBackend dependency 2023-03-24 12:52:22 +01:00
androidTests Merge branch 'JNI-158' 2021-07-01 14:27:42 +02:00
build-windows Build: windows - manual merge of PR#15 from thomas (due to conflicts) 2022-03-01 21:56:54 +01: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: update script path for building libpEpAdapter 2021-10-19 21:22:58 -07:00
src Fix typo in ratings. 2023-03-22 15:10:36 +01:00
test Test: update regression test for trustword related API cahnge. 2023-02-08 17:16:34 +05:30
utils fix: status code generation - ingnore #define lines. 2022-12-20 20:25:30 +01:00
.gitignore Add Windows build project and reference platform.h 2021-12-21 14:29:38 +01:00
.gitlab-ci.yml CI: build CentOS/RedHat 8 RPM packages 2021-07-22 11:13:35 -07:00
DEPENDENCIES pEpEngine=v3.2.0-RC27 2023-03-21 16:43:07 +01:00
LICENSE.txt switching to AGPL 2016-11-20 13:12:32 +01:00
Makefile Rewrite README.md from scratch 2021-01-15 15:45:33 +01:00
Makefile.conf Build: use same optimization level in debug and release build 2022-12-15 12:49:08 +01:00
README.md Rewrite README.md from scratch 2021-01-15 15:48:58 +01:00
local.conf.example Build: Change build config to adhere to standard for all adapters 2022-01-25 17:06:24 +01: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