2005-03-26 02:17:14 +08:00
|
|
|
# $PostgreSQL: pgsql/contrib/oid2name/Makefile,v 1.7 2005/03/25 18:17:11 momjian Exp $
|
2001-01-24 08:41:25 +08:00
|
|
|
|
2001-09-06 18:49:30 +08:00
|
|
|
PROGRAM = oid2name
|
2001-01-24 08:41:25 +08:00
|
|
|
OBJS = oid2name.o
|
|
|
|
|
2001-09-06 18:49:30 +08:00
|
|
|
PG_CPPFLAGS = -I$(libpq_srcdir)
|
2005-03-26 02:17:14 +08:00
|
|
|
PG_LIBS = $(libpq_pgport)
|
2001-01-24 08:41:25 +08:00
|
|
|
|
2001-09-06 18:49:30 +08:00
|
|
|
DOCS = README.oid2name
|
2001-01-24 08:41:25 +08:00
|
|
|
|
2004-08-21 04:13:10 +08:00
|
|
|
ifdef USE_PGXS
|
|
|
|
PGXS = $(shell pg_config --pgxs)
|
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/oid2name
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
2001-09-06 18:49:30 +08:00
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
2004-08-21 04:13:10 +08:00
|
|
|
endif
|