mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 14:36:16 +02:00
423484ad26
We don't want this with MinGW.
21 lines
625 B
Makefile
21 lines
625 B
Makefile
libraries += libutil
|
|
|
|
libutil_NAME = libnixutil
|
|
|
|
libutil_DIR := $(d)
|
|
|
|
libutil_SOURCES := $(wildcard $(d)/*.cc $(d)/signature/*.cc)
|
|
|
|
libutil_CXXFLAGS += -I src/libutil
|
|
|
|
libutil_LDFLAGS += $(THREAD_LDFLAGS) $(LIBCURL_LIBS) $(SODIUM_LIBS) $(OPENSSL_LIBS) $(LIBBROTLI_LIBS) $(LIBARCHIVE_LIBS) $(BOOST_LDFLAGS) -lboost_context
|
|
|
|
$(foreach i, $(wildcard $(d)/args/*.hh), \
|
|
$(eval $(call install-file-in, $(i), $(includedir)/nix/args, 0644)))
|
|
$(foreach i, $(wildcard $(d)/signature/*.hh), \
|
|
$(eval $(call install-file-in, $(i), $(includedir)/nix/signature, 0644)))
|
|
|
|
|
|
ifeq ($(HAVE_LIBCPUID), 1)
|
|
libutil_LDFLAGS += -lcpuid
|
|
endif
|