From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- vendor/readline/mkpkg | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 vendor/readline/mkpkg (limited to 'vendor/readline/mkpkg') 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 + ; + -- cgit