aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/linux/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/port/linux/Makefile')
-rw-r--r--src/backend/port/linux/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/backend/port/linux/Makefile b/src/backend/port/linux/Makefile
new file mode 100644
index 00000000000..9ee8ad8ef54
--- /dev/null
+++ b/src/backend/port/linux/Makefile
@@ -0,0 +1,40 @@
+#-------------------------------------------------------------------------
+#
+# Makefile--
+# Makefile for port/linux
+#
+# IDENTIFICATION
+# $Header: /cvsroot/pgsql/src/backend/port/linux/Attic/Makefile,v 1.1 1996/10/27 09:50:31 bryanh Exp $
+#
+#-------------------------------------------------------------------------
+
+SRCDIR = ../../..
+include ../../../Makefile.global
+
+INCLUDE_OPT = -I../.. \
+ -I../../include \
+ -I../../../include
+
+CFLAGS+=$(INCLUDE_OPT)
+
+ifdef LINUX_ELF
+OBJS = port.o
+else
+OBJS = dynloader.o
+endif
+
+all: SUBSYS.o
+
+SUBSYS.o: $(OBJS)
+ $(LD) -r -o SUBSYS.o $(OBJS)
+
+depend dep:
+ $(CC) -MM $(INCLUDE_OPT) *.c >depend
+
+clean:
+ rm -f SUBSYS.o $(OBJS)
+
+ifeq (depend,$(wildcard depend))
+include depend
+endif
+