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