2005-09-28 01:13:14 +08:00
|
|
|
# $PostgreSQL: pgsql/contrib/dbase/Makefile,v 1.8 2005/09/27 17:13:01 tgl Exp $
|
2001-05-10 22:41:23 +08:00
|
|
|
|
2001-09-06 18:49:30 +08:00
|
|
|
PROGRAM = dbf2pg
|
2001-05-10 22:41:23 +08:00
|
|
|
OBJS = dbf.o dbf2pg.o endian.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-12-21 13:29:46 +08:00
|
|
|
|
|
|
|
# Uncomment this to provide charset translation
|
|
|
|
#PG_CPPFLAGS += -DHAVE_ICONV_H
|
|
|
|
# You might need to uncomment this too, if libiconv is a separate
|
|
|
|
# library on your platform
|
|
|
|
#PG_LIBS += -liconv
|
2001-05-10 22:41:23 +08:00
|
|
|
|
2001-09-06 18:49:30 +08:00
|
|
|
DOCS = README.dbf2pg
|
|
|
|
MAN = dbf2pg.1 # XXX not implemented
|
2001-05-10 22:41:23 +08:00
|
|
|
|
2004-08-21 04:13:10 +08:00
|
|
|
|
|
|
|
ifdef USE_PGXS
|
2005-09-28 01:13:14 +08:00
|
|
|
PGXS := $(shell pg_config --pgxs)
|
2004-08-21 04:13:10 +08:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/dbase
|
|
|
|
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
|