aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/Makefile
blob: b604c007870993c410c2c0e24992247e636728af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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