1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-09-24 19:56:52 +00:00

[lib] include json-glib in source tree

This commit is contained in:
lins05
2012-05-08 11:59:31 +08:00
parent 1ee6b15baf
commit 47ffe05a59
83 changed files with 30653 additions and 36 deletions

View File

@@ -19,8 +19,9 @@ generated_sources = fcall-impr.h searpc-fcall.h searpc-dfun.h \
# rpc_headers = fcall-impr.h searpc-fcall.h searpc-dfun.h searpc-signature.h searpc-marshal.h
AM_CFLAGS = @GLIB2_CFLAGS@ @GOBJECT_CFLAGS@ @JSON_GLIB_CFLAGS@ \
AM_CFLAGS = @GLIB_CFLAGS@ \
-I${top_builddir}/lib \
-I${top_srcdir}/json-glib \
-I${top_srcdir}/lib \
-DG_LOG_DOMAIN=\"Searpc\"
@@ -38,7 +39,8 @@ libsearpc_la_SOURCES = searpc-client.c searpc-server.c $(generated_sources)
libsearpc_la_LDFLAGS = -version-info 1:1:0 -no-undefined
libsearpc_la_LIBADD = @GLIB2_LIBS@ @GOBJECT_LIBS@ @JSON_GLIB_LIBS@
libsearpc_la_LIBADD = @GLIB_LIBS@ \
${top_builddir}/json-glib/json-glib/libjson-glib.la
genrpc_files = gencode.py rpc_table.py

View File

@@ -2,7 +2,7 @@
#include <stdio.h>
#include <string.h>
#include <json-glib/json-glib.h>
#include "json-glib/json-glib.h"
#include "searpc-client.h"
#include "searpc-utils.h"

View File

@@ -5,7 +5,7 @@
#include <string.h>
#include <stdarg.h>
#include <json-glib/json-glib.h>
#include "json-glib/json-glib.h"
#include "searpc-server.h"
#include "searpc-utils.h"

View File

@@ -1,7 +1,7 @@
#ifndef SEARPC_UTILS_H
#define SEARPC_UTILS_H
#include <json-glib/json-glib.h>
#include "json-glib/json-glib.h"
inline static const gchar *