Lines 1-55
Link Here
|
1 |
--- lib/Makefile.am.orig 2014-11-11 10:10:39.971972968 -0500 |
1 |
--- lib/Makefile.am.orig 2015-01-27 22:48:22.000000000 -0500 |
2 |
+++ lib/Makefile.am 2014-11-11 10:37:36.712929368 -0500 |
2 |
+++ lib/Makefile.am 2015-01-27 22:49:06.000000000 -0500 |
3 |
@@ -19,7 +19,6 @@ |
3 |
@@ -61,6 +61,7 @@ |
4 |
peer-common.h \ |
|
|
5 |
string-util.h \ |
6 |
libccnet_utils.h \ |
7 |
- ccnet-object.h \ |
8 |
rpc-common.h \ |
9 |
net.h \ |
10 |
utils.h \ |
11 |
@@ -60,12 +59,14 @@ |
12 |
|
13 |
libccnetd_la_LDFLAGS = -no-undefined |
4 |
libccnetd_la_LDFLAGS = -no-undefined |
14 |
libccnetd_la_LIBADD = @GLIB2_LIBS@ @GOBJECT_LIBS@ @SSL_LIBS@ @LIB_GDI32@ \ |
5 |
libccnetd_la_LIBADD = @GLIB2_LIBS@ @GOBJECT_LIBS@ @SSL_LIBS@ @LIB_GDI32@ \ |
15 |
- -lsqlite3 -levent @LIB_WS32@ @LIB_UUID@ \ |
6 |
-lsqlite3 @LIBEVENT_LIBS@ @LIB_WS32@ @LIB_UUID@ \ |
16 |
+ -lsqlite3 -levent @LIB_WS32@ @LIB_UUID@ -lkvm \ |
7 |
+ @LIB_KVM@ \ |
17 |
@LIB_SHELL32@ @LIB_PSAPI@ @SEARPC_LIBS@ |
8 |
@LIB_SHELL32@ @LIB_PSAPI@ @SEARPC_LIBS@ |
18 |
|
9 |
|
19 |
|
10 |
|
20 |
ccnet_object_define = ccnetobj.vala |
|
|
21 |
|
22 |
+valac_gen = ccnetobj.c ccnet-object.h |
23 |
+ |
24 |
ccnet-client.c: ccnet-object.h |
25 |
|
26 |
ccnet-object.h: ${ccnet_object_define} |
27 |
@@ -78,15 +79,23 @@ |
28 |
|
29 |
searpc_gen = searpc-signature.h searpc-marshal.h |
30 |
|
31 |
-gensource: ${searpc_gen} |
32 |
+gensource: ${searpc_gen} ${valac_gen} |
33 |
|
34 |
-${searpc_gen}: $(top_srcdir)/lib/rpc_table.py |
35 |
+rpc_table.stamp: ${top_srcdir}/lib/rpc_table.py |
36 |
+ @rm -f rpc_table.tmp |
37 |
+ @touch rpc_table.tmp |
38 |
@echo "[libsearpc]: generating rpc header files" |
39 |
- @PYTHON@ `which searpc-codegen.py` $(top_srcdir)/lib/rpc_table.py |
40 |
+ @PYTHON@ `which searpc-codegen.py` ${top_srcdir}/lib/rpc_table.py |
41 |
@echo "[libsearpc]: done" |
42 |
+ @mv -f rpc_table.tmp $@ |
43 |
+ |
44 |
+${searpc_gen}: rpc_table.stamp |
45 |
|
46 |
clean-local: |
47 |
rm -f ${searpc_gen} |
48 |
- rm -f $(top_srcdir)/lib/rpc_table.pyc |
49 |
+ rm -f rpc_table.pyc |
50 |
+ rm -f rpc_table.stamp |
51 |
+ rm -f rpc_table.tmp |
52 |
+ rm -f ${valac_gen} |
53 |
|
54 |
-CLEANFILES = ${searpc_gen} |
55 |
+CLEANFILES = ${searpc_gen} ${valac_gen} |