2013-11-22 15:54:18 +01:00
|
|
|
LIBS += libutil
|
|
|
|
|
2013-11-22 17:45:52 +01:00
|
|
|
libutil_DIR := $(d)
|
2013-11-22 15:54:18 +01:00
|
|
|
|
2013-11-22 17:45:52 +01:00
|
|
|
libutil_SOURCES = util.cc hash.cc serialise.cc archive.cc xml-writer.cc affinity.cc
|
2013-11-22 15:54:18 +01:00
|
|
|
|
2013-11-22 20:30:24 +01:00
|
|
|
ifeq ($(HAVE_OPENSSL), 1)
|
|
|
|
libutil_LDFLAGS = $(OPENSSL_LIBS)
|
|
|
|
else
|
2013-11-22 17:45:52 +01:00
|
|
|
libutil_SOURCES += md5.c sha1.c sha256.c
|
|
|
|
endif
|
2013-11-22 15:54:18 +01:00
|
|
|
|
|
|
|
libutil_LIBS = src/boost/format/libformat
|