Commit 88dc7a6e authored by xHire's avatar xHire
Browse files

Integration into autotools, some bugs fixed

parent 9052ad6c
......@@ -11,6 +11,7 @@ src_coincerd_SOURCES = \
src/daemon_messages_processor.c src/daemon_messages_processor.h \
src/global_state.c src/global_state.h \
src/hosts.c src/hosts.h \
src/jansson_wrapper.c src/jansson_wrapper.h \
src/json_parser.c src/json_parser.h \
src/linkedlist.c src/linkedlist.h \
src/log.c src/log.h \
......@@ -20,6 +21,13 @@ src_coincerd_SOURCES = \
src/paths.c src/paths.h \
src/peers.c src/peers.h \
src/routing.c src/routing.h \
src/rpc_endpoints/rpc_endpoint_template.c src/rpc_endpoints/rpc_endpoint_template.h \
src/rpc_endpoints/trading/accept_order.c src/rpc_endpoints/trading/accept_order.h \
src/rpc_endpoints/trading/market_view.c src/rpc_endpoints/trading/market_view.h \
src/rpc_endpoints/trading/new_order.c src/rpc_endpoints/trading/new_order.h \
src/rpc_endpoints/trading/order_list.c src/rpc_endpoints/trading/order_list.h \
src/rpc_manager.c src/rpc_manager.h \
src/rpc_method_description.c src/rpc_method_description.h \
src/trade.c src/trade.h \
src/trade_basic.c src/trade_basic.h
......
......@@ -13,11 +13,11 @@ AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADER([src/autoconfig.h])
dnl Enable "automake" to simplify creating makefiles:
AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror])
AM_INIT_AUTOMAKE([foreign subdir-objects -Wall -Werror])
AC_CONFIG_FILES([Makefile])
dnl Compiler flags
AM_CFLAGS="-std=c89 -pedantic -Wall -Wextra -pipe"
AM_CFLAGS="-std=c99 -pedantic -Wall -Wextra -pipe"
dnl Checks for programs.
dnl C compiler
......
......@@ -19,9 +19,10 @@
#ifndef RPC_METHOD_DESCRIPTION_H
#define RPC_METHOD_DESCRIPTION_H
#include <stdio.h>
#include <jansson.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
typedef enum rpc_error {
RPC_ERROR_NONE = 0,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment