Remove croak and Perl_croak from gettext triggers. While we could
[PostgreSQL.git] / src / bin / pgevent / Makefile
blob6b61b93bdc98e52dc10bab179fb9cd59222356ee
1 #-------------------------------------------------------------------------
3 # Makefile for src/bin/pgevent
5 # Copyright (c) 1996-2009, PostgreSQL Global Development Group
7 #-------------------------------------------------------------------------
9 PGFILEDESC = "Eventlog message formatter"
10 PGFILESHLIB = 1
11 subdir = src/bin/pgevent
12 top_builddir = ../../..
13 include $(top_builddir)/src/Makefile.global
15 ifeq ($(PORTNAME), win32)
17 OBJS=pgevent.o pgmsgevent.o
18 NAME=pgevent.dll
20 all: $(NAME)
22 install: all install-lib
24 pgevent.dll: pgevent.def $(OBJS)
25 $(DLLWRAP) --def $< -o $(NAME) $(OBJS)
27 pgmsgevent.o: pgmsgevent.rc win32ver.rc
28 $(WINDRES) $< -o $@ --include-dir=$(top_builddir)/src/include --include-dir=$(top_srcdir)/src/include --include-dir=$(srcdir)
30 all-lib: $(NAME)
32 install-lib: $(NAME)
33 $(INSTALL_STLIB) $< '$(DESTDIR)$(libdir)/$<'
35 uninstall-lib:
36 rm -f '$(DESTDIR)$(libdir)/$(NAME)'
38 clean distclean:
39 rm -f $(OBJS) $(NAME) win32ver.rc
41 clean-lib:
42 rm -f $(NAME)
44 endif