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