1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00
nix/local.mk

15 lines
475 B
Makefile
Raw Normal View History

ifeq ($(MAKECMDGOALS), dist)
dist-files += $(shell cat .dist-files)
endif
2014-02-01 08:28:31 -05:00
dist-files += configure config.h.in perl/configure
2014-02-01 09:18:48 -05:00
2014-07-30 05:36:28 -04:00
clean-files += Makefile.config
GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libfetchers -I src/libmain -I src/libexpr -I src/nix -Wno-deprecated-declarations
2014-02-07 11:15:00 -05:00
$(foreach i, config.h $(wildcard src/lib*/*.hh), \
2015-06-09 05:14:36 -04:00
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
$(GCH) $(PCH): src/libutil/util.hh config.h