about summary refs log tree commit diff
path: root/src/libutil/local.mk
blob: 8af2e78d9ce4301b9d03acc9fb22c172080841ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
libraries += libutil

libutil_NAME = libnixutil

libutil_DIR := $(d)

libutil_SOURCES := $(wildcard $(d)/*.cc)

ifeq ($(HAVE_OPENSSL), 1)
  libutil_LDFLAGS = $(OPENSSL_LIBS)
else
  libutil_SOURCES += $(d)/md5.c $(d)/sha1.c $(d)/sha256.c
endif

libutil_LIBS = libformat