head	1.9;
access;
symbols
	REL7_4_29:1.4
	REL8_0_25:1.6.4.1
	REL8_1_21:1.8
	REL7_4_28:1.4
	REL8_0_24:1.6.4.1
	REL8_1_20:1.8
	REL7_4_27:1.4
	REL8_0_23:1.6.4.1
	REL8_1_19:1.8
	REL7_4_26:1.4
	REL8_0_22:1.6.4.1
	REL8_1_18:1.8
	REL7_4_25:1.4
	REL8_0_21:1.6.4.1
	REL8_1_17:1.8
	REL7_4_24:1.4
	REL8_0_20:1.6.4.1
	REL8_1_16:1.8
	REL7_4_23:1.4
	REL8_0_19:1.6.4.1
	REL8_1_15:1.8
	REL7_4_22:1.4
	REL8_0_18:1.6.4.1
	REL8_1_14:1.8
	REL7_4_21:1.4
	REL8_0_17:1.6.4.1
	REL8_1_13:1.8
	REL7_4_20:1.4
	REL8_0_16:1.6.4.1
	REL8_1_12:1.8
	REL7_3_21:1.4
	REL7_4_19:1.4
	REL8_0_15:1.6.4.1
	REL8_1_11:1.8
	REL7_3_20:1.4
	REL7_4_18:1.4
	REL8_0_14:1.6.4.1
	REL8_1_10:1.8
	REL7_3_19:1.4
	REL7_4_17:1.4
	REL8_0_13:1.6.4.1
	REL8_1_9:1.8
	REL8_0_12:1.6.4.1
	REL8_1_8:1.8
	REL7_3_18:1.4
	REL7_4_16:1.4
	REL8_0_11:1.6.4.1
	REL8_1_7:1.8
	REL8_0_10:1.6.4.1
	REL8_1_6:1.8
	REL7_4_15:1.4
	REL7_3_17:1.4
	REL8_1_5:1.8
	REL8_0_9:1.6.4.1
	REL7_4_14:1.4
	REL7_3_16:1.4
	REL7_3_15:1.4
	REL7_4_13:1.4
	REL8_0_8:1.6.4.1
	REL8_1_4:1.8
	REL7_3_14:1.4
	REL7_4_12:1.4
	REL8_0_7:1.6.4.1
	REL8_1_3:1.8
	REL7_3_13:1.4
	REL7_4_11:1.4
	REL8_0_6:1.6.4.1
	REL8_1_2:1.8
	REL7_3_12:1.4
	REL7_4_10:1.4
	REL8_0_5:1.6.4.1
	REL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;
locks; strict;
comment	@# @;


1.9
date	2006.09.05.17.20.27;	author tgl;	state dead;
branches;
next	1.8;

1.8
date	2005.09.27.17.13.01;	author tgl;	state Exp;
branches;
next	1.7;

1.7
date	2005.03.25.18.17.10;	author momjian;	state Exp;
branches;
next	1.6;

1.6
date	2004.08.20.20.13.02;	author momjian;	state Exp;
branches
	1.6.4.1;
next	1.5;

1.5
date	2003.11.29.19.51.22;	author pgsql;	state Exp;
branches;
next	1.4;

1.4
date	2001.12.21.05.29.46;	author momjian;	state Exp;
branches;
next	1.3;

1.3
date	2001.12.21.04.13.12;	author momjian;	state Exp;
branches;
next	1.2;

1.2
date	2001.09.06.10.49.29;	author petere;	state Exp;
branches;
next	1.1;

1.1
date	2001.05.10.14.41.23;	author momjian;	state Exp;
branches;
next	;

1.6.4.1
date	2005.03.25.18.18.37;	author momjian;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Remove contrib modules that have been migrated to pgfoundry: adddepend,
dbase, dbmirror, fulltextindex, mac, userlock; or abandoned: mSQL-interface,
tips.
@
text
@# $PostgreSQL: pgsql/contrib/dbase/Makefile,v 1.8 2005/09/27 17:13:01 tgl Exp $

PROGRAM = dbf2pg
OBJS	= dbf.o dbf2pg.o endian.o
PG_CPPFLAGS = -I$(libpq_srcdir)
PG_LIBS = $(libpq_pgport)

# 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

DOCS = README.dbf2pg
MAN = dbf2pg.1			# XXX not implemented


ifdef USE_PGXS
PGXS := $(shell pg_config --pgxs)
include $(PGXS)
else
subdir = contrib/dbase
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
@


1.8
log
@PGXS should be set with := not =, as specified in the documentation,
to avoid useless multiple executions of pg_config.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql/contrib/dbase/Makefile,v 1.7 2005/03/25 18:17:10 momjian Exp $
@


1.7
log
@Have libpgport link before libpq so that PG client applications are more
immunte to changes in libpq's usage of pgport between major versions.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql/contrib/dbase/Makefile,v 1.6 2004/08/20 20:13:02 momjian Exp $
d19 1
a19 1
PGXS = $(shell pg_config --pgxs)
@


1.6
log
@> Please find enclose a submission to fix these problems.
>
> The patch adds missing the "libpgport.a" file to the installation under
> "install-all-headers". It is needed by some contribs. I install the
> library in "pkglibdir", but I was wondering whether it should be "libdir"?
> I was wondering also whether it would make sense to have a "libpgport.so"?
>
> It fixes various macros which are used by contrib makefiles, especially
> libpq_*dir and LDFLAGS when used under PGXS. It seems to me that they are
> needed to
>
> It adds the ability to test and use PGXS with contribs, with "make
> USE_PGXS=1". Without the macro, this is exactly as before, there should be
> no difference, esp. wrt the vpath feature that seemed broken by previous
> submission. So it should not harm anybody, and it is useful at least to me.
>
> It fixes some inconsistencies in various contrib makefiles
> (useless override, ":=" instead of "=").

Fabien COELHO
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql-server/contrib/dbase/Makefile,v 1.5 2003/11/29 19:51:22 pgsql Exp $
d6 1
a6 1
PG_LIBS = $(libpq)
@


1.6.4.1
log
@Have libpgport link before libpq so that PG client applications are more
immunte to changes in libpq's usage of pgport between major versions.

Backpatch to 8.0.X.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql/contrib/dbase/Makefile,v 1.6 2004/08/20 20:13:02 momjian Exp $
d6 1
a6 1
PG_LIBS = $(libpq_pgport)
@


1.5
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d1 1
a1 5
# $PostgreSQL: /cvsroot/pgsql-server/contrib/dbase/Makefile,v 1.4 2001/12/21 05:29:46 momjian Exp $

subdir = contrib/dbase
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
d17 8
d26 1
@


1.4
log
@Do not require iconv for dbase conversion.
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql/contrib/dbase/Makefile,v 1.3 2001/12/21 04:13:12 momjian Exp $
@


1.3
log
@Add needed libiconv link to contrib/dbase, per Christopher Kings-Lynne
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql/contrib/dbase/Makefile,v 1.2 2001/09/06 10:49:29 petere Exp $
d10 7
a16 1
PG_LIBS = $(libpq) -liconv
@


1.2
log
@To fix the perpetually broken makefiles in the contrib tree, I have
written a generic framework of rules that the contrib makefiles can
use instead of writing their own each time.  You only need to set a few
variables and off you go.
@
text
@d1 1
a1 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/dbase/Makefile,v 1.1 2001/05/10 14:41:23 momjian Exp $
d10 1
a10 1
PG_LIBS = $(libpq)
@


1.1
log
@Add dbase conversion utility to /contrib.
@
text
@d1 1
a1 3
#
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/dbase/Makefile,v 1.10 2001/02/20 19:20:27 petere Exp $
#
d7 1
a7 2
override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS)

d9 2
d12 2
a13 20
all: dbf2pg

dbf2pg: $(OBJS) $(libpq_builddir)/libpq.a
	$(CC) $(CFLAGS) $(OBJS) $(libpq) $(LDFLAGS) $(LIBS) -liconv -o $@@

install: all installdirs
	$(INSTALL_PROGRAM) dbf2pg$(X)	$(bindir)
	$(INSTALL_DATA) README.dbf2pg	$(docdir)/contrib

installdirs:
	$(mkinstalldirs) $(bindir) $(docdir)/contrib

uninstall:
	rm -f $(bindir)/dbf2pg$(X) $(docdir)/contrib/README.dbf2pg

clean distclean maintainer-clean:
	rm -f dbf2pg$(X) $(OBJS)

depend dep:
	$(CC) -MM -MG $(CFLAGS) *.c > depend
d15 1
a15 3
ifeq (depend,$(wildcard depend))
include depend
endif
@
