2014-02-01 16:30:24 +01:00
|
|
|
ifeq ($(MAKECMDGOALS), dist)
|
2017-12-22 11:33:34 +01:00
|
|
|
dist-files += $(shell cat .dist-files)
|
2014-02-01 16:30:24 +01:00
|
|
|
endif
|
2014-02-01 14:28:31 +01:00
|
|
|
|
2019-11-28 15:10:18 +01:00
|
|
|
dist-files += configure config.h.in perl/configure
|
2014-02-01 15:18:48 +01:00
|
|
|
|
2014-07-30 11:36:28 +02:00
|
|
|
clean-files += Makefile.config
|
|
|
|
|
2019-12-06 15:57:23 +01:00
|
|
|
GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr -I src/nix -Wno-deprecated-declarations
|
2014-02-07 17:15:00 +01:00
|
|
|
|
2020-02-03 18:04:09 +01:00
|
|
|
$(foreach i, config.h $(wildcard src/lib*/*.hh), \
|
2015-06-09 11:14:36 +02:00
|
|
|
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
|
2019-12-05 20:26:24 +01:00
|
|
|
|
|
|
|
$(GCH) $(PCH): src/libutil/util.hh config.h
|