File tree 9 files changed +57
-31
lines changed
9 files changed +57
-31
lines changed Original file line number Diff line number Diff line change 34
34
#
35
35
#
36
36
# IDENTIFICATION
37
- # $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.27 1997/11/13 03:22:10 momjian Exp $
37
+ # $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.28 1997/12/17 04:58:19 scrappy Exp $
38
38
#
39
39
# -------------------------------------------------------------------------
40
40
@@ -60,7 +60,11 @@ postgres: $(OBJS) ../utils/version.o
60
60
$(OBJS ) : $(DIRS:%=%.dir )
61
61
62
62
$(DIRS:% =%.dir):
63
+ ifdef PORTNAME
63
64
$(MAKE) -C $(subst .dir,,$@) all PORTNAME=$(PORTNAME)
65
+ else
66
+ $(MAKE) -C $(subst .dir,,$@) all
67
+ endif
64
68
65
69
../utils/version.o :
66
70
$(MAKE ) -C ../utils version.o
@@ -96,10 +100,18 @@ clean:
96
100
rm -f postgres $(POSTGRES_IMP ) fmgr.h parse.h \
97
101
global1.bki.source local1_template1.bki.source \
98
102
global1.description local1_template1.description
103
+ ifdef PORTNAME
99
104
for i in $(DIRS); do $(MAKE) -C $$i clean PORTNAME=$(PORTNAME); done
105
+ else
106
+ for i in $(DIRS); do $(MAKE) -C $$i clean; done
107
+ endif
100
108
101
109
.DEFAULT :
110
+ ifdef PORTNAME
102
111
for i in $(DIRS); do $(MAKE) -C $$i $@ PORTNAME=$(PORTNAME); done
112
+ else
113
+ for i in $(DIRS); do $(MAKE) -C $$i $@; done
114
+ endif
103
115
104
116
# ############################################################################
105
117
#
Original file line number Diff line number Diff line change 4
4
# Makefile for the bootstrap module
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.10 1997/06/11 01:11:55 scrappy Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.11 1997/12/17 04:58:21 scrappy Exp $
8
8
#
9
9
#
10
10
# We must build bootparse.c and bootscanner.c with yacc and lex and sed,
21
21
SRCDIR = ../..
22
22
include ../../Makefile.global
23
23
24
- INCLUDE_OPT = -I.. \
25
- -I../port/$(PORTNAME ) \
26
- -I../../include
24
+ INCLUDE_OPT = -I..
25
+
26
+ ifdef PORTNAME
27
+ INCLUDE_OPT+ =-I../port/$(PORTNAME )
28
+ endif
27
29
28
30
CFLAGS+ = $(INCLUDE_OPT )
29
31
Original file line number Diff line number Diff line change 4
4
# Makefile for catalog
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.5 1997/11/15 20:57:02 momjian Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.6 1997/12/17 04:58:25 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../..
12
12
include ../../Makefile.global
13
13
14
- INCLUDE_OPT = -I.. \
15
- -I../port/$(PORTNAME ) \
16
- -I../../include
14
+ INCLUDE_OPT = -I..
15
+
16
+ ifdef PORTNAME
17
+ INCLUDE_OPT+ =-I../port/$(PORTNAME )
18
+ endif
17
19
18
20
CFLAGS+ =$(INCLUDE_OPT )
19
21
Original file line number Diff line number Diff line change 4
4
# Makefile for executor
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/executor/Makefile,v 1.3 1997/08/30 10:28:47 vadim Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/executor/Makefile,v 1.4 1997/12/17 04:58:33 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../..
12
12
include ../../Makefile.global
13
13
14
- INCLUDE_OPT = -I.. \
15
- -I../port/$(PORTNAME ) \
16
- -I../../include
14
+ INCLUDE_OPT = -I..
15
+
16
+ ifdef PORTNAME
17
+ INCLUDE_OPT+ =-I../port/$(PORTNAME )
18
+ endif
17
19
18
20
CFLAGS+ =$(INCLUDE_OPT )
19
21
Original file line number Diff line number Diff line change 4
4
# Makefile for lib (miscellaneous stuff)
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/lib/Makefile,v 1.7 1997/01/14 02:35:34 momjian Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/lib/Makefile,v 1.8 1997/12/17 04:58:40 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../..
12
12
include ../../Makefile.global
13
13
14
- INCLUDE_OPT = -I.. \
15
- -I../port/$(PORTNAME ) \
16
- -I../../include
14
+ INCLUDE_OPT = -I..
15
+
16
+ ifdef PORTNAME
17
+ INCLUDE_OPT+ =-I../port/$(PORTNAME )
18
+ endif
17
19
18
20
CFLAGS+ =$(INCLUDE_OPT )
19
21
Original file line number Diff line number Diff line change 4
4
# Makefile for libpq subsystem (backend half of libpq interface)
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/libpq/Makefile,v 1.8 1997/12/04 00:26:47 scrappy Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/libpq/Makefile,v 1.9 1997/12/17 04:58:58 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../..
12
12
include ../../Makefile.global
13
13
14
- INCLUDE_OPT = -I.. \
15
- -I../port/$(PORTNAME ) \
16
- -I../../include
14
+ INCLUDE_OPT = -I..
15
+
16
+ ifdef PORTNAME
17
+ INCLUDE_OPT+ =-I../port/$(PORTNAME )
18
+ endif
17
19
18
20
CFLAGS+ =$(INCLUDE_OPT )
19
21
Original file line number Diff line number Diff line change 4
4
# Makefile for main
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/main/Makefile,v 1.2 1996/11/09 06:18:04 momjian Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/main/Makefile,v 1.3 1997/12/17 04:59:05 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../..
12
12
include ../../Makefile.global
13
13
14
- INCLUDE_OPT = -I.. \
15
- -I../port/$(PORTNAME ) \
16
- -I../../include
14
+ INCLUDE_OPT = -I..
15
+
16
+ ifdef PORTNAME
17
+ INCLUDE_OPT+ =-I../port/$(PORTNAME )
18
+ endif
17
19
18
20
CFLAGS+ =$(INCLUDE_OPT )
19
21
Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.9 1997/09/08 02:23:24 momjian Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.10 1997/12/17 04:59:10 scrappy Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
22
22
#include "miscadmin.h"
23
23
#include "bootstrap/bootstrap.h" /* for BootstrapMain() */
24
24
#include "tcop/tcopprot.h" /* for PostgresMain() */
25
- #include "port-protos.h" /* for init_address_fixup() */
25
+ /* #include "port-protos.h" */ /* for init_address_fixup() */
26
26
27
27
#define NOROOTEXEC "\
28
28
\n\"root\" execution of the PostgreSQL backend is not permitted\n\n\
Original file line number Diff line number Diff line change 4
4
# Makefile for nodes
5
5
#
6
6
# IDENTIFICATION
7
- # $Header: /cvsroot/pgsql/src/backend/nodes/Makefile,v 1.3 1996/11/06 08:54 :16 scrappy Exp $
7
+ # $Header: /cvsroot/pgsql/src/backend/nodes/Makefile,v 1.4 1997/12/17 04:59 :16 scrappy Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
SRCDIR = ../..
12
12
include ../../Makefile.global
13
13
14
- INCLUDE_OPT = -I.. \
15
- -I../port/$(PORTNAME ) \
16
- -I../../include
14
+ INCLUDE_OPT = -I..
15
+
16
+ ifdef PORTNAME
17
+ INCLUDE_OPT+ =-I../port/$(PORTNAME )
18
+ endif
17
19
18
20
CFLAGS+ =$(INCLUDE_OPT )
19
21
You can’t perform that action at this time.
0 commit comments