SET(DCM_UNIX_SOCKET_PATH "/run/device-certificate-manager.socket")
ADD_DEFINITIONS(-DDCM_UNIX_SOCKET_PATH="${DCM_UNIX_SOCKET_PATH}")
-INCLUDE_DIRECTORIES(shared)
-ADD_SUBDIRECTORY(dcm-client)
-ADD_SUBDIRECTORY(dcm-daemon)
+INCLUDE_DIRECTORIES(src/shared)
+ADD_SUBDIRECTORY(src/dcm-client)
+ADD_SUBDIRECTORY(src/dcm-daemon)
ADD_SUBDIRECTORY(pkgconfig)
ADD_SUBDIRECTORY(rpm)
ADD_SUBDIRECTORY(systemd)
The DCM (tizen.org repository *platform/core/security/device-certificate-manager*) consists of two submodules: the client and the daemon.
The client provides the public DCM API, while the daemon its implementation.
-The implementation is realized with the internal backend API (see the *dcm-daemon/dcm-backend-api.h* header file).
+The implementation is realized with the internal backend API (see the *src/dcm-daemon/dcm-backend-api.h* header file).
Example implementations of this backend API may be found in the tizen.org separate repository: *platform/core/security/device-certificate-manager-backend*.
The DCM backend repository provides two implementations:
1) dedicated for the KONAI SE device,
##Adding a new backend (a new SE device)
-In order to support a new SE device in the DCM, a new backend API implementation must be developed, which means that the plugin developer must provide the implemenation of the plugin header (*dcm-daemon/dcm-backend-api.h*).
+In order to support a new SE device in the DCM, a new backend API implementation must be developed, which means that the plugin developer must provide the implemenation of the plugin header (*src/dcm-daemon/dcm-backend-api.h*).
Such an implementation may be based on the KONAI SE implementation from the *platform/core/security/device-certificate-manager-backend* repository.
The new implementation may be added to this public repository or provided in the separate git repository.
The most important item is to implement the *libdcm-backend-api.so* library and to install it in the system.
INCLUDE_DIRECTORIES(SYSTEM ${Boost_INCLUDE_DIRS})
LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
-INCLUDE_DIRECTORIES(../dcm-client)
+INCLUDE_DIRECTORIES(../src/dcm-client)
ADD_DEFINITIONS(-DBOOST_LOG_DYN_LINK)
ADD_DEFINITIONS(-DBOOST_TEST_DYN_LINK)