From d939f60ca7b7cdb8397b96ca1769e30b4159f2c0 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Fri, 12 Jun 1998 22:42:12 +0000
Subject: [PATCH] template change

---
 src/template/aix_325  | 11 +++++++++++
 src/template/aix_41   | 11 +++++++++++
 src/template/alpha    | 16 ++++++++++++++++
 src/template/dgux     | 10 ++++++++++
 src/template/freebsd  |  9 +++++++++
 src/template/generic  | 10 ++++++++++
 src/template/irix5    | 10 ++++++++++
 src/template/netbsd   |  9 +++++++++
 src/template/nextstep | 10 ++++++++++
 src/template/openbsd  |  9 +++++++++
 src/template/sco      | 12 ++++++++++++
 src/template/svr4     | 10 ++++++++++
 src/template/ultrix4  | 10 ++++++++++
 src/template/univel   | 11 +++++++++++
 14 files changed, 148 insertions(+)
 create mode 100644 src/template/aix_325
 create mode 100644 src/template/aix_41
 create mode 100644 src/template/alpha
 create mode 100644 src/template/dgux
 create mode 100644 src/template/freebsd
 create mode 100644 src/template/generic
 create mode 100644 src/template/irix5
 create mode 100644 src/template/netbsd
 create mode 100644 src/template/nextstep
 create mode 100644 src/template/openbsd
 create mode 100644 src/template/sco
 create mode 100644 src/template/svr4
 create mode 100644 src/template/ultrix4
 create mode 100644 src/template/univel

diff --git a/src/template/aix_325 b/src/template/aix_325
new file mode 100644
index 00000000000..2cebc944c02
--- /dev/null
+++ b/src/template/aix_325
@@ -0,0 +1,11 @@
+AROPT:crs
+CFLAGS:-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg
+SHARED_LIB:-e _nostart -lc
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
+YFLAGS:-d
+YACC:
+CC:xlc
diff --git a/src/template/aix_41 b/src/template/aix_41
new file mode 100644
index 00000000000..461e1f1572a
--- /dev/null
+++ b/src/template/aix_41
@@ -0,0 +1,11 @@
+AROPT:crs
+CFLAGS:-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg -qcheck=divzero
+SHARED_LIB:-bnoentry -lc
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
+YFLAGS:-d
+YACC:
+CC:xlc
diff --git a/src/template/alpha b/src/template/alpha
new file mode 100644
index 00000000000..3da0dfe93a6
--- /dev/null
+++ b/src/template/alpha
@@ -0,0 +1,16 @@
+AROPT:crs
+# NOFIXADE disallows unaligned access.
+#   on Ultrix and OSF/1 it invokes an explicit syscall.
+#   on HP-UX it turns off certain compiler options.
+# This is defined here because a bunch of clients include tmp/c.h,
+# which is where the work is done on HP-UX.  It only affects the
+# backend on Ultrix and OSF/1.
+CFLAGS:-DNOFIXADE
+SHARED_LIB:
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
+YFLAGS:-d
+YACC:
diff --git a/src/template/dgux b/src/template/dgux
new file mode 100644
index 00000000000..0cd6f2d369d
--- /dev/null
+++ b/src/template/dgux
@@ -0,0 +1,10 @@
+AROPT:crs
+CFLAGS:
+SHARED_LIB:-fpic
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
+YFLAGS:-d
+YACC:bison -y
diff --git a/src/template/freebsd b/src/template/freebsd
new file mode 100644
index 00000000000..4e142054227
--- /dev/null
+++ b/src/template/freebsd
@@ -0,0 +1,9 @@
+AROPT:cq
+SHARED_LIB:-fpic -DPIC
+CFLAGS:-O2 -m486 -pipe
+SRCH_INC:/usr/local/include
+SRCH_LIB:/usr/local/lib
+USE_LOCALE:no
+DLSUFFIX:.so
+YFLAGS:-d
+YACC:bison -y
diff --git a/src/template/generic b/src/template/generic
new file mode 100644
index 00000000000..84479caa0c5
--- /dev/null
+++ b/src/template/generic
@@ -0,0 +1,10 @@
+AROPT:crs
+CFLAGS:
+SHARED_LIB:
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
+YFLAGS:-d
+YACC:
diff --git a/src/template/irix5 b/src/template/irix5
new file mode 100644
index 00000000000..84479caa0c5
--- /dev/null
+++ b/src/template/irix5
@@ -0,0 +1,10 @@
+AROPT:crs
+CFLAGS:
+SHARED_LIB:
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
+YFLAGS:-d
+YACC:
diff --git a/src/template/netbsd b/src/template/netbsd
new file mode 100644
index 00000000000..3455cf110a3
--- /dev/null
+++ b/src/template/netbsd
@@ -0,0 +1,9 @@
+AROPT:cq
+SHARED_LIB:-fpic -DPIC
+CFLAGS:-O2 -pipe
+SRCH_INC:/usr/local/include
+SRCH_LIB:/usr/local/lib
+USE_LOCALE:no
+DLSUFFIX:.so
+YFLAGS:-d
+YACC:
diff --git a/src/template/nextstep b/src/template/nextstep
new file mode 100644
index 00000000000..c97966dc9eb
--- /dev/null
+++ b/src/template/nextstep
@@ -0,0 +1,10 @@
+AROPT:rc
+CFLAGS:
+SHARED_LIB:
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.o
+YFLAGS:-d
+YACC:
diff --git a/src/template/openbsd b/src/template/openbsd
new file mode 100644
index 00000000000..4e142054227
--- /dev/null
+++ b/src/template/openbsd
@@ -0,0 +1,9 @@
+AROPT:cq
+SHARED_LIB:-fpic -DPIC
+CFLAGS:-O2 -m486 -pipe
+SRCH_INC:/usr/local/include
+SRCH_LIB:/usr/local/lib
+USE_LOCALE:no
+DLSUFFIX:.so
+YFLAGS:-d
+YACC:bison -y
diff --git a/src/template/sco b/src/template/sco
new file mode 100644
index 00000000000..60b48ce20bb
--- /dev/null
+++ b/src/template/sco
@@ -0,0 +1,12 @@
+AROPT:cq
+CFLAGS:
+SHARED_LIB:-K PIC
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
+YFLAGS:-d
+YACC:yacc
+LEX:lex
+CC:cc -b elf
diff --git a/src/template/svr4 b/src/template/svr4
new file mode 100644
index 00000000000..13cf224ffcc
--- /dev/null
+++ b/src/template/svr4
@@ -0,0 +1,10 @@
+AROPT:crs
+CFLAGS:
+SHARED_LIB:
+ALL:+W0
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
+YFLAGS:-d
+YACC:bison -y
diff --git a/src/template/ultrix4 b/src/template/ultrix4
new file mode 100644
index 00000000000..237426646f7
--- /dev/null
+++ b/src/template/ultrix4
@@ -0,0 +1,10 @@
+AROPT:crs
+CFLAGS:-DNOFIXADE
+SHARED_LIB:-G 0
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
+YFLAGS:-d
+YACC:
diff --git a/src/template/univel b/src/template/univel
new file mode 100644
index 00000000000..21b85926638
--- /dev/null
+++ b/src/template/univel
@@ -0,0 +1,11 @@
+AROPT:crs
+CFLAGS:-Xa -v -O -K i486,host,inline,loop_unroll -Dsvr4
+SHARED_LIB:-K PIC
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
+YACC:yacc
+YFLAGS:-d
+CC:cc
+LIBS:-lc89 
-- 
GitLab