summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 0d25a7c..3439f4b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,13 +1,10 @@
+pkgconfigdir = $(libdir)/pkgconfig
+
if BUILD_LIBZMQ
lib_LTLIBRARIES = libxs.la libxszmq.la libzmq.la
-else
-lib_LTLIBRARIES = libxs.la libxszmq.la
-endif
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libxs.pc libxszmq.pc
+pkgconfig_DATA = libxs.pc libxszmq.pc libzmq.pc
-if BUILD_LIBZMQ
include_HEADERS = ../include/xs.h ../include/xs_utils.h \
../include/xszmq.h ../include/xszmq_utils.h \
../include/zmq.h ../include/zmq_utils.h
@@ -21,6 +18,10 @@ include_HEADERS = ../include/xs.h ../include/xs_utils.h \
distclean-local:
-rm -f ../include/zmq.h ../include/zmq_utils.h
else
+lib_LTLIBRARIES = libxs.la libxszmq.la
+
+pkgconfig_DATA = libxs.pc libxszmq.pc
+
include_HEADERS = ../include/xs.h ../include/xs_utils.h \
../include/xszmq.h ../include/xszmq_utils.h
endif