diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bsdiff-4.3/Makefile.am | 6 | ||||
-rw-r--r-- | src/libstore/Makefile.am | 4 | ||||
-rw-r--r-- | src/libutil/Makefile.am | 4 |
3 files changed, 8 insertions, 6 deletions
diff --git a/src/bsdiff-4.3/Makefile.am b/src/bsdiff-4.3/Makefile.am index 57970bc55c01..62315333a76a 100644 --- a/src/bsdiff-4.3/Makefile.am +++ b/src/bsdiff-4.3/Makefile.am @@ -4,10 +4,10 @@ libexec_PROGRAMS = bsdiff bspatch bsdiff_SOURCES = bsdiff.c -bsdiff_LDADD = ${bzip2_lib} +bsdiff_LDADD = -lbz2 bspatch_SOURCES = bspatch.c -bspatch_LDADD = ${bzip2_lib} +bspatch_LDADD = -lbz2 -AM_CFLAGS = -O3 ${bzip2_include} ${bsddiff_compat_include} +AM_CFLAGS = -O3 ${bsddiff_compat_include} diff --git a/src/libstore/Makefile.am b/src/libstore/Makefile.am index 39a61233b4a7..a9e5732e215d 100644 --- a/src/libstore/Makefile.am +++ b/src/libstore/Makefile.am @@ -10,12 +10,12 @@ pkginclude_HEADERS = \ globals.hh references.hh pathlocks.hh \ worker-protocol.hh -libstore_la_LIBADD = ../libutil/libutil.la ../boost/format/libformat.la ${aterm_lib} ${sqlite_lib} +libstore_la_LIBADD = ../libutil/libutil.la ../boost/format/libformat.la @SQLITE3_LIBS@ EXTRA_DIST = schema.sql AM_CXXFLAGS = -Wall \ - ${sqlite_include} -I$(srcdir)/.. -I$(srcdir)/../libutil \ + -I$(srcdir)/.. -I$(srcdir)/../libutil \ -DNIX_STORE_DIR=\"$(storedir)\" \ -DNIX_DATA_DIR=\"$(datadir)\" \ -DNIX_STATE_DIR=\"$(localstatedir)/nix\" \ diff --git a/src/libutil/Makefile.am b/src/libutil/Makefile.am index a326060cfea9..4a3523f3be2a 100644 --- a/src/libutil/Makefile.am +++ b/src/libutil/Makefile.am @@ -3,7 +3,7 @@ pkglib_LTLIBRARIES = libutil.la libutil_la_SOURCES = util.cc hash.cc serialise.cc \ archive.cc xml-writer.cc immutable.cc -libutil_la_LIBADD = ../boost/format/libformat.la ${aterm_lib} ${sqlite_lib} +libutil_la_LIBADD = ../boost/format/libformat.la pkginclude_HEADERS = util.hh hash.hh serialise.hh \ archive.hh xml-writer.hh types.hh immutable.hh @@ -11,6 +11,8 @@ pkginclude_HEADERS = util.hh hash.hh serialise.hh \ if !HAVE_OPENSSL libutil_la_SOURCES += \ md5.c md5.h sha1.c sha1.h sha256.c sha256.h md32_common.h +else +libutil_la_LIBADD += @OPENSSL_LIBS@ endif AM_CXXFLAGS = -Wall -I$(srcdir)/.. |