2024-03-28 20:00:04 +02:00
|
|
|
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)
|
|
|
|
|
2024-07-01 20:37:30 +03:00
|
|
|
libexprc_LIBS = libutil libutilc libstore libstorec libfetchers libexpr
|
2024-03-28 20:00:04 +02:00
|
|
|
|
2024-04-04 22:24:42 +03:00
|
|
|
libexprc_LDFLAGS += $(THREAD_LDFLAGS)
|
2024-03-28 20:00:04 +02:00
|
|
|
|
|
|
|
$(eval $(call install-file-in, $(d)/nix-expr-c.pc, $(libdir)/pkgconfig, 0644))
|
|
|
|
|
|
|
|
libexprc_FORCE_INSTALL := 1
|
|
|
|
|