head	1.5;
access;
symbols
	REL7_4_29:1.2
	REL7_4_28:1.2
	REL7_4_27:1.2
	REL7_4_26:1.2
	REL7_4_25:1.2
	REL7_4_24:1.2
	REL7_4_23:1.2
	REL7_4_22:1.2
	REL7_4_21:1.2
	REL7_4_20:1.2
	REL7_3_21:1.2
	REL7_4_19:1.2
	REL7_3_20:1.2
	REL7_4_18:1.2
	REL7_3_19:1.2
	REL7_4_17:1.2
	REL7_3_18:1.2
	REL7_4_16:1.2
	REL7_4_15:1.2
	REL7_3_17:1.2
	REL7_4_14:1.2
	REL7_3_16:1.2
	REL7_3_15:1.2
	REL7_4_13:1.2
	REL7_3_14:1.2
	REL7_4_12:1.2
	REL7_3_13:1.2
	REL7_4_11:1.2
	REL7_3_12:1.2
	REL7_4_10:1.2
	REL7_3_11:1.2
	REL7_4_9:1.2
	REL7_2_8:1.2
	REL7_3_10:1.2
	REL7_4_8:1.2
	REL7_2_7:1.2
	REL7_3_9:1.2
	REL7_4_7:1.2
	REL7_4_6:1.2
	REL7_3_8:1.2
	REL7_2_6:1.2
	REL8_0_0BETA2:1.4
	REL7_2_5:1.2
	REL7_4_5:1.2
	REL7_3_7:1.2
	REL7_4_4:1.2
	REL8_0_0BETA1:1.3
	REL7_4_3:1.2
	REL7_4_2:1.2
	REL7_3_6:1.2
	REL7_4_1:1.2
	REL7_3_5:1.2
	REL7_4:1.2
	REL7_4_RC2:1.2
	REL7_4_STABLE:1.2.0.8
	REL7_4_RC1:1.2
	REL7_4_BETA5:1.2
	REL7_4_BETA4:1.2
	REL7_4_BETA3:1.2
	REL7_4_BETA2:1.2
	WIN32_DEV:1.2.0.6
	REL7_4_BETA1:1.2
	REL7_3_4:1.2
	REL7_3_2:1.2
	REL7_2_4:1.2
	REL7_3_STABLE:1.2.0.4
	REL7_2_3:1.2
	REL7_2_STABLE:1.2.0.2
	REL7_2:1.2
	REL7_2_RC2:1.2
	REL7_2_RC1:1.2
	REL7_2_BETA5:1.2
	REL7_2_BETA4:1.2
	REL7_2_BETA3:1.2
	REL7_2_BETA2:1.2
	REL7_2_BETA1:1.2
	REL7_1_2:1.1
	REL7_1_STABLE:1.1.0.2
	REL7_1:1.1;
locks; strict;
comment	@# @;


1.5
date	2004.09.16.21.20.20;	author tgl;	state dead;
branches;
next	1.4;

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

1.3
date	2003.11.29.19.51.35;	author pgsql;	state Exp;
branches;
next	1.2;

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

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


desc
@@


1.5
log
@Remove contrib/pg_logger, per recent discussion.
@
text
@# $PostgreSQL: pgsql-server/contrib/pg_logger/Makefile,v 1.4 2004/08/20 20:13:06 momjian Exp $

PROGRAM = pg_logger
OBJS	= pg_logger.o

DOCS = README.pg_logger

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


1.4
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/pg_logger/Makefile,v 1.3 2003/11/29 19:51:35 pgsql Exp $
@


1.3
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d1 1
a1 5
# $PostgreSQL: /cvsroot/pgsql-server/contrib/pg_logger/Makefile,v 1.2 2001/09/06 10:49:30 petere Exp $

subdir = contrib/pg_logger
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
d8 7
d16 1
@


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/pg_logger/Makefile,v 1.1 2001/02/11 02:18:27 momjian Exp $
@


1.1
log
@Add pg_logger to /contrib.
@
text
@d1 1
a1 3
#
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/pg_logger/Makefile,v 1.9 2000/12/04 01:32:18 tgl Exp $
#
d7 1
d10 1
a10 1
all: pg_logger
d12 1
a12 22
pg_logger: $(OBJS)
	$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $@@

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

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

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

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

depend dep:
	$(CC) -MM -MG $(CFLAGS) *.c > depend

ifeq (depend,$(wildcard depend))
include depend
endif
@
