summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt5
-rw-r--r--ast.c1
-rw-r--r--eval.c1
-rw-r--r--main.c2
4 files changed, 1 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 313618a..1a79f04 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,13 +37,10 @@ ADD_CUSTOM_COMMAND(
COMMENT "Generating parser.c"
)
-FIND_PATH(ubox_include_dir libubox/list.h)
-INCLUDE_DIRECTORIES(${ubox_include_dir})
-
SET_PROPERTY(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "lemon;parser.h;parser.out")
SET_SOURCE_FILES_PROPERTIES("parser.c" PROPERTIES GENERATED TRUE COMPILE_FLAGS -Wno-error=unused-but-set-variable)
ADD_EXECUTABLE(utpl main.c ast.c lexer.c parser.c eval.c lib.c)
-TARGET_LINK_LIBRARIES(utpl ubox ${json})
+TARGET_LINK_LIBRARIES(utpl ${json})
CHECK_FUNCTION_EXISTS(ceil CEIL_FUNCTION_EXISTS)
IF (NOT CEIL_FUNCTION_EXISTS)
diff --git a/ast.c b/ast.c
index ab4f873..0b07e10 100644
--- a/ast.c
+++ b/ast.c
@@ -23,7 +23,6 @@
#include <stdarg.h>
#include <string.h>
#include <math.h>
-#include <libubox/utils.h>
struct ut_opcode *
ut_new_op(struct ut_state *s, int type, struct json_object *val, ...)
diff --git a/eval.c b/eval.c
index fd0bd5b..d49356b 100644
--- a/eval.c
+++ b/eval.c
@@ -24,7 +24,6 @@
#include <errno.h>
#include <stdlib.h>
#include <stdarg.h>
-#include <libubox/utils.h>
#define T_MAX (sizeof(tokennames) / sizeof(tokennames[0]))
#define T_EXCEPTION (T_MAX + 0)
diff --git a/main.c b/main.c
index c119d58..ae10265 100644
--- a/main.c
+++ b/main.c
@@ -27,8 +27,6 @@
#include <json-c/json.h>
#endif
-#include <libubox/utils.h>
-
#include "lexer.h"
#include "parser.h"
#include "eval.h"