mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-01-31 15:36:47 +02:00
3fc77f281e
Progress on #5638
There are still a global fetcher and eval settings, but they are pushed
down into `libnixcmd`, which is a lot less bad a place for this sort of
thing.
Continuing process pioneered in
52bfccf8d8
.
25 lines
695 B
Makefile
25 lines
695 B
Makefile
libraries += libexprc
|
|
|
|
libexprc_NAME = libnixexprc
|
|
|
|
libexprc_DIR := $(d)
|
|
|
|
libexprc_SOURCES := \
|
|
$(wildcard $(d)/*.cc) \
|
|
|
|
# Not just for this library itself, but also for downstream libraries using this library
|
|
|
|
INCLUDE_libexprc := -I $(d)
|
|
libexprc_CXXFLAGS += $(INCLUDE_libutil) $(INCLUDE_libutilc) \
|
|
$(INCLUDE_libfetchers) \
|
|
$(INCLUDE_libstore) $(INCLUDE_libstorec) \
|
|
$(INCLUDE_libexpr) $(INCLUDE_libexprc)
|
|
|
|
libexprc_LIBS = libutil libutilc libstore libstorec libfetchers libexpr
|
|
|
|
libexprc_LDFLAGS += $(THREAD_LDFLAGS)
|
|
|
|
$(eval $(call install-file-in, $(d)/nix-expr-c.pc, $(libdir)/pkgconfig, 0644))
|
|
|
|
libexprc_FORCE_INSTALL := 1
|
|
|