|
1 | 1 | #-------------------------------------------------------------------------
|
2 | 2 | #
|
3 |
| -# Makefile.inc-- |
| 3 | +# Makefile.in-- |
4 | 4 | # Makefile for bin/pg_version
|
5 | 5 | #
|
6 |
| -# Copyright (c)1994, Regents of the University of California |
7 |
| -# |
| 6 | +#PortionsCopyright (c)1996-2000, PostgreSQL, Inc |
| 7 | +# Portions Copyright (c) 1994, Regents of the University of California |
8 | 8 | #
|
9 | 9 | # IDENTIFICATION
|
10 |
| -# $Header: /cvsroot/pgsql/src/bin/pg_version/Attic/Makefile.in,v 1.6 1999/01/17 06:19:14 momjian Exp $ |
| 10 | +# $Header: /cvsroot/pgsql/src/bin/pg_version/Attic/Makefile.in,v 1.7 2000/02/27 01:33:43 tgl Exp $ |
11 | 11 | #
|
12 | 12 | #-------------------------------------------------------------------------
|
13 | 13 |
|
14 | 14 | SRCDIR= ../..
|
15 |
| -include ../../Makefile.global |
16 |
| - |
17 |
| -OBJS= pg_version.o ../../utils/version.o @STRERROR2@ |
| 15 | +include$(SRCDIR)/Makefile.global |
18 | 16 |
|
19 | 17 | CFLAGS+= -I$(SRCDIR)/include
|
20 | 18 |
|
| 19 | +OBJS= pg_version.o$(SRCDIR)/utils/version.o @STRERROR2@ |
| 20 | + |
21 | 21 | all: pg_version
|
22 | 22 |
|
23 |
| -pg_version:submake$(OBJS) |
| 23 | +pg_version:$(OBJS) |
24 | 24 | $(CC) -o pg_version$(OBJS)$(LDFLAGS)
|
25 | 25 |
|
26 |
| -.PHONY: submake |
27 |
| -submake: |
28 |
| -$(MAKE) -C ../../utils version.o |
| 26 | +$(SRCDIR)/utils/version.o:$(SRCDIR)/utils/version.c$(SRCDIR)/include/version.h |
| 27 | +$(MAKE) -C$(SRCDIR)/utils version.o |
29 | 28 |
|
30 | 29 | install: pg_version
|
31 | 30 | $(INSTALL)$(INSTL_EXE_OPTS) pg_version$(X)$(BINDIR)/pg_version$(X)
|
|