gnunet-ext

Template for writing GNUnet extensions
Log | Files | Refs | README | LICENSE

Makefile.am (1403B)


      1 # This Makefile.am is in the public domain
      2 SUBDIRS = .
      3 
      4 AM_CPPFLAGS = \
      5   -I$(top_srcdir)/src/include \
      6   -I$(top_srcdir) \
      7   $(GNUNET_CPPFLAGS)
      8 
      9 # Set this variable if you are using GNUNET libraries for all programs and
     10 # libraries. You don't then need to target-specific _LDFLAGS with GNUNET_LDFLAGS
     11 # AM_LDFLAGS = \
     12 #   $(GNUNET_LDFLAGS) \
     13 #   $(WINFLAGS) \
     14 #   -export-dynamic
     15 
     16 lib_LTLIBRARIES = libgnunetext.la
     17 
     18 pkgcfgdir= $(prefix)/share/gnunet/config.d/
     19 
     20 libexecdir= $(prefix)/lib/gnunet/libexec/
     21 
     22 libgnunetext_la_SOURCES = \
     23   ext_api.c
     24 libgnunetext_la_LIBADD = \
     25   -lgnunetutil
     26 libgnunetext_la_LDFLAGS = \
     27   $(GNUNET_LDFLAGS)  $(WINFLAGS) \
     28   -version-info 0:0:0
     29 
     30 
     31 bin_PROGRAMS = gnunet-ext
     32 
     33 libexec_PROGRAMS = gnunet-service-ext
     34 
     35 check_PROGRAMS = \
     36  test_ext_api
     37 
     38 TESTS = $(check_PROGRAMS)
     39 
     40 gnunet_service_ext_SOURCES = \
     41   gnunet-service-ext.c
     42 gnunet_service_ext_LDADD = \
     43   -lgnunetutil -lgnunetcore -lgnunetdht\
     44   $(INTLLIBS)
     45 gnunet_service_ext_LDFLAGS = \
     46   $(GNUNET_LDFLAGS)  $(WINFLAGS) -export-dynamic
     47 
     48 gnunet_ext_SOURCES = \
     49   gnunet-ext.c
     50 gnunet_ext_LDADD = \
     51   -lgnunetutil \
     52   $(INTLLIBS)
     53 gnunet_ext_LDFLAGS = \
     54  $(GNUNET_LDFLAGS) $(WINFLAGS) -export-dynamic
     55 
     56 
     57 
     58 test_ext_api_SOURCES = \
     59  test_ext_api.c
     60 test_ext_api_LDADD = \
     61   $(top_builddir)/src/ext/libgnunetext.la \
     62   -lgnunetutil
     63 test_ext_api_LDFLAGS = \
     64  $(GNUNET_LDFLAGS)  $(WINFLAGS) -export-dynamic
     65 
     66 pkgcfg_DATA = ext.conf