aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/Makefile.am
blob: 0c4073e66eabb23487ce7d1273a9a9a16bcc03f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pkglib_LTLIBRARIES = libutil.la

libutil_la_SOURCES = util.cc hash.cc serialise.cc \
  archive.cc xml-writer.cc affinity.cc

libutil_la_LIBADD = ../boost/format/libformat.la

pkginclude_HEADERS = util.hh hash.hh serialise.hh \
  archive.hh xml-writer.hh types.hh affinity.hh

if !HAVE_OPENSSL
libutil_la_SOURCES += \
 md5.c md5.h sha1.c sha1.h sha256.c sha256.h md32_common.h
else
libutil_la_LIBADD += @OPENSSL_LIBS@
endif

AM_CXXFLAGS = -Wall -I$(srcdir)/..