summaryrefslogtreecommitdiff
path: root/src/template
diff options
context:
space:
mode:
authorMarc G. Fournier1997-04-04 07:59:48 +0000
committerMarc G. Fournier1997-04-04 07:59:48 +0000
commitf2eb14ad0dbf8950b67b77c949ad254aa02bba89 (patch)
tree73cf2458bd0cce131af672162bdef05e92f37359 /src/template
parent82a27f230af39a882a8f2cd46571817782d3b3c8 (diff)
One helluva mess.
Further extended Makefile.global/build/configure so that we can have a 'template' file for each OS (and each version of OS, as in BSDi) which is used as much as possible to generate Makefile.global Any future ports should look at using the template file as a basis, before moving over to Makefile.global. This will most probably break alot of the ports, atho I've tried to be very neat about it...
Diffstat (limited to 'src/template')
-rw-r--r--src/template/aix8
-rw-r--r--src/template/alpha14
-rw-r--r--src/template/bsdi8
-rw-r--r--src/template/bsdi-2.18
-rw-r--r--src/template/dgux8
-rw-r--r--src/template/freebsd8
-rw-r--r--src/template/generic8
-rw-r--r--src/template/hpux-cc8
-rw-r--r--src/template/hpux-gcc9
-rw-r--r--src/template/i386_solaris8
-rw-r--r--src/template/i386_solaris-cc8
-rw-r--r--src/template/irix58
-rw-r--r--src/template/linux8
-rw-r--r--src/template/linux-elf8
-rw-r--r--src/template/nextstep8
-rw-r--r--src/template/sparc8
-rw-r--r--src/template/sparc_solaris8
-rw-r--r--src/template/sparc_solaris-cc8
-rw-r--r--src/template/sparc_solaris-gcc8
-rw-r--r--src/template/sunos4-cc8
-rw-r--r--src/template/sunos4-gcc8
-rw-r--r--src/template/svr48
-rw-r--r--src/template/ultrix48
-rw-r--r--src/template/univel8
24 files changed, 199 insertions, 0 deletions
diff --git a/src/template/aix b/src/template/aix
new file mode 100644
index 0000000000..e0e88b7d39
--- /dev/null
+++ b/src/template/aix
@@ -0,0 +1,8 @@
+AROPT:cq
+BACKEND:-qchars=signed -qmaxmem=4000
+SHARED_LIB:
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
diff --git a/src/template/alpha b/src/template/alpha
new file mode 100644
index 0000000000..af96fd35ca
--- /dev/null
+++ b/src/template/alpha
@@ -0,0 +1,14 @@
+AROPT:cq
+# 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.
+BACKEND:-DNOFIXADE
+SHARED_LIB:
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
diff --git a/src/template/bsdi b/src/template/bsdi
new file mode 100644
index 0000000000..3fa70ac8c7
--- /dev/null
+++ b/src/template/bsdi
@@ -0,0 +1,8 @@
+AROPT:crs
+BACKEND:-DPRE_BSDI_2_1
+SHARED_LIB:
+ALL:
+SRCH_INC:/usr/local/include
+SRCH_LIB:/usr/local/lib
+USE_LOCALE:no
+DLSUFFIX:.o
diff --git a/src/template/bsdi-2.1 b/src/template/bsdi-2.1
new file mode 100644
index 0000000000..d0ad833b0d
--- /dev/null
+++ b/src/template/bsdi-2.1
@@ -0,0 +1,8 @@
+AROPT:crs
+BACKEND:
+SHARED_LIB:
+ALL:
+SRCH_INC:/usr/local/include
+SRCH_LIB:/usr/local/lib
+USE_LOCALE:no
+DLSUFFIX:.o
diff --git a/src/template/dgux b/src/template/dgux
new file mode 100644
index 0000000000..f1abe2b27b
--- /dev/null
+++ b/src/template/dgux
@@ -0,0 +1,8 @@
+AROPT:cq
+BACKEND:
+SHARED_LIB:-fpic
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
diff --git a/src/template/freebsd b/src/template/freebsd
new file mode 100644
index 0000000000..6d37085b6b
--- /dev/null
+++ b/src/template/freebsd
@@ -0,0 +1,8 @@
+AROPT:crs
+BACKEND:
+SHARED_LIB:-fpic -DPIC
+ALL:-O2 -m486 -pipe
+SRCH_INC:/usr/local/include
+SRCH_LIB:/usr/local/lib
+USE_LOCALE:no
+DLSUFFIX:.so
diff --git a/src/template/generic b/src/template/generic
new file mode 100644
index 0000000000..1771c941b9
--- /dev/null
+++ b/src/template/generic
@@ -0,0 +1,8 @@
+AROPT:cq
+BACKEND:
+SHARED_LIB:
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
diff --git a/src/template/hpux-cc b/src/template/hpux-cc
new file mode 100644
index 0000000000..66ce2dbe7b
--- /dev/null
+++ b/src/template/hpux-cc
@@ -0,0 +1,8 @@
+AROPT:cq
+BACKEND:-W l,-E -Ae -DNOFIXADE
+SHARED_LIB:+z
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.sl
diff --git a/src/template/hpux-gcc b/src/template/hpux-gcc
new file mode 100644
index 0000000000..15b3076709
--- /dev/null
+++ b/src/template/hpux-gcc
@@ -0,0 +1,9 @@
+AROPT:cq
+BACKEND:-DNOFIXADE
+SHARED_LIB:
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DL_LIB:/usr/lib/libdld.sl
+DLSUFFIX:.sl
diff --git a/src/template/i386_solaris b/src/template/i386_solaris
new file mode 100644
index 0000000000..36f87789c9
--- /dev/null
+++ b/src/template/i386_solaris
@@ -0,0 +1,8 @@
+AROPT:cq
+BACKEND:-I$(SRCDIR)/backend/port/sparc_solaris
+SHARED_LIB:-K PIC
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
diff --git a/src/template/i386_solaris-cc b/src/template/i386_solaris-cc
new file mode 100644
index 0000000000..c5f1f5be2f
--- /dev/null
+++ b/src/template/i386_solaris-cc
@@ -0,0 +1,8 @@
+AROPT:cq
+BACKEND:-I$(SRCDIR)/backend/port/sparc_solaris
+SHARED_LIB:-fPIC
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
diff --git a/src/template/irix5 b/src/template/irix5
new file mode 100644
index 0000000000..1771c941b9
--- /dev/null
+++ b/src/template/irix5
@@ -0,0 +1,8 @@
+AROPT:cq
+BACKEND:
+SHARED_LIB:
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
diff --git a/src/template/linux b/src/template/linux
new file mode 100644
index 0000000000..f1abe2b27b
--- /dev/null
+++ b/src/template/linux
@@ -0,0 +1,8 @@
+AROPT:cq
+BACKEND:
+SHARED_LIB:-fpic
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
diff --git a/src/template/linux-elf b/src/template/linux-elf
new file mode 100644
index 0000000000..ace23ea065
--- /dev/null
+++ b/src/template/linux-elf
@@ -0,0 +1,8 @@
+AROPT:cq
+BACKEND:
+SHARED_LIB:-fpic
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX=.o
diff --git a/src/template/nextstep b/src/template/nextstep
new file mode 100644
index 0000000000..fb70ef397f
--- /dev/null
+++ b/src/template/nextstep
@@ -0,0 +1,8 @@
+AROPT:rc
+BACKEND:
+SHARED_LIB:
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.o
diff --git a/src/template/sparc b/src/template/sparc
new file mode 100644
index 0000000000..7df8389b23
--- /dev/null
+++ b/src/template/sparc
@@ -0,0 +1,8 @@
+AROPT:crs
+BACKEND:
+SHARED_LIB:
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
diff --git a/src/template/sparc_solaris b/src/template/sparc_solaris
new file mode 100644
index 0000000000..1771c941b9
--- /dev/null
+++ b/src/template/sparc_solaris
@@ -0,0 +1,8 @@
+AROPT:cq
+BACKEND:
+SHARED_LIB:
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
diff --git a/src/template/sparc_solaris-cc b/src/template/sparc_solaris-cc
new file mode 100644
index 0000000000..36f87789c9
--- /dev/null
+++ b/src/template/sparc_solaris-cc
@@ -0,0 +1,8 @@
+AROPT:cq
+BACKEND:-I$(SRCDIR)/backend/port/sparc_solaris
+SHARED_LIB:-K PIC
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
diff --git a/src/template/sparc_solaris-gcc b/src/template/sparc_solaris-gcc
new file mode 100644
index 0000000000..c5f1f5be2f
--- /dev/null
+++ b/src/template/sparc_solaris-gcc
@@ -0,0 +1,8 @@
+AROPT:cq
+BACKEND:-I$(SRCDIR)/backend/port/sparc_solaris
+SHARED_LIB:-fPIC
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
diff --git a/src/template/sunos4-cc b/src/template/sunos4-cc
new file mode 100644
index 0000000000..fb57bf0d87
--- /dev/null
+++ b/src/template/sunos4-cc
@@ -0,0 +1,8 @@
+AROPT:cq
+BACKEND:
+SHARED_LIB:-PIC
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
diff --git a/src/template/sunos4-gcc b/src/template/sunos4-gcc
new file mode 100644
index 0000000000..aa37eb7b5b
--- /dev/null
+++ b/src/template/sunos4-gcc
@@ -0,0 +1,8 @@
+AROPT:cq
+BACKEND:
+SHARED_LIB:-fPIC
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
diff --git a/src/template/svr4 b/src/template/svr4
new file mode 100644
index 0000000000..99539cf5ed
--- /dev/null
+++ b/src/template/svr4
@@ -0,0 +1,8 @@
+AROPT:cq
+BACKEND:-I$(SRCDIR)/backend/port/svr4
+SHARED_LIB:
+ALL:+W0
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so
diff --git a/src/template/ultrix4 b/src/template/ultrix4
new file mode 100644
index 0000000000..b9476bcd09
--- /dev/null
+++ b/src/template/ultrix4
@@ -0,0 +1,8 @@
+AROPT:cq
+BACKEND:-DNOFIXADE
+SHARED_LIB:-G 0
+ALL:
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.o
diff --git a/src/template/univel b/src/template/univel
new file mode 100644
index 0000000000..bcc1bf9805
--- /dev/null
+++ b/src/template/univel
@@ -0,0 +1,8 @@
+AROPT:cq
+BACKEND:-I$(SRCDIR)/backend/port/univel
+SHARED_LIB:-fPIC
+ALL:-DHAVE_RUSAGE -m486 -Dsvr4
+SRCH_INC:
+SRCH_LIB:
+USE_LOCALE:no
+DLSUFFIX:.so