File tree 1 file changed +6
-3
lines changed 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 4
4
# Makefile for parser
5
5
#
6
6
# 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 $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../..
12
- include ../.. /Makefile.global
12
+ include $( SRCDIR ) /Makefile.global
13
13
14
14
ifeq ($(CC ) , gcc)
15
15
CFLAGS+ = -Wno-error
@@ -19,11 +19,14 @@ OBJS= analyze.o gram.o keywords.o parser.o parse_agg.o parse_clause.o \
19
19
parse_expr.o parse_func.o parse_node.o parse_oper.o parse_relation.o \
20
20
parse_type.o parse_coerce.o parse_target.o scan.o scansup.o
21
21
22
- all : SUBSYS.o
22
+ all : $( SRCDIR ) /include/parser/parse.h SUBSYS.o
23
23
24
24
SUBSYS.o : $(OBJS )
25
25
$(LD ) $(LDREL ) $(LDOUT ) SUBSYS.o $(OBJS )
26
26
27
+ $(SRCDIR ) /include/parser/parse.h : parse.h
28
+ cp $< $@
29
+
27
30
gram.c parse.h : gram.y
28
31
$(YACC ) -d $(YFLAGS ) $<
29
32
mv y.tab.c gram.c
You can’t perform that action at this time.
0 commit comments