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

Commitd946604

Browse files
committed
Fix bogus makefiles ... these didn't build on platforms that are sticky
about being given accurate references to referenced libraries ...
1 parent74b8fe1 commitd946604

File tree

4 files changed

+39
-12
lines changed

4 files changed

+39
-12
lines changed

‎contrib/findoidjoins/Makefile

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
#
2-
# $Header: /cvsroot/pgsql/contrib/findoidjoins/Attic/Makefile,v 1.10 2000/10/20 21:03:06 petere Exp $
2+
# $Header: /cvsroot/pgsql/contrib/findoidjoins/Attic/Makefile,v 1.11 2000/12/04 01:32:18 tgl Exp $
33
#
44

55
subdir = contrib/findoidjoins
66
top_builddir = ../..
77
include$(top_builddir)/src/Makefile.global
88

99
overrideCPPFLAGS += -I$(libpgeasy_srcdir) -I$(libpq_srcdir)
10-
overrideLIBS +=$(libpgeasy)
10+
11+
OBJS= findoidjoins.o
1112

1213
all: findoidjoins
1314

15+
findoidjoins:$(OBJS)$(libpgeasy_builddir)/libpgeasy.a$(libpq_builddir)/libpq.a
16+
$(CC)$(CFLAGS)$(LDFLAGS)$(OBJS)$(libpgeasy)$(libpq)$(LIBS) -o$@
17+
1418
install: all installdirs
1519
$(INSTALL_PROGRAM) findoidjoins$(X)$(bindir)
1620
$(INSTALL_SCRIPT) make_oidjoins_check$(bindir)
@@ -23,4 +27,11 @@ uninstall:
2327
rm -f$(bindir)/findoidjoins$(X)$(bindir)/make_oidjoins_check$(docdir)/contrib/README.findoidjoins
2428

2529
cleandistcleanmaintainer-clean:
26-
rm -f findoidjoins$(X)
30+
rm -f findoidjoins$(X)$(OBJS)
31+
32+
dependdep:
33+
$(CC) -MM -MG$(CFLAGS)*.c> depend
34+
35+
ifeq (depend,$(wildcard depend))
36+
include depend
37+
endif

‎contrib/pg_dumplo/Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
#
2-
# $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/Makefile,v 1.8 2000/11/30 20:36:09 petere Exp $
2+
# $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/Makefile,v 1.9 2000/12/04 01:32:18 tgl Exp $
33
#
44

55
subdir = contrib/pg_dumplo
66
top_builddir = ../..
77
include$(top_builddir)/src/Makefile.global
88

9-
OBJS= main.o lo_export.o lo_import.o utils.o
109
overrideCPPFLAGS += -I$(libpq_srcdir)
1110

11+
OBJS= main.o lo_export.o lo_import.o utils.o
12+
1213
all: pg_dumplo
1314

1415
pg_dumplo:$(OBJS)$(libpq_builddir)/libpq.a
@@ -25,7 +26,7 @@ uninstall:
2526
rm -f$(bindir)/pg_dumplo$(X)$(docdir)/contrib/README.pg_dumplo
2627

2728
cleandistcleanmaintainer-clean:
28-
rm -f pg_dumplo$(OBJS)
29+
rm -f pg_dumplo$(X)$(OBJS)
2930

3031
dependdep:
3132
$(CC) -MM -MG$(CFLAGS)*.c> depend

‎contrib/pgbench/Makefile

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
#
2-
# $Header: /cvsroot/pgsql/contrib/pgbench/Makefile,v 1.7 2000/10/20 21:03:26 petere Exp $
2+
# $Header: /cvsroot/pgsql/contrib/pgbench/Makefile,v 1.8 2000/12/04 01:32:19 tgl Exp $
33
#
44

55
subdir = contrib/pgbench
66
top_builddir = ../..
77
include$(top_builddir)/src/Makefile.global
88

99
overrideCPPFLAGS += -I$(libpq_srcdir)
10-
overrideLIBS +=$(libpq)
10+
11+
OBJS= pgbench.o
1112

1213
all: pgbench
1314

15+
pgbench:$(OBJS)$(libpq_builddir)/libpq.a
16+
$(CC)$(CFLAGS)$(LDFLAGS)$(OBJS)$(libpq)$(LIBS) -o$@
17+
1418
install: all installdirs
1519
$(INSTALL_PROGRAM) pgbench$(X)$(bindir)
1620
$(INSTALL_DATA) README.pgbench$(docdir)/contrib
@@ -23,4 +27,11 @@ uninstall:
2327
rm -f$(bindir)/pgbench$(X)$(docdir)/contrib/README.pgbench$(docdir)/contrib/README.pgbench_jis
2428

2529
cleandistcleanmaintainer-clean:
26-
rm -f pgbench$(X)
30+
rm -f pgbench$(X)$(OBJS)
31+
32+
dependdep:
33+
$(CC) -MM -MG$(CFLAGS)*.c> depend
34+
35+
ifeq (depend,$(wildcard depend))
36+
include depend
37+
endif

‎contrib/vacuumlo/Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
#
2-
# $Header: /cvsroot/pgsql/contrib/vacuumlo/Makefile,v 1.8 2000/10/20 21:03:36 petere Exp $
2+
# $Header: /cvsroot/pgsql/contrib/vacuumlo/Makefile,v 1.9 2000/12/04 01:32:19 tgl Exp $
33
#
44

55
subdir = contrib/vacuumlo
66
top_builddir = ../..
77
include$(top_builddir)/src/Makefile.global
88

99
overrideCPPFLAGS += -I$(libpq_srcdir)
10-
overrideLIBS +=$(libpq)
10+
11+
OBJS= vacuumlo.o
1112

1213
all: vacuumlo
1314

15+
vacuumlo:$(OBJS)$(libpq_builddir)/libpq.a
16+
$(CC)$(CFLAGS)$(LDFLAGS)$(OBJS)$(libpq)$(LIBS) -o$@
17+
1418
install: all installdirs
1519
$(INSTALL_PROGRAM) vacuumlo$(X)$(bindir)
1620
$(INSTALL_DATA) README.vacuumlo$(docdir)/contrib
@@ -22,7 +26,7 @@ uninstall:
2226
rm -f$(bindir)/vacuumlo$(X)$(docdir)/contrib/README.vacuumlo
2327

2428
cleandistcleanmaintainer-clean:
25-
rm -f vacuumlo$(X)
29+
rm -f vacuumlo$(X)$(OBJS)
2630

2731
dependdep:
2832
$(CC) -MM -MG$(CFLAGS)*.c> depend

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp