mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
15 lines
456 B
Makefile
15 lines
456 B
Makefile
ifeq ($(MAKECMDGOALS), dist)
|
|
dist-files += $(shell cat .dist-files)
|
|
endif
|
|
|
|
dist-files += configure config.h.in perl/configure
|
|
|
|
clean-files += Makefile.config
|
|
|
|
GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr -I src/nix -Wno-deprecated-declarations
|
|
|
|
$(foreach i, config.h $(wildcard src/lib*/*.hh), \
|
|
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
|
|
|
|
$(GCH) $(PCH): src/libutil/util.hh config.h
|