2021-01-26 11:22:24 +00:00
|
|
|
libraries += libcmd
|
|
|
|
|
|
|
|
libcmd_NAME = libnixcmd
|
|
|
|
|
|
|
|
libcmd_DIR := $(d)
|
|
|
|
|
|
|
|
libcmd_SOURCES := $(wildcard $(d)/*.cc)
|
|
|
|
|
2021-04-28 21:50:11 +00:00
|
|
|
libcmd_CXXFLAGS += -I src/libutil -I src/libstore -I src/libexpr -I src/libmain -I src/libfetchers -I src/nix
|
2021-01-26 11:22:24 +00:00
|
|
|
|
2021-04-28 21:50:11 +00:00
|
|
|
libcmd_LDFLAGS = $(EDITLINE_LIBS) -llowdown
|
2021-01-26 11:22:24 +00:00
|
|
|
|
2021-04-28 21:50:11 +00:00
|
|
|
libcmd_LIBS = libstore libutil libexpr libmain libfetchers libnix libwut
|
2021-01-26 11:22:24 +00:00
|
|
|
|
|
|
|
$(eval $(call install-file-in, $(d)/nix-cmd.pc, $(prefix)/lib/pkgconfig, 0644))
|