diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-03-07 08:25:21 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-03-07 08:25:21 +0000 |
commit | eea75837a9381eefce5cbc341d9067c6d460c294 (patch) | |
tree | 2ae4b18924ec4eaccda2b2bc00e38d528eae8bd3 | |
parent | 6e05a9a7f9782349ae50019ea67937979f091abd (diff) | |
download | gnunet-gtk-eea75837a9381eefce5cbc341d9067c6d460c294.tar.gz gnunet-gtk-eea75837a9381eefce5cbc341d9067c6d460c294.zip |
-modernize automake rules, fix return value
-rw-r--r-- | src/conversation/Makefile.am | 6 | ||||
-rw-r--r-- | src/fs/Makefile.am | 2 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk_event-handler.c | 2 | ||||
-rw-r--r-- | src/identity/Makefile.am | 8 | ||||
-rw-r--r-- | src/lib/Makefile.am | 4 | ||||
-rw-r--r-- | src/peerinfo/Makefile.am | 2 | ||||
-rw-r--r-- | src/setup/Makefile.am | 2 | ||||
-rw-r--r-- | src/statistics/Makefile.am | 12 |
8 files changed, 19 insertions, 19 deletions
diff --git a/src/conversation/Makefile.am b/src/conversation/Makefile.am index 0fade1d1..afddc653 100644 --- a/src/conversation/Makefile.am +++ b/src/conversation/Makefile.am | |||
@@ -1,6 +1,6 @@ | |||
1 | SUBDIRS = . | 1 | SUBDIRS = . |
2 | 2 | ||
3 | INCLUDES = \ | 3 | AM_CPPFLAGS = \ |
4 | -I$(top_srcdir)/ \ | 4 | -I$(top_srcdir)/ \ |
5 | -I$(top_srcdir)/src/include \ | 5 | -I$(top_srcdir)/src/include \ |
6 | @GTK_CFLAGS@ \ | 6 | @GTK_CFLAGS@ \ |
@@ -13,14 +13,14 @@ endif | |||
13 | 13 | ||
14 | gnunet_conversation_gtk_SOURCES = \ | 14 | gnunet_conversation_gtk_SOURCES = \ |
15 | gnunet-conversation-gtk.c \ | 15 | gnunet-conversation-gtk.c \ |
16 | gnunet-conversation-gtk.h \ | 16 | gnunet-conversation-gtk.h \ |
17 | gnunet-conversation-gtk_phone.c \ | 17 | gnunet-conversation-gtk_phone.c \ |
18 | gnunet-conversation-gtk_phone.h \ | 18 | gnunet-conversation-gtk_phone.h \ |
19 | gnunet-conversation-gtk_contacts.c \ | 19 | gnunet-conversation-gtk_contacts.c \ |
20 | gnunet-conversation-gtk_contacts.h \ | 20 | gnunet-conversation-gtk_contacts.h \ |
21 | gnunet-conversation-gtk_history.c \ | 21 | gnunet-conversation-gtk_history.c \ |
22 | gnunet-conversation-gtk_history.h \ | 22 | gnunet-conversation-gtk_history.h \ |
23 | gnunet-conversation-gtk_about.c | 23 | gnunet-conversation-gtk_about.c |
24 | 24 | ||
25 | gnunet_conversation_gtk_LDADD = \ | 25 | gnunet_conversation_gtk_LDADD = \ |
26 | $(top_builddir)/src/lib/libgnunetgtk.la \ | 26 | $(top_builddir)/src/lib/libgnunetgtk.la \ |
diff --git a/src/fs/Makefile.am b/src/fs/Makefile.am index 906b2936..dcd4d700 100644 --- a/src/fs/Makefile.am +++ b/src/fs/Makefile.am | |||
@@ -1,6 +1,6 @@ | |||
1 | SUBDIRS = . | 1 | SUBDIRS = . |
2 | 2 | ||
3 | INCLUDES = \ | 3 | AM_CPPFLAGS = \ |
4 | -I$(top_srcdir)/ \ | 4 | -I$(top_srcdir)/ \ |
5 | -I$(top_srcdir)/src/include \ | 5 | -I$(top_srcdir)/src/include \ |
6 | @GTK_CFLAGS@ \ | 6 | @GTK_CFLAGS@ \ |
diff --git a/src/fs/gnunet-fs-gtk_event-handler.c b/src/fs/gnunet-fs-gtk_event-handler.c index 04b38119..608a81ba 100644 --- a/src/fs/gnunet-fs-gtk_event-handler.c +++ b/src/fs/gnunet-fs-gtk_event-handler.c | |||
@@ -1310,7 +1310,7 @@ search_list_popup (GtkTreeModel *tm, | |||
1310 | if (NULL == sr) | 1310 | if (NULL == sr) |
1311 | { | 1311 | { |
1312 | GNUNET_break (0); | 1312 | GNUNET_break (0); |
1313 | return; | 1313 | return NULL; |
1314 | } | 1314 | } |
1315 | if (NULL != sr->meta) | 1315 | if (NULL != sr->meta) |
1316 | is_directory = GNUNET_FS_meta_data_test_for_directory (sr->meta); | 1316 | is_directory = GNUNET_FS_meta_data_test_for_directory (sr->meta); |
diff --git a/src/identity/Makefile.am b/src/identity/Makefile.am index 119908fb..1ba001ac 100644 --- a/src/identity/Makefile.am +++ b/src/identity/Makefile.am | |||
@@ -1,6 +1,6 @@ | |||
1 | SUBDIRS = . | 1 | SUBDIRS = . |
2 | 2 | ||
3 | INCLUDES = \ | 3 | AM_CPPFLAGS = \ |
4 | -I$(top_srcdir)/ \ | 4 | -I$(top_srcdir)/ \ |
5 | -I$(top_srcdir)/src/include \ | 5 | -I$(top_srcdir)/src/include \ |
6 | @GTK_CFLAGS@ \ | 6 | @GTK_CFLAGS@ \ |
@@ -12,12 +12,12 @@ bin_PROGRAMS = gnunet-identity-gtk | |||
12 | gnunet_identity_gtk_SOURCES = \ | 12 | gnunet_identity_gtk_SOURCES = \ |
13 | gnunet-identity-gtk.c gnunet-identity-gtk.h \ | 13 | gnunet-identity-gtk.c gnunet-identity-gtk.h \ |
14 | gnunet-identity-gtk_about.c \ | 14 | gnunet-identity-gtk_about.c \ |
15 | gnunet-identity-gtk_advertise.c gnunet-identity-gtk_advertise.h | 15 | gnunet-identity-gtk_advertise.c gnunet-identity-gtk_advertise.h |
16 | gnunet_identity_gtk_LDADD = \ | 16 | gnunet_identity_gtk_LDADD = \ |
17 | $(top_builddir)/src/lib/libgnunetgtk.la \ | 17 | $(top_builddir)/src/lib/libgnunetgtk.la \ |
18 | @GTK_LIBS@ \ | 18 | @GTK_LIBS@ \ |
19 | @GLADE_LIBS@ @GNUNET_LIBS@ \ | 19 | @GLADE_LIBS@ @GNUNET_LIBS@ \ |
20 | -lgnunetutil -lgnunetidentity -lgnunetfs -lextractor \ | 20 | -lgnunetutil -lgnunetidentity -lgnunetfs -lextractor \ |
21 | $(INTLLIBS) | 21 | $(INTLLIBS) |
22 | gnunet_identity_gtk_LDFLAGS = \ | 22 | gnunet_identity_gtk_LDFLAGS = \ |
23 | -export-dynamic | 23 | -export-dynamic |
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index 68577c11..b91a87ab 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am | |||
@@ -1,4 +1,4 @@ | |||
1 | INCLUDES = \ | 1 | AM_CPPFLAGS = \ |
2 | -I$(top_srcdir)/ \ | 2 | -I$(top_srcdir)/ \ |
3 | -I$(top_srcdir)/src/include \ | 3 | -I$(top_srcdir)/src/include \ |
4 | @GTK_CFLAGS@ \ | 4 | @GTK_CFLAGS@ \ |
@@ -19,7 +19,7 @@ libgnunetgtk_la_SOURCES = \ | |||
19 | misc.c \ | 19 | misc.c \ |
20 | nls.c \ | 20 | nls.c \ |
21 | os_installation.c \ | 21 | os_installation.c \ |
22 | trayicon.c | 22 | trayicon.c |
23 | libgnunetgtk_la_LIBADD = \ | 23 | libgnunetgtk_la_LIBADD = \ |
24 | -lgnunetutil $(XLIB) \ | 24 | -lgnunetutil $(XLIB) \ |
25 | @GTK_LIBS@ @GNUNET_LIBS@ @GLADE_LIBS@ $(INTLLIBS) | 25 | @GTK_LIBS@ @GNUNET_LIBS@ @GLADE_LIBS@ $(INTLLIBS) |
diff --git a/src/peerinfo/Makefile.am b/src/peerinfo/Makefile.am index 2565b1e0..624ae4aa 100644 --- a/src/peerinfo/Makefile.am +++ b/src/peerinfo/Makefile.am | |||
@@ -1,6 +1,6 @@ | |||
1 | SUBDIRS = . | 1 | SUBDIRS = . |
2 | 2 | ||
3 | INCLUDES = \ | 3 | AM_CPPFLAGS = \ |
4 | -I$(top_srcdir)/ \ | 4 | -I$(top_srcdir)/ \ |
5 | -I$(top_srcdir)/src/include \ | 5 | -I$(top_srcdir)/src/include \ |
6 | @GTK_CFLAGS@ \ | 6 | @GTK_CFLAGS@ \ |
diff --git a/src/setup/Makefile.am b/src/setup/Makefile.am index 5f3aeb6f..fce1f61f 100644 --- a/src/setup/Makefile.am +++ b/src/setup/Makefile.am | |||
@@ -1,6 +1,6 @@ | |||
1 | SUBDIRS = . | 1 | SUBDIRS = . |
2 | 2 | ||
3 | INCLUDES = \ | 3 | AM_CPPFLAGS = \ |
4 | -I$(top_srcdir)/ \ | 4 | -I$(top_srcdir)/ \ |
5 | -I$(top_srcdir)/src/include | 5 | -I$(top_srcdir)/src/include |
6 | 6 | ||
diff --git a/src/statistics/Makefile.am b/src/statistics/Makefile.am index d9f2988a..a1b589e5 100644 --- a/src/statistics/Makefile.am +++ b/src/statistics/Makefile.am | |||
@@ -1,13 +1,13 @@ | |||
1 | SUBDIRS = . | 1 | SUBDIRS = . |
2 | 2 | ||
3 | INCLUDES = \ | 3 | AM_CPPFLAGS = \ |
4 | -I$(top_srcdir)/ \ | 4 | -I$(top_srcdir)/ \ |
5 | -I$(top_srcdir)/src/include \ | 5 | -I$(top_srcdir)/src/include \ |
6 | @GTK_CFLAGS@ \ | 6 | @GTK_CFLAGS@ \ |
7 | @GNUNET_CFLAGS@ \ | 7 | @GNUNET_CFLAGS@ \ |
8 | @GLADE_CFLAGS@ | 8 | @GLADE_CFLAGS@ |
9 | 9 | ||
10 | bin_PROGRAMS = gnunet-statistics-gtk | 10 | bin_PROGRAMS = gnunet-statistics-gtk |
11 | 11 | ||
12 | noinst_PROGRAMS = gtk_statistics_demo | 12 | noinst_PROGRAMS = gtk_statistics_demo |
13 | 13 | ||
@@ -20,15 +20,15 @@ gnunet_statistics_gtk_LDADD = \ | |||
20 | @GTK_LIBS@ \ | 20 | @GTK_LIBS@ \ |
21 | @GLADE_LIBS@ @GNUNET_LIBS@ \ | 21 | @GLADE_LIBS@ @GNUNET_LIBS@ \ |
22 | -lgnunetutil -lgnunetstatistics -lgnunetcore -lgnunettransport \ | 22 | -lgnunetutil -lgnunetstatistics -lgnunetcore -lgnunettransport \ |
23 | $(INTLLIBS) | 23 | $(INTLLIBS) |
24 | gnunet_statistics_gtk_LDFLAGS = \ | 24 | gnunet_statistics_gtk_LDFLAGS = \ |
25 | -export-dynamic | 25 | -export-dynamic |
26 | 26 | ||
27 | gtk_statistics_demo_SOURCES = \ | 27 | gtk_statistics_demo_SOURCES = \ |
28 | gtk_statistics.c gtk_statistics.h gtk_statistics_demo.c | 28 | gtk_statistics.c gtk_statistics.h gtk_statistics_demo.c |
29 | gtk_statistics_demo_LDADD = \ | 29 | gtk_statistics_demo_LDADD = \ |
30 | @GTK_LIBS@ \ | 30 | @GTK_LIBS@ \ |
31 | @GLADE_LIBS@ @GNUNET_LIBS@ -lm \ | 31 | @GLADE_LIBS@ @GNUNET_LIBS@ -lm \ |
32 | $(INTLLIBS) | 32 | $(INTLLIBS) |
33 | gtk_statistics_demo_LDFLAGS = \ | 33 | gtk_statistics_demo_LDFLAGS = \ |
34 | -export-dynamic | 34 | -export-dynamic |