nix-super/local.mk

13 lines
518 B
Makefile
Raw Normal View History

ifeq ($(MAKECMDGOALS), dist)
2014-05-14 23:25:25 +03:00
dist-files += $(shell git ls-files)
endif
2014-02-01 15:28:31 +02:00
2014-02-04 11:09:45 +02:00
dist-files += configure config.h.in nix.spec
2014-02-01 16:18:48 +02:00
GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr
GLOBAL_LDFLAGS += -pthread
2014-02-07 18:15:00 +02:00
$(foreach i, config.h $(call rwildcard, src/lib*, *.hh), $(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
$(foreach i, config.h $(call rwildcard, src/boost, *.hpp), $(eval $(call install-file-in, $(i), $(includedir)/nix/$(patsubst src/%/,%,$(dir $(i))), 0644)))