2005-09-27 21:13:14 +04:00
|
|
|
# $PostgreSQL: pgsql/contrib/dbase/Makefile,v 1.8 2005/09/27 17:13:01 tgl Exp $
|
2001-05-10 18:41:23 +04:00
|
|
|
|
2001-09-06 14:49:30 +04:00
|
|
|
PROGRAM = dbf2pg
|
2001-05-10 18:41:23 +04:00
|
|
|
OBJS = dbf.o dbf2pg.o endian.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-12-21 08:29:46 +03: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 18:41:23 +04:00
|
|
|
|
2001-09-06 14:49:30 +04:00
|
|
|
DOCS = README.dbf2pg
|
|
|
|
MAN = dbf2pg.1 # XXX not implemented
|
2001-05-10 18:41:23 +04:00
|
|
|
|
2004-08-21 00:13:10 +04:00
|
|
|
|
|
|
|
ifdef USE_PGXS
|
2005-09-27 21:13:14 +04:00
|
|
|
PGXS := $(shell pg_config --pgxs)
|
2004-08-21 00:13:10 +04:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/dbase
|
|
|
|
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
|