diff --git a/src/Makefile.am b/src/Makefile.am
index e5b4e39bf9517062abc76ed6c7e1bb26e95267bd..b1051fda593a5e991ec7410fe1b9943d6de51a43 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -27,6 +27,7 @@ libopendht_la_SOURCES  = \
         dhtrunner.cpp \
         default_types.cpp \
         log.cpp \
+        peer_discovery.cpp \
         network_utils.h \
         network_utils.cpp
 
@@ -55,6 +56,7 @@ nobase_include_HEADERS = \
         ../include/opendht/default_types.h \
         ../include/opendht/log.h \
         ../include/opendht/log_enable.h \
+        ../include/opendht/peer_discovery.h \
         ../include/opendht/rng.h
 
 if ENABLE_PROXY_SERVER