forked from lix-project/lix
f34de12140
* Do not create stuff in localstatedir when doing `make install' (since we may not have write access). In general, installation of constant code/data should be separate from the initialisation of mutable state.
12 lines
341 B
Makefile
12 lines
341 B
Makefile
noinst_LIBRARIES = libmain.a
|
|
|
|
libmain_a_SOURCES = shared.cc shared.hh
|
|
|
|
AM_CXXFLAGS = \
|
|
-DNIX_STORE_DIR=\"$(storedir)\" \
|
|
-DNIX_DATA_DIR=\"$(datadir)\" \
|
|
-DNIX_STATE_DIR=\"$(localstatedir)/nix\" \
|
|
-DNIX_LOG_DIR=\"$(localstatedir)/log/nix\" \
|
|
-DNIX_VERSION=\"$(VERSION)\" \
|
|
-I.. -I../../externals/inst/include -I../libutil -I../libstore
|