diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-01 08:35:51 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-01 08:35:51 +0200 |
commit | 0c7f7eee9df7274c293c80171c80ea8506d10950 (patch) | |
tree | 354115ce0d96669bcfa199975769c837c6504891 | |
parent | 33bf645eaf0093336b7bcaedc4d650bc919c7f05 (diff) |
fix build sys
-rw-r--r-- | Makefile.am | 11 | ||||
-rwxr-xr-x | bootstrap | 6 |
2 files changed, 14 insertions, 3 deletions
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 |