diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /vendor/readline/mkpkg | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'vendor/readline/mkpkg')
-rw-r--r-- | vendor/readline/mkpkg | 36 |
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 + ; + |