aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authort-kmt123 <tkmt35137@gmail.com>2021-07-06 14:21:42 +0900
committerNaoto Yamaguchi <i33399_yamaguchi@aisin-aw.co.jp>2021-08-05 13:42:04 +0000
commit78bc03d59119dcccb5ba5258889e516020d6f926 (patch)
treefd06a8d21e75a066e3e7c55d16394c4ab72df53b
parent32181bf31b18179f47a166f9291311cfa5b54fd1 (diff)
rename libipc
-rw-r--r--cluster_api.pc.in4
-rw-r--r--src/CMakeLists.txt4
-rw-r--r--src/cluster_api.c2
-rw-r--r--test/client_test/CMakeLists.txt2
-rw-r--r--test/client_test/client_main.c2
-rw-r--r--test/client_test/client_test_common.h2
-rw-r--r--test/client_test/dummy_server.c2
7 files changed, 9 insertions, 9 deletions
diff --git a/cluster_api.pc.in b/cluster_api.pc.in
index d9bcf80..0384465 100644
--- a/cluster_api.pc.in
+++ b/cluster_api.pc.in
@@ -6,6 +6,6 @@ Name: @TARGET_NAME@
Description: cluster api library using ipc library
Version: @CLUSTER_API_LIBRARY_VERSION@
-Requires: ipc
+Requires:cluster_ipc
Cflags: -I${includedir}
-Libs: -L${libdir} -lcluster_api \ No newline at end of file
+Libs: -L${libdir} -lcluster_api
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index cbba261..ecb9aea 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -6,7 +6,7 @@ add_library(${TARGET_NAME} SHARED
cluster_api.c
)
-pkg_check_modules(IPC REQUIRED ipc)
+pkg_check_modules(IPC REQUIRED cluster_ipc)
# Include directories
target_include_directories(${TARGET_NAME} PRIVATE
@@ -45,4 +45,4 @@ install(
install (
FILES ${CLUSTER_API_HEADERS} DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}
-) \ No newline at end of file
+)
diff --git a/src/cluster_api.c b/src/cluster_api.c
index 114580e..e47a9ba 100644
--- a/src/cluster_api.c
+++ b/src/cluster_api.c
@@ -20,7 +20,7 @@
#include <string.h>
#include <stdbool.h>
-#include <ipc.h>
+#include <cluster_ipc.h>
#include <cluster_api.h>
#include <cluster_api_internal.h>
diff --git a/test/client_test/CMakeLists.txt b/test/client_test/CMakeLists.txt
index 53819da..49b1224 100644
--- a/test/client_test/CMakeLists.txt
+++ b/test/client_test/CMakeLists.txt
@@ -3,7 +3,7 @@
cmake_minimum_required(VERSION 2.8)
-pkg_check_modules(IPC REQUIRED ipc)
+pkg_check_modules(IPC REQUIRED cluster_ipc)
# use the variable <RESULTNAME>_INCLUDE_DIRS to get include paths
include_directories(
diff --git a/test/client_test/client_main.c b/test/client_test/client_main.c
index d07a952..b4736c0 100644
--- a/test/client_test/client_main.c
+++ b/test/client_test/client_main.c
@@ -23,7 +23,7 @@
#include <CUnit/CUnit.h>
#include <CUnit/Console.h>
-#include <ipc.h>
+#include <cluster_ipc.h>
#include <cluster_api.h>
#include "client_test_common.h"
diff --git a/test/client_test/client_test_common.h b/test/client_test/client_test_common.h
index d19e895..89c164f 100644
--- a/test/client_test/client_test_common.h
+++ b/test/client_test/client_test_common.h
@@ -19,7 +19,7 @@
#define CLIENT_TEST_COMMON_H
#include <unistd.h>
-#include <ipc.h>
+#include <cluster_ipc.h>
#define IPC_TEST_DOMAIN_PATH "./"
diff --git a/test/client_test/dummy_server.c b/test/client_test/dummy_server.c
index bf0b3e6..d30bfec 100644
--- a/test/client_test/dummy_server.c
+++ b/test/client_test/dummy_server.c
@@ -25,7 +25,7 @@
#include <sys/un.h>
#include <sys/epoll.h>
-#include <ipc.h>
+#include <cluster_ipc.h>
#define CLUSTER_TEST_EPOLL_WAIT_NUM (2)