summaryrefslogtreecommitdiff
path: root/src/backend/bootstrap
diff options
context:
space:
mode:
authorBruce Momjian1999-12-16 16:52:53 +0000
committerBruce Momjian1999-12-16 16:52:53 +0000
commit4cb1fb6f59502e834c3c1de8e626b4c68c0d1711 (patch)
tree5278a8703589ab1e1808da77f9dda02d06a95018 /src/backend/bootstrap
parent8d49a6608afc4a84a415850e05242457b687c9c3 (diff)
Update for QNX.
Diffstat (limited to 'src/backend/bootstrap')
-rw-r--r--src/backend/bootstrap/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/backend/bootstrap/Makefile b/src/backend/bootstrap/Makefile
index b528490fb5b..32af98b22a1 100644
--- a/src/backend/bootstrap/Makefile
+++ b/src/backend/bootstrap/Makefile
@@ -4,7 +4,7 @@
# Makefile for the bootstrap module
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.18 1999/12/16 01:25:01 momjian Exp $
+# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.19 1999/12/16 16:52:46 momjian Exp $
#
#
# We must build bootparse.c and bootscanner.c with yacc and lex and sed,
@@ -32,17 +32,20 @@ endif
BOOTYACCS= bootstrap_tokens.h bootparse.c
-ifneq ($(PORTNAME), qnx4)
OBJS= bootparse.o bootscanner.o bootstrap.o
-else
-# wlink crashes with bootstrap.o
-OBJS= bootparse.o bootscanner.o
+ifeq ($(PORTNAME), qnx4)
+# wlink currently crashes with bootstrap.o
+OBJS1= bootparse.o bootscanner.o
endif
all: SUBSYS.o
SUBSYS.o: $(OBJS)
+ifneq ($(PORTNAME), qnx4)
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
+else
+ $(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS1)
+endif
# bootstrap.o's dependency on bootstrap_tokens.h is computed by the
# make depend, but we state it here explicitly anyway because