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

Commit22a9537

Browse files
committed
Clean up dependencies for version.o.
1 parent01eea27 commit22a9537

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

‎src/utils/Makefile

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for utils
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/utils/Attic/Makefile,v 1.6 1999/01/17 06:20:03 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/utils/Attic/Makefile,v 1.7 2000/02/27 01:18:46 tgl Exp $
88
#
99
# About strdup: Some systems have strdup in their standard library, others
1010
# don't. Ones that don't will use this make file to compile the strdup.c
@@ -13,10 +13,14 @@
1313
# because the strdup.c in this directory may conflict with the strdup()
1414
# prototype from the system library and cause a compile error.
1515
#
16+
# getopt.o is likewise built only on request.
17+
#
18+
# dllinit.o is only built on Win32 platform.
19+
#
1620
#-------------------------------------------------------------------------
1721

1822
SRCDIR = ..
19-
include../Makefile.global
23+
include$(SRCDIR)/Makefile.global
2024

2125
all: version.o
2226

@@ -26,10 +30,11 @@ depend dep:
2630
$(CC)$(CFLAGS) -MM*.c>depend
2731

2832
clean:
29-
rm -f version.o
30-
ifeq ($(PORTNAME), win)
31-
rm -f dllinit.o
32-
endif
33+
rm -f dllinit.o getopt.o strdup.o version.o
34+
35+
# Make sure version.o has proper dependency on version.h,
36+
# even if we didn't do make depend.
37+
version.o: version.c$(SRCDIR)/include/version.h
3338

3439
ifeq (depend,$(wildcard depend))
3540
include depend

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp