mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Major cleanout of PORTNAME variables from Makefiles...bound to screw up
some of the ports...
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
#
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.28 1997/12/17 04:58:19 scrappy Exp $
|
||||
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.29 1997/12/20 00:22:06 scrappy Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
@@ -60,11 +60,7 @@ postgres: $(OBJS) ../utils/version.o
|
||||
$(OBJS): $(DIRS:%=%.dir)
|
||||
|
||||
$(DIRS:%=%.dir):
|
||||
ifdef PORTNAME
|
||||
$(MAKE) -C $(subst .dir,,$@) all PORTNAME=$(PORTNAME)
|
||||
else
|
||||
$(MAKE) -C $(subst .dir,,$@) all
|
||||
endif
|
||||
|
||||
../utils/version.o:
|
||||
$(MAKE) -C ../utils version.o
|
||||
@@ -100,18 +96,10 @@ clean:
|
||||
rm -f postgres $(POSTGRES_IMP) fmgr.h parse.h \
|
||||
global1.bki.source local1_template1.bki.source \
|
||||
global1.description local1_template1.description
|
||||
ifdef PORTNAME
|
||||
for i in $(DIRS); do $(MAKE) -C $$i clean PORTNAME=$(PORTNAME); done
|
||||
else
|
||||
for i in $(DIRS); do $(MAKE) -C $$i clean; done
|
||||
endif
|
||||
|
||||
.DEFAULT:
|
||||
ifdef PORTNAME
|
||||
for i in $(DIRS); do $(MAKE) -C $$i $@ PORTNAME=$(PORTNAME); done
|
||||
else
|
||||
for i in $(DIRS); do $(MAKE) -C $$i $@; done
|
||||
endif
|
||||
|
||||
#############################################################################
|
||||
#
|
||||
@@ -173,7 +161,7 @@ quick: $(OBJS)
|
||||
IDFILE= ID
|
||||
.PHONY: $(IDFILE)
|
||||
$(IDFILE):
|
||||
./makeID $(PORTNAME)
|
||||
./makeID
|
||||
|
||||
#
|
||||
# Special rule to generate cpp'd version of a .c file. This is
|
||||
|
Reference in New Issue
Block a user