aboutsummaryrefslogtreecommitdiff
path: root/src/nix-env/Makefile.am
blob: 0819a721c87191e12af78b783a167cddf64d2245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
bin_PROGRAMS = nix-env

nix_env_SOURCES = nix-env.cc profiles.cc user-env.cc profiles.hh help.txt

nix_env_LDADD = ../libmain/libmain.la ../libexpr/libexpr.la \
 ../libstore/libstore.la ../libutil/libutil.la \
 ../boost/format/libformat.la @ADDITIONAL_NETWORK_LIBS@

nix-env.o: help.txt.hh

%.txt.hh: %.txt
	../bin2c/bin2c helpText < $< > $@ || (rm $@ && exit 1)

AM_CXXFLAGS = \
 -I$(srcdir)/.. \
 -I$(srcdir)/../libutil -I$(srcdir)/../libstore \
 -I$(srcdir)/../libexpr -I$(srcdir)/../libmain -I../libexpr