1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 23:28:26 -04:00
nix/src/libutil/local.mk

18 lines
296 B
Makefile
Raw Normal View History

2014-02-01 06:23:14 -05:00
libraries += libutil
libutil_NAME = libnixutil
libutil_DIR := $(d)
2014-01-09 10:53:47 -05:00
libutil_SOURCES := $(wildcard $(d)/*.cc)
libutil_LDFLAGS = -llzma
2013-11-22 14:30:24 -05:00
ifeq ($(HAVE_OPENSSL), 1)
libutil_LDFLAGS += $(OPENSSL_LIBS)
2013-11-22 14:30:24 -05:00
else
2014-01-09 10:53:47 -05:00
libutil_SOURCES += $(d)/md5.c $(d)/sha1.c $(d)/sha256.c
endif
libutil_LIBS = libformat