]> git.meshlink.io Git - catta/blobdiff - avahi-core/Makefile.am
* Compile tests only when --enable-tests was specified on the configure command line
[catta] / avahi-core / Makefile.am
index 95505b8991b52342c196817a97ac5a8f84976c72..95166157ede800f0755df3448ea6fb3577292218 100644 (file)
@@ -34,6 +34,7 @@ avahiinclude_HEADERS = \
 lib_LTLIBRARIES = \
        libavahi-core.la 
 
+if ENABLE_TESTS
 noinst_PROGRAMS = \
        prioq-test \
        avahi-test \
@@ -44,11 +45,12 @@ noinst_PROGRAMS = \
        hashmap-test \
        querier-test \
        update-test
+endif  
 
 libavahi_core_la_SOURCES = \
        timeeventq.c timeeventq.h\
        iface.c iface.h \
-       server.c server.h entry.c \
+       server.c internal.h entry.c \
        prioq.c prioq.h \
        cache.c cache.h \
        socket.c socket.h \