aboutsummaryrefslogtreecommitdiff
path: root/unix/hlib/mkpkg.sf.I386
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 /unix/hlib/mkpkg.sf.I386
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'unix/hlib/mkpkg.sf.I386')
-rw-r--r--unix/hlib/mkpkg.sf.I38692
1 files changed, 92 insertions, 0 deletions
diff --git a/unix/hlib/mkpkg.sf.I386 b/unix/hlib/mkpkg.sf.I386
new file mode 100644
index 00000000..97b0133d
--- /dev/null
+++ b/unix/hlib/mkpkg.sf.I386
@@ -0,0 +1,92 @@
+# Mkpkg special file list for SUN/IRAF, SUN/UNIX V3.2.
+
+# All files needing special processing for the local host operating system,
+# e.g., to permit host dependent optimization or to work around compiler bugs,
+# should be listed here.
+
+# Files optimized for the local host system.
+# -----------------------------------------
+
+$special "sys$osb/": aclrb.c as$aclrb.c
+ bytmov.c as$bytmov.c
+ ieeer.x as$ieeer.x
+ ieeed.x as$ieeed.x
+ ;
+
+$special "sys$vops/ak/": aclrc.x as$aclrc.c
+ aclrs.x as$aclrs.c
+ aclri.x as$aclri.c
+ aclrl.x as$aclrl.c
+ aclrr.x as$aclrr.c
+ aclrd.x as$aclrd.c
+ ;
+
+$special "sys$vops/lz/": amovc.x as$amovc.c
+ amovs.x as$amovs.c
+ amovi.x as$amovi.c
+ amovl.x as$amovl.c
+ amovr.x as$amovr.c
+ amovd.x as$amovd.c
+ ;
+
+#$special "sys$gio/nspp/sysint/": ishift.x as$ishift.s ;
+#$special "sys$gio/ncarutil/sysint/": ishift.x as$ishift.s ;
+
+# Files requiring special compilation due to host compiler bugs.
+# -------------------------------------------------------------
+
+$set XNO = '& "$xc -cq -/$(MACH) &"'
+$set XO1 = '& "$xc -cq -/O1 -/$(MACH) &"'
+$set XO2 = '& "$xc -cq -/O2 -/$(MACH) &"'
+
+$special "sys$vops/lz/": amods.x as$amods.s ;
+
+$special "sys$etc/":
+ onerror.x $(XNO)
+ onexit.x $(XNO)
+ ;
+$special "sys$gio/ncarutil/":
+ conrec.f $(XNO)
+ srface.f $(XNO)
+ pwrzi.f $(XNO)
+ pwrzs.f $(XNO)
+ ;
+
+$special "sys$gio/cursor/":
+ grcwcs.x $(XNO);
+
+$special "sys$mwcs/":
+ wftan.x $(XNO);
+
+# The following causes the compiler to produce semi-infinite intermediate code
+# tables, necessitating use of reduced levels (O1 or O2) of optimization.
+
+$special "sys$osb/":
+ achtbu.c $(XO1)
+ achtcu.c $(XO1)
+ achtdu.c $(XO1)
+ achtiu.c $(XO1)
+ achtlu.c $(XO1)
+ achtru.c $(XO1)
+ achtsu.c $(XO1)
+ achtuu.c $(XO1)
+ achtxu.c $(XO1)
+ achtub.c $(XO1)
+ achtuc.c $(XO1)
+ achtud.c $(XO1)
+ achtui.c $(XO1)
+ achtul.c $(XO1)
+ achtur.c $(XO1)
+ achtus.c $(XO1)
+ achtuu.c $(XO1)
+ achtux.c $(XO1)
+ ;
+
+# Partial optimization needed to prevent infinite loop in iropt.
+# In main.c and errs.c, no optimization is needed to avoid an optimizer problem
+# associated with ZSVJMP (setjmp). I tried using a #pragma to fix this but
+# it didn't work.
+
+$special "$(pkg)cl/": ytab.c & "$xc -cq -/O2 &"
+ main.c & "$xc -cq &"
+ errs.c & "$xc -cq &";