Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a4d9205

Browse files
author
Thomas G. Lockhart
committed
Include rule to build include/parser/parse.h since nothing else can
build in this directory otherwise :(
1 parent b4a3b64 commit a4d9205

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/backend/parser/Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
# Makefile for parser
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/parser/Makefile,v 1.26 2000/06/07 16:26:41 petere Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/parser/Makefile,v 1.27 2000/07/14 15:32:04 thomas Exp $
88
#
99
#-------------------------------------------------------------------------
1010

1111
SRCDIR= ../..
12-
include ../../Makefile.global
12+
include $(SRCDIR)/Makefile.global
1313

1414
ifeq ($(CC), gcc)
1515
CFLAGS+= -Wno-error
@@ -19,11 +19,14 @@ OBJS= analyze.o gram.o keywords.o parser.o parse_agg.o parse_clause.o \
1919
parse_expr.o parse_func.o parse_node.o parse_oper.o parse_relation.o \
2020
parse_type.o parse_coerce.o parse_target.o scan.o scansup.o
2121

22-
all: SUBSYS.o
22+
all: $(SRCDIR)/include/parser/parse.h SUBSYS.o
2323

2424
SUBSYS.o: $(OBJS)
2525
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
2626

27+
$(SRCDIR)/include/parser/parse.h: parse.h
28+
cp $< $@
29+
2730
gram.c parse.h: gram.y
2831
$(YACC) -d $(YFLAGS) $<
2932
mv y.tab.c gram.c

0 commit comments

Comments
 (0)