mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 22:42:41 +01:00
This will facilitate breaking up Nix into multiple packages for each component with Meson.
15 lines
475 B
Makefile
15 lines
475 B
Makefile
libraries += libcmd
|
|
|
|
libcmd_NAME = libnixcmd
|
|
|
|
libcmd_DIR := $(d)
|
|
|
|
libcmd_SOURCES := $(wildcard $(d)/*.cc)
|
|
|
|
libcmd_CXXFLAGS += $(INCLUDE_libutil) $(INCLUDE_libstore) $(INCLUDE_libfetchers) $(INCLUDE_libexpr) $(INCLUDE_libflake) $(INCLUDE_libmain)
|
|
|
|
libcmd_LDFLAGS = $(EDITLINE_LIBS) $(LOWDOWN_LIBS) $(THREAD_LDFLAGS)
|
|
|
|
libcmd_LIBS = libutil libstore libfetchers libflake libexpr libmain
|
|
|
|
$(eval $(call install-file-in, $(buildprefix)$(d)/nix-cmd.pc, $(libdir)/pkgconfig, 0644))
|