Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf3a58f2

Browse files
committed
Makefile cleanup.
1 parentdf7a435 commitf3a58f2

File tree

5 files changed

+21
-20
lines changed

5 files changed

+21
-20
lines changed

‎src/interfaces/Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,20 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/Makefile,v 1.1 1997/08/1620:56:28 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/Makefile,v 1.2 1997/09/1618:47:16 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

14-
#include ../Makefile.global
14+
SRCDIR= ..
15+
include$(SRCDIR)/Makefile.global
1516

1617
.DEFAULTall:
1718
$(MAKE) -C libpq$@
18-
1919
ifeq ($(HAVE_Cplusplus), true)
2020
$(MAKE) -C libpq++ $@
21+
else
22+
echo $(HAVE_Cplusplus): No C++
2123
endif
22-
2324
ifeq ($(USE_TCL), true)
2425
$(MAKE) -C libpgtcl $@
2526
endif

‎src/interfaces/libpgtcl/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.13 1997/09/14 23:34:13 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.14 1997/09/16 18:47:19 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

1414
SRCDIR= ../..
15-
include ../../Makefile.global
15+
:nclude$(SRCDIR)/Makefile.global
1616

1717
INCLUDE_OPT=\
18-
-I../../backend\
19-
-I../../include\
18+
-I$(SRCDIR)/backend\
19+
-I$(SRCDIR)/include\
2020
-I$(LIBPQDIR)\
2121
-I$(TCL_INCDIR)
2222

‎src/interfaces/libpq++/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.8 1997/04/04 10:42:43 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.9 1997/09/16 18:47:23 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

14-
SRCDIR= ..
15-
include../Makefile.global
16-
SRCHEADERDIR =../include
14+
SRCDIR= ../..
15+
include$(SRCDIR)/Makefile.global
16+
SRCHEADERDIR =$(SRCDIR)/include
1717
LIBPQHEADERDIR =$(SRCHEADERDIR)/libpq
1818

1919
LIBNAME= libpq++
@@ -25,7 +25,7 @@ LIBNAME= libpq++
2525
CXXFLAGS=$(CFLAGS) -Wno-error
2626

2727
INCLUDE_OPT=\
28-
-I../backend\
28+
-I$(SRCDIR)/backend\
2929
-I$(SRCHEADERDIR)\
3030
-I$(LIBPQDIR)
3131

‎src/interfaces/libpq++/examples/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Makefile for example programs
33
#
44

5-
SRCDIR= ../..
6-
include ../../Makefile.global
5+
SRCDIR= ../../..
6+
include ../../../Makefile.global
77

88
LIBNAME= libpq++
99

@@ -15,8 +15,8 @@ CXXFLAGS= $(CFLAGS) -Wno-error
1515

1616
INCLUDE_OPT=\
1717
-I..\
18-
-I../../backend\
19-
-I../../include\
18+
-I../../../backend\
19+
-I../../../include\
2020
-I$(LIBPQDIR)\
2121
-I$(HEADERDIR)
2222
CXXFLAGS+=$(INCLUDE_OPT)

‎src/interfaces/libpq++/man/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
# Makefile for doc directory to install man pages
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/man/Attic/Makefile,v 1.2 1997/01/08 07:32:58 scrappy Exp $
7+
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/man/Attic/Makefile,v 1.3 1997/09/16 18:47:36 momjian Exp $
88
#
99
#-------------------------------------------------------------------------
1010

11-
SRCDIR= ../..
12-
include ../../Makefile.global
11+
SRCDIR= ../../..
12+
include ../../../Makefile.global
1313

1414
install:
1515
-mkdir -p$(POSTMANDIR)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp