2021-01-26 13:22:24 +02:00
|
|
|
libraries += libcmd
|
|
|
|
|
|
|
|
libcmd_NAME = libnixcmd
|
|
|
|
|
|
|
|
libcmd_DIR := $(d)
|
|
|
|
|
|
|
|
libcmd_SOURCES := $(wildcard $(d)/*.cc)
|
|
|
|
|
2023-09-03 00:10:28 +03:00
|
|
|
libcmd_CXXFLAGS += $(INCLUDE_libutil) $(INCLUDE_libstore) $(INCLUDE_libfetchers) $(INCLUDE_libexpr) -I src/libmain
|
2021-01-26 13:22:24 +02:00
|
|
|
|
2024-01-09 19:29:37 +02:00
|
|
|
libcmd_LDFLAGS = $(EDITLINE_LIBS) $(LOWDOWN_LIBS) $(THREAD_LDFLAGS)
|
2021-01-26 13:22:24 +02:00
|
|
|
|
2022-04-29 20:35:50 +03:00
|
|
|
libcmd_LIBS = libstore libutil libexpr libmain libfetchers
|
2021-01-26 13:22:24 +02:00
|
|
|
|
2023-11-25 07:33:21 +02:00
|
|
|
$(eval $(call install-file-in, $(buildprefix)$(d)/nix-cmd.pc, $(libdir)/pkgconfig, 0644))
|