nix-super/src/libutil/Makefile

16 lines
292 B
Makefile
Raw Normal View History

LIBS += libutil
libutil_NAME = libnixutil
libutil_DIR := $(d)
libutil_SOURCES = util.cc hash.cc serialise.cc archive.cc xml-writer.cc affinity.cc
2013-11-22 21:30:24 +02:00
ifeq ($(HAVE_OPENSSL), 1)
2013-11-22 22:56:58 +02:00
libutil_LDFLAGS = $(OPENSSL_LIBS)
2013-11-22 21:30:24 +02:00
else
2013-11-22 22:56:58 +02:00
libutil_SOURCES += md5.c sha1.c sha256.c
endif
libutil_LIBS = libformat