-code cleanup
[oweals/gnunet.git] / src / core / Makefile.am
index bac9295018f70d90de3b1493648f3d6b49894a80..ad9bddcb698ca4421b6148a333ea39205b2cf759 100644 (file)
@@ -1,5 +1,10 @@
 INCLUDES = -I$(top_srcdir)/src/include
 
+pkgcfgdir= $(pkgdatadir)/config.d/
+
+pkgcfg_DATA = \
+  core.conf
+
 if MINGW
   WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
 endif
@@ -29,14 +34,19 @@ bin_PROGRAMS = \
  gnunet-core-list-connections
 
 gnunet_service_core_SOURCES = \
- gnunet-service-core.c 
+ gnunet-service-core.c gnunet-service-core.h \
+ gnunet-service-core_clients.c gnunet-service-core_clients.h \
+ gnunet-service-core_neighbours.c gnunet-service-core_neighbours.h \
+ gnunet-service-core_kx.c gnunet-service-core_kx.h \
+ gnunet-service-core_sessions.c gnunet-service-core_sessions.h \
+ gnunet-service-core_typemap.c gnunet-service-core_typemap.h
 gnunet_service_core_LDADD = \
   $(top_builddir)/src/hello/libgnunethello.la \
   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
   $(top_builddir)/src/statistics/libgnunetstatistics.la \
   $(top_builddir)/src/transport/libgnunettransport.la \
   $(top_builddir)/src/util/libgnunetutil.la \
-  $(GN_LIBINTL)
+  $(GN_LIBINTL) -lz
 
 
 gnunet_core_list_connections_SOURCES = \
@@ -52,7 +62,6 @@ gnunet_core_list_connections_DEPENDENCIES = \
 check_PROGRAMS = \
  test_core_api_start_only \
  test_core_api \
- test_core_api_preferences \
  test_core_api_reliability \
  test_core_quota_compliance_symmetric \
  test_core_quota_compliance_asymmetric_send_limited \
@@ -77,13 +86,6 @@ test_core_api_reliability_LDADD = \
  $(top_builddir)/src/transport/libgnunettransport.la \
  $(top_builddir)/src/util/libgnunetutil.la
 
-test_core_api_preferences_SOURCES = \
- test_core_api_preferences.c
-test_core_api_preferences_LDADD = \
- $(top_builddir)/src/core/libgnunetcore.la \
- $(top_builddir)/src/transport/libgnunettransport.la \
- $(top_builddir)/src/util/libgnunetutil.la
-
 test_core_api_send_to_self_SOURCES = \
  test_core_api_send_to_self.c
 test_core_api_send_to_self_LDADD = \
@@ -122,14 +124,13 @@ test_core_quota_compliance_asymmetric_recv_limited_LDADD = \
  $(top_builddir)/src/statistics/libgnunetstatistics.la
 
 EXTRA_DIST = \
+  test_core_defaults.conf \
   test_core_api_data.conf \
   test_core_api_peer1.conf \
   test_core_api_peer2.conf \
   test_core_api_send_to_self.conf \
   test_core_quota_asymmetric_recv_limited_peer1.conf \
   test_core_quota_asymmetric_recv_limited_peer2.conf \
-  test_core_quota_asymmetric_send_limited_peer1.conf \
-  test_core_quota_asymmetric_send_limited_peer2.conf \
   test_core_quota_asymmetric_send_limit_peer1.conf \
   test_core_quota_asymmetric_send_limit_peer2.conf \
   test_core_quota_peer1.conf \