From 0c7f7eee9df7274c293c80171c80ea8506d10950 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 1 Jun 2016 08:35:51 +0200 Subject: [PATCH] fix build sys --- Makefile.am | 11 ++++++++--- bootstrap | 6 ++++++ 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100755 bootstrap diff --git a/Makefile.am b/Makefile.am index a7a1e00..a9a5971 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,10 @@ ## Makefile.am -- Process this file with automake to produce Makefile.in # how to build a so library? -lib_WATWAT = libbrandt -libbrandt_SOURCES = smc.c -#libbrandt_LDADD = how to add libpari.so here? + +lib_LTLIBRARIES = \ + libbrandt.la + +libbrandt_la_SOURCES = \ + smc.c +libbrandt_la_LDADD = \ + -lpari diff --git a/bootstrap b/bootstrap new file mode 100755 index 0000000..0ce931c --- /dev/null +++ b/bootstrap @@ -0,0 +1,6 @@ +#!/bin/sh +if ! test -n "$BASH_SOURCE" || ! workdir="${BASH_SOURCE[0]%/*}" || ! test -n "$workdir" || ! cd "$workdir"; then + workdir=`dirname "$0"` && test -n "$workdir" && cd "$workdir" || echo "Warning: can't get working directory" 1>&2 +fi +aclocal -I m4 --install +autoreconf -I m4 -f -i