summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt7
-rw-r--r--src/dad/CMakeLists.txt (renamed from src/da/CMakeLists.txt)6
-rw-r--r--src/dad/main.c (renamed from src/da/main.c)0
-rw-r--r--src/ipcpd/CMakeLists.txt16
-rw-r--r--src/ipcpd/main.c (renamed from src/ipcp/main.c)0
-rw-r--r--src/irmd/CMakeLists.txt (renamed from src/ipcp/CMakeLists.txt)6
-rw-r--r--src/irmd/main.c (renamed from src/irm/main.c)0
-rw-r--r--src/tools/CMakeLists.txt1
-rw-r--r--src/tools/irm/CMakeLists.txt (renamed from src/irm/CMakeLists.txt)0
-rw-r--r--src/tools/irm/main.c32
10 files changed, 59 insertions, 9 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ca434d8a..b0732f08 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,4 +1,5 @@
-add_subdirectory(ipcp)
-add_subdirectory(irm)
-add_subdirectory(da)
+add_subdirectory(ipcpd)
+add_subdirectory(irmd)
+add_subdirectory(dad)
add_subdirectory(lib)
+add_subdirectory(tools)
diff --git a/src/da/CMakeLists.txt b/src/dad/CMakeLists.txt
index 050b0f80..3d4b8ea7 100644
--- a/src/da/CMakeLists.txt
+++ b/src/dad/CMakeLists.txt
@@ -9,8 +9,8 @@ set(SOURCE_FILES
main.c
)
-add_executable (da ${SOURCE_FILES})
+add_executable (dad ${SOURCE_FILES})
-target_link_libraries (da LINK_PUBLIC ouroboros)
+target_link_libraries (dad LINK_PUBLIC ouroboros)
-install(TARGETS da RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
+install(TARGETS dad RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
diff --git a/src/da/main.c b/src/dad/main.c
index e2971dca..e2971dca 100644
--- a/src/da/main.c
+++ b/src/dad/main.c
diff --git a/src/ipcpd/CMakeLists.txt b/src/ipcpd/CMakeLists.txt
new file mode 100644
index 00000000..b16413cc
--- /dev/null
+++ b/src/ipcpd/CMakeLists.txt
@@ -0,0 +1,16 @@
+include_directories(${CMAKE_CURRENT_SOURCE_DIR})
+include_directories(${CMAKE_CURRENT_BINARY_DIR})
+
+include_directories(${CMAKE_SOURCE_DIR}/include)
+include_directories(${CMAKE_BINARY_DIR}/include)
+
+set(SOURCE_FILES
+ # Add source files here
+ main.c
+)
+
+add_executable (ipcpd ${SOURCE_FILES})
+
+target_link_libraries (ipcpd LINK_PUBLIC ouroboros)
+
+install(TARGETS ipcpd RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
diff --git a/src/ipcp/main.c b/src/ipcpd/main.c
index b67b0af9..b67b0af9 100644
--- a/src/ipcp/main.c
+++ b/src/ipcpd/main.c
diff --git a/src/ipcp/CMakeLists.txt b/src/irmd/CMakeLists.txt
index 845f5b7b..bda793b7 100644
--- a/src/ipcp/CMakeLists.txt
+++ b/src/irmd/CMakeLists.txt
@@ -9,8 +9,8 @@ set(SOURCE_FILES
main.c
)
-add_executable (ipcp ${SOURCE_FILES})
+add_executable (irmd ${SOURCE_FILES})
-target_link_libraries (ipcp LINK_PUBLIC ouroboros)
+target_link_libraries (irmd LINK_PUBLIC ouroboros)
-install(TARGETS ipcp RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
+install(TARGETS irmd RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
diff --git a/src/irm/main.c b/src/irmd/main.c
index 8ab071e0..8ab071e0 100644
--- a/src/irm/main.c
+++ b/src/irmd/main.c
diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt
new file mode 100644
index 00000000..6e00c17b
--- /dev/null
+++ b/src/tools/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory(irm)
diff --git a/src/irm/CMakeLists.txt b/src/tools/irm/CMakeLists.txt
index 82c73e38..82c73e38 100644
--- a/src/irm/CMakeLists.txt
+++ b/src/tools/irm/CMakeLists.txt
diff --git a/src/tools/irm/main.c b/src/tools/irm/main.c
new file mode 100644
index 00000000..bad1000e
--- /dev/null
+++ b/src/tools/irm/main.c
@@ -0,0 +1,32 @@
+/*
+ * Ouroboros - Copyright (C) 2016
+ *
+ * A tool to instruct the IRM
+ *
+ * Sander Vrijders <sander.vrijders@intec.ugent.be>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#define OUROBOROS_PREFIX "irm"
+
+#include <ouroboros/logs.h>
+
+int main () {
+
+ LOG_DBG("Test of the IRM tool");
+
+ return 0;
+}