X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fhello%2FMakefile.am;h=26aa6c7c48804d6aa0a3801bd276b1abd8ab4167;hb=07120d4c0d2ca7d54d20c85e936763675b832c98;hp=703776c6556aea24837b910871258fedd1bce8f7;hpb=e3dca1bf40ac8d8a884c261045ad1e9cade49a15;p=oweals%2Fgnunet.git diff --git a/src/hello/Makefile.am b/src/hello/Makefile.am index 703776c65..26aa6c7c4 100644 --- a/src/hello/Makefile.am +++ b/src/hello/Makefile.am @@ -12,14 +12,20 @@ endif lib_LTLIBRARIES = libgnunethello.la libgnunethello_la_SOURCES = \ - hello.c + hello.c address.c libgnunethello_la_LIBADD = \ $(top_builddir)/src/util/libgnunetutil.la $(XLIB) +libgnunethello_la_LDFLAGS = \ + $(GN_LIB_LDFLAGS) \ + -version-info 0:0:0 + +noinst_PROGRAMS = \ + gnunet-hello check_PROGRAMS = \ test_hello -if !DISABLE_TEST_RUN +if ENABLE_TEST_RUN TESTS = $(check_PROGRAMS) endif @@ -29,3 +35,13 @@ test_hello_LDADD = \ $(top_builddir)/src/hello/libgnunethello.la \ $(top_builddir)/src/util/libgnunetutil.la + +gnunet_hello_SOURCES = \ + gnunet-hello.c +gnunet_hello_LDADD = \ + $(top_builddir)/src/hello/libgnunethello.la \ + $(top_builddir)/src/util/libgnunetutil.la +gnunet_hello_DEPENDENCIES = \ + libgnunethello.la \ + $(top_builddir)/src/util/libgnunetutil.la +