diff options
-rw-r--r-- | CMakeLists.txt | 5 | ||||
-rw-r--r-- | ast.c | 1 | ||||
-rw-r--r-- | eval.c | 1 | ||||
-rw-r--r-- | main.c | 2 |
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) @@ -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, ...) @@ -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) @@ -27,8 +27,6 @@ #include <json-c/json.h> #endif -#include <libubox/utils.h> - #include "lexer.h" #include "parser.h" #include "eval.h" |