commit fd34203020c6b2e30c2358e5c13ffc12eb879acb
parent 113612d5c11d774f806c412b0e8a60ca5dac53f2
Author: TheJackiMonster <thejackimonster@gmail.com>
Date: Mon, 17 Oct 2022 16:37:07 +0200
Adjust automake to not install static libraries, fix warning
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat:
4 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/resources/Makefile.am b/resources/Makefile.am
@@ -1,6 +1,6 @@
# This Makefile.am is in the public domain
-%.c: %.gresource.xml
+css.c ui.c: %.c: %.gresource.xml
glib-compile-resources --sourcedir=$(top_srcdir)/resources $< --generate-source
glib-compile-resources --sourcedir=$(top_srcdir)/resources $< --generate-header
@@ -12,7 +12,7 @@ AM_CFLAGS = \
-I$(top_srcdir)/resources \
@GLIB_CFLAGS@
-lib_LIBRARIES = libresources.a
+noinst_LIBRARIES = libresources.a
libresources_a_SOURCES = \
css.c css.h \
diff --git a/src/Makefile.am b/src/Makefile.am
@@ -31,9 +31,7 @@ messenger_gtk_SOURCES = \
messenger_gtk_LDADD = \
../resources/libresources.a \
chat/libchat.a \
- ui/libui.a
-
-messenger_gtk_LDFLAGS = \
+ ui/libui.a \
-lgnunetchat \
-lgnunetutil \
@GLIB_LIBS@ \
diff --git a/src/chat/Makefile.am b/src/chat/Makefile.am
@@ -4,7 +4,7 @@ AM_CFLAGS = \
-I$(top_srcdir)/src \
@GNUNET_CFLAGS@
-lib_LIBRARIES = libchat.a
+noinst_LIBRARIES = libchat.a
libchat_a_SOURCES = \
messenger.c messenger.h
diff --git a/src/ui/Makefile.am b/src/ui/Makefile.am
@@ -11,7 +11,7 @@ AM_CFLAGS = \
@NOTIFY_CFLAGS@ \
@QRENCODE_CFLAGS@
-lib_LIBRARIES = libui.a
+noinst_LIBRARIES = libui.a
libui_a_SOURCES = \
about.c about.h \