Update Makefiles
This commit is contained in:
parent
568b1b0a8a
commit
b4c684e0f9
15 changed files with 18 additions and 29 deletions
|
|
@ -4,12 +4,12 @@ libutil_NAME = libnixutil
|
|||
|
||||
libutil_DIR := $(d)
|
||||
|
||||
libutil_SOURCES = util.cc hash.cc serialise.cc archive.cc xml-writer.cc affinity.cc
|
||||
libutil_SOURCES := $(wildcard $(d)/*.cc)
|
||||
|
||||
ifeq ($(HAVE_OPENSSL), 1)
|
||||
libutil_LDFLAGS = $(OPENSSL_LIBS)
|
||||
else
|
||||
libutil_SOURCES += md5.c sha1.c sha256.c
|
||||
libutil_SOURCES += $(d)/md5.c $(d)/sha1.c $(d)/sha256.c
|
||||
endif
|
||||
|
||||
libutil_LIBS = libformat
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue