about summary refs log tree commit diff
path: root/src/libutil/Makefile
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-25T15·25+0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-11-25T15·25+0000
commit7ce0e05ad875657a0fec10e192454b837146e190 (patch)
tree72e58bc1ef06755fdfd701d77a61a1144a6b576f /src/libutil/Makefile
parent962551a071da87589a97a2f40d72b87d6e6ba9e2 (diff)
Rename Makefile.new -> Makefile
Diffstat (limited to 'src/libutil/Makefile')
-rw-r--r--src/libutil/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libutil/Makefile b/src/libutil/Makefile
new file mode 100644
index 000000000000..b604c0078709
--- /dev/null
+++ b/src/libutil/Makefile
@@ -0,0 +1,15 @@
+LIBS += libutil
+
+libutil_NAME = libnixutil
+
+libutil_DIR := $(d)
+
+libutil_SOURCES = util.cc hash.cc serialise.cc archive.cc xml-writer.cc affinity.cc
+
+ifeq ($(HAVE_OPENSSL), 1)
+  libutil_LDFLAGS = $(OPENSSL_LIBS)
+else
+  libutil_SOURCES += md5.c sha1.c sha256.c
+endif
+
+libutil_LIBS = libformat