about summary refs log tree commit diff
path: root/src/libutil/Makefile
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-09T15·53+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-09T15·53+0100
commitb4c684e0f9c6890e13f9a5cc90b5e379b3d1f75d (patch)
tree1725a8dfe010d2587fcf3b1c3f930bbdacaea8a6 /src/libutil/Makefile
parent568b1b0a8a65cb255d6a7a33dfe2c15df3212103 (diff)
Update Makefiles
Diffstat (limited to 'src/libutil/Makefile')
-rw-r--r--src/libutil/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/Makefile b/src/libutil/Makefile
index b604c0078709..83bd05f281d6 100644
--- a/src/libutil/Makefile
+++ b/src/libutil/Makefile
@@ -4,12 +4,12 @@ libutil_NAME = libnixutil
 
 libutil_DIR := $(d)
 
-libutil_SOURCES = util.cc hash.cc serialise.cc archive.cc xml-writer.cc affinity.cc
+libutil_SOURCES := $(wildcard $(d)/*.cc)
 
 ifeq ($(HAVE_OPENSSL), 1)
   libutil_LDFLAGS = $(OPENSSL_LIBS)
 else
-  libutil_SOURCES += md5.c sha1.c sha256.c
+  libutil_SOURCES += $(d)/md5.c $(d)/sha1.c $(d)/sha256.c
 endif
 
 libutil_LIBS = libformat