aboutsummaryrefslogtreecommitdiff
path: root/vendor/readline/mkpkg
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /vendor/readline/mkpkg
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'vendor/readline/mkpkg')
-rw-r--r--vendor/readline/mkpkg36
1 files changed, 36 insertions, 0 deletions
diff --git a/vendor/readline/mkpkg b/vendor/readline/mkpkg
new file mode 100644
index 00000000..2ad7be64
--- /dev/null
+++ b/vendor/readline/mkpkg
@@ -0,0 +1,36 @@
+# Make the GNU Readline/History libraries
+
+$call libs
+$exit
+
+libs:
+ $ifeq (IRAFARCH, macosx) then
+ !(./configure --disable-dynamic --enable-static")
+ !make libreadline.a |& tee spool
+ !mv libreadline.a ../../bin
+ $else $ifeq (IRAFARCH, macintel) then
+ !(./configure --disable-dynamic --enable-static)
+ !make libreadline.a |& tee spool
+ !mv libreadline.a ../../bin
+ $else $ifeq (IRAFARCH, linux) then
+ !(./configure --disable-dynamic --enable-static CFLAGS="-m32")
+ !make libreadline.a |& tee spool
+ !mv libreadline.a ../../bin
+ $else $ifeq (IRAFARCH, freebsd) then
+ !(./configure --disable-dynamic --enable-static CFLAGS="-m32")
+ !make libreadline.a |& tee spool
+ !mv libreadline.a ../../bin
+ $else
+ !(./configure --disable-dynamic --enable-static)
+ !make libreadline.a |& tee spool
+ !mv libreadline.a ../../bin
+ $endif
+ !make clean
+ !rm Makefile spool
+ ;
+
+clean:
+ !make clean
+ !rm Makefile spool
+ ;
+