aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-06-01 08:35:51 +0200
committerChristian Grothoff <christian@grothoff.org>2016-06-01 08:35:51 +0200
commit0c7f7eee9df7274c293c80171c80ea8506d10950 (patch)
tree354115ce0d96669bcfa199975769c837c6504891
parent33bf645eaf0093336b7bcaedc4d650bc919c7f05 (diff)
fix build sys
-rw-r--r--Makefile.am11
-rwxr-xr-xbootstrap6
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