2010-09-20 16:08:53 -04:00
|
|
|
# contrib/oid2name/Makefile
|
2010-05-12 07:33:10 -04:00
|
|
|
|
|
|
|
|
PGFILEDESC = "oid2name - examine the file structure"
|
2011-01-24 20:46:30 -05:00
|
|
|
PGAPPICON = win32
|
2001-01-23 19:41:25 -05:00
|
|
|
|
2001-09-06 06:49:30 -04:00
|
|
|
PROGRAM = oid2name
|
2014-07-14 14:07:52 -04:00
|
|
|
OBJS = oid2name.o $(WIN32RES)
|
2001-01-23 19:41:25 -05:00
|
|
|
|
2001-09-06 06:49:30 -04:00
|
|
|
PG_CPPFLAGS = -I$(libpq_srcdir)
|
2005-03-25 13:17:14 -05:00
|
|
|
PG_LIBS = $(libpq_pgport)
|
2001-01-23 19:41:25 -05:00
|
|
|
|
2004-08-20 16:13:10 -04:00
|
|
|
ifdef USE_PGXS
|
2007-06-26 18:05:04 -04:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
2004-08-20 16:13:10 -04:00
|
|
|
include $(PGXS)
|
|
|
|
|
else
|
|
|
|
|
subdir = contrib/oid2name
|
|
|
|
|
top_builddir = ../..
|
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
2001-09-06 06:49:30 -04:00
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
2004-08-20 16:13:10 -04:00
|
|
|
endif
|