mirror of
https://github.com/NixOS/nix.git
synced 2024-12-11 16:12:28 +00:00
e322a16523
(cherry picked from commit 2c692a3b14
)
17 lines
411 B
Makefile
17 lines
411 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 += -Wno-deprecated-declarations
|
|
|
|
$(foreach i, config.h $(call rwildcard, src/lib*, *.hh), \
|
|
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
|
|
|
|
$(GCH) $(PCH): src/libutil/util.hh config.h
|
|
|
|
GCH_CXXFLAGS = -I src/libutil
|