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

Commitd9f55ed

Browse files
committed
Add provisions for using strdup replacement in the places that still
needed it.from our fearless Ultrix porter, Alexander Klimov <ask@wisdom.weizmann.ac.il>
1 parentb3f66d1 commitd9f55ed

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

‎src/bin/pg_passwd/Makefile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
1-
# $Header: /cvsroot/pgsql/src/bin/pg_passwd/Attic/Makefile,v 1.13 2000/11/30 20:36:12 petere Exp $
1+
# $Header: /cvsroot/pgsql/src/bin/pg_passwd/Attic/Makefile,v 1.14 2001/05/12 19:49:47 petere Exp $
22

33
subdir = src/bin/pg_passwd
44
top_builddir = ../../..
55
include$(top_builddir)/src/Makefile.global
66

7+
OBJS = pg_passwd.o
8+
ifdefSTRDUP
9+
OBJS +=$(top_builddir)/src/utils/strdup.o
10+
endif
11+
712
all: pg_passwd
813

9-
pg_passwd:pg_passwd.o
14+
pg_passwd:$(OBJS)
1015
$(CC)$(CFLAGS)$(LDFLAGS)$^$(LIBS) -o$@
1116

17+
$(top_builddir)/src/utils/strdup.o:
18+
$(MAKE) -C$(top_builddir)/src/utils strdup.o
19+
1220
install: all installdirs
1321
$(INSTALL_PROGRAM) pg_passwd$(X)$(DESTDIR)$(bindir)/pg_passwd$(X)
1422

‎src/interfaces/ecpg/preproc/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.75 2001/05/11 01:46:33 momjian Exp $
1+
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.76 2001/05/12 19:49:48 petere Exp $
22

33
subdir = src/interfaces/ecpg/preproc
44
top_builddir = ../../../..
@@ -25,6 +25,12 @@ $(top_builddir)/src/backend/port/snprintf.o:
2525
$(MAKE) -C$(top_builddir)/src/backend/port snprintf.o
2626
endif
2727

28+
ifdefSTRDUP
29+
OBJS+=$(top_builddir)/src/utils/strdup.o
30+
31+
$(top_builddir)/src/utils/strdup.o:
32+
$(MAKE) -C$(top_builddir)/src/utils strdup.o
33+
endif
2834

2935
ecpg:$(OBJS)
3036
$(CC)$(CFLAGS)$(LDFLAGS)$^$(LIBS) -o$@

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp