1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-08 06:02:22 +03:00

Rearrange order of subdirectory creation to help generate parse.h

file early enough to use in nodes/.
Try to be more complete for rules on generating parse.h,
 but it still does not work any better than before. Should be able to
 make correctly if parser/gram.y is updated even without a "make clean"
 but so far not there yet.
This commit is contained in:
Thomas G. Lockhart
1999-02-23 07:24:08 +00:00
parent 1e70c1fe5d
commit 348ab94822
2 changed files with 11 additions and 6 deletions

View File

@@ -34,7 +34,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.36 1999/01/21 16:08:36 vadim Exp $ # $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.37 1999/02/23 07:24:02 thomas Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
@@ -42,7 +42,7 @@ SRCDIR = ..
include ../Makefile.global include ../Makefile.global
DIRS = access bootstrap catalog commands executor lib libpq \ DIRS = access bootstrap catalog commands executor lib libpq \
main nodes optimizer parser port postmaster regex rewrite \ main parser nodes optimizer port postmaster regex rewrite \
storage tcop utils storage tcop utils
ifdef TIOGA ifdef TIOGA
@@ -115,7 +115,7 @@ postgres.o: $(OBJS)
# The following targets are specified in make commands that appear in the # The following targets are specified in make commands that appear in the
# make files in our subdirectories. # make files in our subdirectories.
parse.h: parse.h: parser/parse.h
$(MAKE) -C parser parse.h $(MAKE) -C parser parse.h
cp parser/parse.h . cp parser/parse.h .

View File

@@ -4,7 +4,7 @@
# Makefile for nodes # Makefile for nodes
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/nodes/Makefile,v 1.7 1999/02/06 16:50:24 wieck Exp $ # $Header: /cvsroot/pgsql/src/backend/nodes/Makefile,v 1.8 1999/02/23 07:24:08 thomas Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
@@ -22,7 +22,12 @@ all: SUBSYS.o
SUBSYS.o: $(OBJS) SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS) $(LD) -r -o SUBSYS.o $(OBJS)
depend dep: outfuncs.o: ../parse.h
../parse.h:
$(MAKE) -C .. parse.h
depend dep: ../parse.h
$(CC) -MM $(CFLAGS) *.c >depend $(CC) -MM $(CFLAGS) *.c >depend
clean: clean: