head	1.15;
access;
symbols
	REL9_0_0:1.15
	REL9_1_ALPHA1:1.15
	REL9_0_RC1:1.15
	REL9_0_BETA4:1.15
	REL9_0_STABLE:1.15.0.2
	REL9_0_BETA3:1.15
	REL9_0_BETA2:1.15
	REL8_0_25:1.4
	REL8_1_21:1.4
	REL8_2_17:1.7
	REL8_3_11:1.10
	REL8_4_4:1.13
	REL9_0_BETA1:1.14
	REL9_0_ALPHA5_BRANCH:1.14.0.4
	REL9_0_ALPHA5:1.14
	REL8_0_24:1.4
	REL8_1_20:1.4
	REL8_2_16:1.7
	REL8_3_10:1.10
	REL8_4_3:1.13
	REL9_0_ALPHA4:1.14
	REL9_0_ALPHA4_BRANCH:1.14.0.2
	REL8_5_ALPHA3:1.13
	REL8_5_ALPHA3_BRANCH:1.13.0.8
	REL8_0_23:1.4
	REL8_1_19:1.4
	REL8_2_15:1.7
	REL8_3_9:1.10
	REL8_4_2:1.13
	REL8_5_ALPHA2:1.13
	REL8_5_ALPHA2_BRANCH:1.13.0.6
	REL8_0_22:1.4
	REL8_1_18:1.4
	REL8_2_14:1.7
	REL8_3_8:1.10
	REL8_4_1:1.13
	REL8_5_ALPHA1:1.13
	REL8_5_ALPHA1_BRANCH:1.13.0.4
	REL8_4_STABLE:1.13.0.2
	REL8_4_0:1.13
	REL8_4_RC2:1.13
	REL8_4_RC1:1.13
	REL8_4_BETA2:1.13
	REL8_4_BETA1:1.13
	REL8_0_21:1.4
	REL8_1_17:1.4
	REL8_2_13:1.7
	REL8_3_7:1.10
	REL8_0_20:1.4
	REL8_1_16:1.4
	REL8_2_12:1.7
	REL8_3_6:1.10
	REL8_0_19:1.4
	REL8_1_15:1.4
	REL8_2_11:1.7
	REL8_3_5:1.10
	REL8_0_18:1.4
	REL8_1_14:1.4
	REL8_2_10:1.7
	REL8_3_4:1.10
	REL8_0_17:1.4
	REL8_1_13:1.4
	REL8_2_9:1.7
	REL8_3_3:1.10
	REL8_0_16:1.4
	REL8_1_12:1.4
	REL8_2_8:1.7
	REL8_3_2:1.10
	REL8_2_7:1.7
	REL8_3_1:1.10
	REL8_3_STABLE:1.10.0.2
	REL8_3_0:1.10
	REL8_3_RC2:1.10
	REL8_0_15:1.4
	REL8_1_11:1.4
	REL8_2_6:1.7
	REL8_3_RC1:1.10
	REL8_3_BETA4:1.8
	REL8_3_BETA3:1.8
	REL8_3_BETA2:1.8
	REL8_3_BETA1:1.8
	REL8_0_14:1.4
	REL8_1_10:1.4
	REL8_2_5:1.7
	REL8_0_13:1.4
	REL8_1_9:1.4
	REL8_2_4:1.7
	REL8_0_12:1.4
	REL8_1_8:1.4
	REL8_2_3:1.7
	REL8_0_11:1.4
	REL8_1_7:1.4
	REL8_2_2:1.7
	REL8_0_10:1.4
	REL8_1_6:1.4
	REL8_2_1:1.7
	REL8_2_STABLE:1.7.0.2
	REL8_2_0:1.7
	REL8_2_RC1:1.7
	REL8_2_BETA3:1.7
	REL8_2_BETA2:1.7
	REL8_1_5:1.4
	REL8_0_9:1.4
	REL8_2_BETA1:1.7
	REL8_0_8:1.4
	REL8_1_4:1.4
	REL8_0_7:1.4
	REL8_1_3:1.4
	REL8_0_6:1.4
	REL8_1_2:1.4
	REL8_0_5:1.4
	REL8_1_1:1.4
	REL8_1_STABLE:1.4.0.6
	REL8_1_0:1.4
	REL8_1_0RC1:1.4
	REL8_1_0BETA4:1.4
	REL8_1_0BETA3:1.4
	REL8_0_4:1.4
	REL8_1_0BETA2:1.4
	REL8_1_0BETA1:1.4
	REL8_0_3:1.4
	REL8_0_2:1.4
	REL8_0_1:1.4
	REL8_0_STABLE:1.4.0.4
	REL8_0_0:1.4.0.2
	REL8_0_0RC5:1.4
	REL8_0_0RC4:1.4
	REL8_0_0RC3:1.4
	REL8_0_0RC2:1.3
	REL8_0_0RC1:1.3
	REL8_0_0BETA5:1.3
	REL8_0_0BETA4:1.3
	REL8_0_0BETA3:1.1
	REL8_0_0BETA2:1.1
	REL8_0_0BETA1:1.1;
locks; strict;
comment	@# @;


1.15
date	2010.05.12.11.33.10;	author momjian;	state Exp;
branches;
next	1.14;

1.14
date	2010.01.02.16.57.59;	author momjian;	state Exp;
branches;
next	1.13;

1.13
date	2009.01.05.09.27.19;	author petere;	state Exp;
branches;
next	1.12;

1.12
date	2009.01.01.17.23.54;	author momjian;	state Exp;
branches;
next	1.11;

1.11
date	2008.12.07.08.36.22;	author petere;	state Exp;
branches;
next	1.10;

1.10
date	2008.01.01.19.45.55;	author momjian;	state Exp;
branches;
next	1.9;

1.9
date	2007.12.15.16.21.35;	author mha;	state Exp;
branches;
next	1.8;

1.8
date	2007.01.05.22.19.48;	author momjian;	state Exp;
branches;
next	1.7;

1.7
date	2006.07.15.03.33.14;	author tgl;	state Exp;
branches;
next	1.6;

1.6
date	2006.03.05.15.58.51;	author momjian;	state Exp;
branches;
next	1.5;

1.5
date	2005.12.09.21.19.35;	author petere;	state Exp;
branches;
next	1.4;

1.4
date	2004.12.31.22.03.14;	author pgsql;	state Exp;
branches;
next	1.3;

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

1.2
date	2004.10.05.17.26.39;	author momjian;	state Exp;
branches;
next	1.1;

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


desc
@@


1.15
log
@Add PGFILEDESC description to Makefiles for all /contrib executables.

Add PGAPPICON to all executable makefiles.
@
text
@#-------------------------------------------------------------------------
#
# Makefile for src/bin/pgevent
#
# Copyright (c) 1996-2010, PostgreSQL Global Development Group
#
#-------------------------------------------------------------------------

PGFILEDESC = "Eventlog message formatter"
PGAPPICON=win32

PGFILESHLIB = 1
subdir = src/bin/pgevent
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global

ifeq ($(PORTNAME), win32)

OBJS=pgevent.o pgmsgevent.o
NAME=pgevent.dll

all: $(NAME)

install: all install-lib

pgevent.dll: pgevent.def $(OBJS)
	$(DLLWRAP) --def $< -o $(NAME) $(OBJS)

pgmsgevent.o: pgmsgevent.rc win32ver.rc
	$(WINDRES) $< -o $@@ --include-dir=$(top_builddir)/src/include --include-dir=$(top_srcdir)/src/include --include-dir=$(srcdir)

all-lib: $(NAME)

install-lib: $(NAME)
	$(INSTALL_STLIB) $< '$(DESTDIR)$(libdir)/$<'

uninstall-lib:
	rm -f '$(DESTDIR)$(libdir)/$(NAME)'

clean distclean:
	rm -f $(OBJS) $(NAME) win32ver.rc

clean-lib:
	rm -f $(NAME)

endif
@


1.14
log
@Update copyright for the year 2010.
@
text
@d10 2
@


1.13
log
@Allow out-of-tree builds on mingw and cygwin

Author: Richard Evans <richard.evans@@blueallegro.net>
@
text
@d5 1
a5 1
# Copyright (c) 1996-2009, PostgreSQL Global Development Group
@


1.12
log
@Update copyright for 2009.
@
text
@d24 2
a25 2
pgevent.dll: $(OBJS) pgevent.def
	$(DLLWRAP) --def pgevent.def -o $(NAME) $(OBJS)
d28 1
a28 1
	$(WINDRES) pgmsgevent.rc -o pgmsgevent.o --include-dir=$(top_builddir)/src/include
@


1.11
log
@Set up ar, dlltool, dllwrap, and windres for cross-compiling if necessary.
Plus some makefile cleanup.

part of a patch from Richard Evans
@
text
@d5 1
a5 1
# Copyright (c) 1996-2008, PostgreSQL Global Development Group
@


1.10
log
@Update copyrights in source tree to 2008.
@
text
@d28 1
a28 1
	windres pgmsgevent.rc -o pgmsgevent.o --include-dir=$(top_builddir)/src/include
@


1.9
log
@Get dllwrap name from variable instead of hardcoded.

Per complaint from Richard Evans
@
text
@d5 1
a5 1
# Copyright (c) 1996-2007, PostgreSQL Global Development Group
@


1.8
log
@Update CVS HEAD for 2007 copyright.  Back branches are typically not
back-stamped for this.
@
text
@d25 1
a25 1
	dllwrap --def pgevent.def -o $(NAME) $(OBJS)
@


1.7
log
@Fix some makefiles that fail to yield good results from 'make -qp'.
This doesn't really matter for ordinary building of Postgres, but it's
useful for automated checks, such as my just-committed pgcheckdefines.
@
text
@d5 1
a5 1
# Copyright (c) 1996-2006, PostgreSQL Global Development Group
@


1.6
log
@Update copyright for 2006.  Update scripts.
@
text
@d15 2
d26 1
a26 1
	
d43 2
@


1.5
log
@Allow installation into directories containing spaces in the name.
@
text
@d5 1
a5 1
# Copyright (c) 1996-2005, PostgreSQL Global Development Group
@


1.4
log
@
Tag appropriate files for rc3

Also performed an initial run through of upgrading our Copyright date to
extend to 2005 ... first run here was very simple ... change everything
where: grep 1996-2004 && the word 'Copyright' ... scanned through the
generated list with 'less' first, and after, to make sure that I only
picked up the right entries ...
@
text
@d31 1
a31 1
	$(INSTALL_STLIB) $< $(DESTDIR)$(libdir)/$<
d34 1
a34 1
	rm -f $(DESTDIR)$(libdir)/$(NAME)
@


1.3
log
@Add Win32 version info to client binaries.

Magnus Hagander
@
text
@d5 1
a5 1
# Copyright (c) 1996-2004, PostgreSQL Global Development Group
@


1.2
log
@Add distclean target to pgevent.
@
text
@d9 2
d25 2
a26 2
pgmsgevent.o: pgmsgevent.rc
	windres pgmsgevent.rc -o pgmsgevent.o
d32 1
a32 1
	
d37 1
a37 1
	rm -f $(OBJS) $(NAME)
@


1.1
log
@Add pgevent, with docs explaining out to install it on Win32.
@
text
@d34 1
a34 1
clean:
@

