aboutsummaryrefslogtreecommitdiff
path: root/unix/hlib/mkpkg.sf.SSUN
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /unix/hlib/mkpkg.sf.SSUN
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'unix/hlib/mkpkg.sf.SSUN')
-rw-r--r--unix/hlib/mkpkg.sf.SSUN65
1 files changed, 65 insertions, 0 deletions
diff --git a/unix/hlib/mkpkg.sf.SSUN b/unix/hlib/mkpkg.sf.SSUN
new file mode 100644
index 00000000..124c88cb
--- /dev/null
+++ b/unix/hlib/mkpkg.sf.SSUN
@@ -0,0 +1,65 @@
+# Mkpkg special file list for Solaris/IRAF, SunSoft compilers.
+
+$set XCF = "$xc -c -/libmil"
+
+$special "sys$osb/": aclrb.c as$aclrb.c "$(XCF) aclrb.c"
+ bytmov.c as$bytmov.c "$(XCF) bytmov.c"
+ ieeer.x as$ieeer.x
+ ieeed.x as$ieeed.x
+ ;
+
+$special "sys$vops/ak/": aclrc.x as$aclrc.c "$(XCF) aclrc.c"
+ aclrs.x as$aclrs.c "$(XCF) aclrs.c"
+ aclri.x as$aclri.c "$(XCF) aclri.c"
+ aclrl.x as$aclrl.c "$(XCF) aclrl.c"
+ aclrr.x as$aclrr.c "$(XCF) aclrr.c"
+ aclrd.x as$aclrd.c "$(XCF) aclrd.c"
+ ;
+
+$special "sys$vops/lz/": amovc.x as$amovc.c "$(XCF) amovc.c"
+ amovs.x as$amovs.c "$(XCF) amovs.c"
+ amovi.x as$amovi.c "$(XCF) amovi.c"
+ amovl.x as$amovl.c "$(XCF) amovl.c"
+ amovr.x as$amovr.c "$(XCF) amovr.c"
+ amovd.x as$amovd.c "$(XCF) amovd.c"
+ ;
+
+$special "sys$memdbg/": zrtadr.c as$zrtadr.s ;
+
+
+# The following is needed to disable a warning about <varargs.h> being
+# explicitly included (see $hlib/libc/varargs.h).
+
+$set XNOWARN = '& "$xc -c -/erroff=E_INC_USR_INC_MAY_NOT_PORTABLE &"'
+$special "libc$":
+ printf.c $(XNOWARN)
+ eprintf.c $(XNOWARN)
+ sprintf.c $(XNOWARN)
+ scanf.c $(XNOWARN)
+ ;
+$special "pkg$cl/":
+ clprintf.c $(XNOWARN)
+ errs.c $(XNOWARN)
+ ;
+
+# The iraf main has to be compiled without optimization on the Sun-4
+# as setjmp does not save the register set.
+
+$set XNO = '& "$xc -cq &"'
+$special "sys$etc/":
+ main.x $(XNO)
+ ;
+
+# $set XBIG = '& "$xc -c -/Ns2048 &"'
+# $special "sys$fmtio/": evvexpr.x $(XBIG) ;
+
+
+# The following need to be linked nonshared to avoid the 268 MB memory limit
+# in the shared Sun/IRAF library implementation.
+
+$set NONSHARE = '& "LFLAGS = -z -/Bstatic"'
+$special "dataio$": xx_dataio.e $(NONSHARE) ;
+$special "images$": xx_images.e $(NONSHARE) ;
+$special "images$tv/": xx_tv.e $(NONSHARE) ;
+$special "plot$": xx_plot.e $(NONSHARE) ;
+