2014-02-01 06:23:14 -05:00
|
|
|
libraries += libutil
|
2013-11-22 09:54:18 -05:00
|
|
|
|
2013-11-23 18:53:41 -05:00
|
|
|
libutil_NAME = libnixutil
|
|
|
|
|
2013-11-22 11:45:52 -05:00
|
|
|
libutil_DIR := $(d)
|
2013-11-22 09:54:18 -05:00
|
|
|
|
2014-01-09 10:53:47 -05:00
|
|
|
libutil_SOURCES := $(wildcard $(d)/*.cc)
|
2013-11-22 09:54:18 -05:00
|
|
|
|
2013-11-22 14:30:24 -05:00
|
|
|
ifeq ($(HAVE_OPENSSL), 1)
|
2013-11-22 15:56:58 -05:00
|
|
|
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
|
2013-11-22 11:45:52 -05:00
|
|
|
endif
|
2013-11-22 09:54:18 -05:00
|
|
|
|
2013-11-23 15:11:02 -05:00
|
|
|
libutil_LIBS = libformat
|