1996-11-11 08:51:57 -05:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
#
|
|
|
|
|
# Makefile--
|
|
|
|
|
# Makefile for utils
|
|
|
|
|
#
|
|
|
|
|
# IDENTIFICATION
|
1999-01-17 01:20:06 -05:00
|
|
|
# $Header: /cvsroot/pgsql/src/utils/Attic/Makefile,v 1.6 1999/01/17 06:20:03 momjian Exp $
|
1996-11-26 02:39:11 -05: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 08:51:57 -05:00
|
|
|
#
|
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
SRCDIR = ..
|
|
|
|
|
include ../Makefile.global
|
|
|
|
|
|
|
|
|
|
all: version.o
|
|
|
|
|
|
1996-11-11 11:30:07 -05:00
|
|
|
install:
|
|
|
|
|
|
1996-11-11 08:51:57 -05:00
|
|
|
depend dep:
|
1998-04-05 20:32:26 -04:00
|
|
|
$(CC) $(CFLAGS) -MM *.c >depend
|
1996-11-11 08:51:57 -05:00
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
rm -f version.o
|
1999-01-17 01:20:06 -05:00
|
|
|
ifeq ($(PORTNAME), win)
|
|
|
|
|
rm -f dllinit.o
|
|
|
|
|
endif
|
1996-11-11 08:51:57 -05:00
|
|
|
|
|
|
|
|
ifeq (depend,$(wildcard depend))
|
|
|
|
|
include depend
|
|
|
|
|
endif
|
|
|
|
|
|