summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.aix
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-10-21 22:36:14 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-10-21 22:36:14 +0000
commitf8ff1ee5aab125fc1e5e130e6055a0e6586ce440 (patch)
treeb8ccedfa296d6a8acbb7277e7c0347dbdfac6b66 /src/makefiles/Makefile.aix
parent0968601b1baaceb8e9d6b437e8e740b4c9ff34c5 (diff)
downloadpostgresql-f8ff1ee5aab125fc1e5e130e6055a0e6586ce440.tar.gz
Move DLSUFFIX, AROPT, and CFLAGS_SL settings from template to
Makefile.port, since they are of no use to configure and much of the library magic happens in Makefile.port anyway. Use __alpha, not __alpha__, since the former is universally available. Remove -DNOFIXADE from the compile command line and put it in the port include file.
Diffstat (limited to 'src/makefiles/Makefile.aix')
-rw-r--r--src/makefiles/Makefile.aix13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/makefiles/Makefile.aix b/src/makefiles/Makefile.aix
index 46bf9dfdab..bb9c8f255c 100644
--- a/src/makefiles/Makefile.aix
+++ b/src/makefiles/Makefile.aix
@@ -4,6 +4,19 @@ MAKE_EXPORTS= true
RANLIB= touch
MK_NO_LORDER= true
+AROPT = crs
+
+DLSUFFIX = .so
+ifneq ($(GCC), yes)
+ ifeq ($(host_os), aix3.2.5)
+ CFLAGS_SL = -e _nostart
+ endif
+ ifeq ($(host_os), aix4.1)
+ CFLAGS_SL = -bnoentry
+ endif
+endif
+CFLAGS_SL += -lc
+
EXPSUFF= .exp
IMPSUFF= .imp