aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/linux/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/port/linux/Makefile.inc')
-rw-r--r--src/backend/port/linux/Makefile.inc36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/backend/port/linux/Makefile.inc b/src/backend/port/linux/Makefile.inc
new file mode 100644
index 00000000000..cc35929a260
--- /dev/null
+++ b/src/backend/port/linux/Makefile.inc
@@ -0,0 +1,36 @@
+#-------------------------------------------------------------------------
+#
+# Makefile.inc--
+# Makefile for port/linux (Linux specific stuff)
+#
+# Copyright (c) 1994, Regents of the University of California
+#
+#
+# IDENTIFICATION
+# $Header: /cvsroot/pgsql/src/backend/port/linux/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:44 scrappy Exp $
+#
+# NOTES
+# The Linux port is included here by courtesy of Kai Petzke.
+#
+# (C) 1994, Kai Petzke, wpp@marie.physik.tu-berlin.de
+#
+#-------------------------------------------------------------------------
+
+#
+# linux has fast linkers and don't need the BIGOBJ stuff.
+#
+BIGOBJS= false
+
+
+ifdef LINUX_ELF
+CC=gcc
+LDADD+= -ldl
+CFLAGS+= -DLINUX_ELF
+else
+LDADD+= -ldld
+SUBSRCS+= dynloader.c
+endif
+
+HEADERS+= machine.h port-protos.h
+CFLAGS+= -DNEED_CBRT
+