File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 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
1111SRCDIR = ../..
12- include ../.. /Makefile.global
12+ include $( SRCDIR ) /Makefile.global
1313
1414ifeq ($(CC ) , gcc)
1515CFLAGS+ = -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
2424SUBSYS.o : $(OBJS )
2525 $(LD ) $(LDREL ) $(LDOUT ) SUBSYS.o $(OBJS )
2626
27+ $(SRCDIR ) /include/parser/parse.h : parse.h
28+ cp $< $@
29+
2730gram.c parse.h : gram.y
2831 $(YACC ) -d $(YFLAGS ) $<
2932 mv y.tab.c gram.c
You can’t perform that action at this time.
0 commit comments