1996-11-11 14:51:57 +01:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile--
|
|
|
|
# Makefile for utils
|
|
|
|
#
|
|
|
|
# IDENTIFICATION
|
1998-02-27 03:41:21 +01:00
|
|
|
# $Header: /cvsroot/pgsql/src/utils/Attic/Makefile,v 1.4 1998/02/27 02:41:21 scrappy Exp $
|
1996-11-26 08:39:11 +01:00
|
|
|
#
|
|
|
|
# About strdup: Some systems have strdup in their standard library, others
|
|
|
|
# don't. Ones that don't will use this make file to compile the strdup.c
|
|
|
|
# in this directory. (You don't see strdup mentioned because the implicit
|
|
|
|
# rule does the job). We don't make strdup.o unless asked to explicitly
|
|
|
|
# because the strdup.c in this directory may conflict with the strdup()
|
|
|
|
# prototype from the system library and cause a compile error.
|
1996-11-11 14:51:57 +01:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
SRCDIR = ..
|
|
|
|
include ../Makefile.global
|
|
|
|
|
|
|
|
all: version.o
|
|
|
|
|
1996-11-11 17:30:07 +01:00
|
|
|
install:
|
|
|
|
|
1996-11-11 14:51:57 +01:00
|
|
|
depend dep:
|
1998-02-27 03:41:21 +01:00
|
|
|
$(CC) -MM *.c >depend
|
1996-11-11 14:51:57 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f version.o
|
|
|
|
|
|
|
|
ifeq (depend,$(wildcard depend))
|
|
|
|
include depend
|
|
|
|
endif
|
|
|
|
|