~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to src/bin/pgevent/Makefile

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#-------------------------------------------------------------------------
 
2
#
 
3
# Makefile for src/bin/pgevent
 
4
#
 
5
# Copyright (c) 1996-2005, PostgreSQL Global Development Group
 
6
#
 
7
#-------------------------------------------------------------------------
 
8
 
 
9
PGFILEDESC = "Eventlog message formatter"
 
10
PGFILESHLIB = 1
 
11
subdir = src/bin/pgevent
 
12
top_builddir = ../../..
 
13
include $(top_builddir)/src/Makefile.global
 
14
 
 
15
OBJS=pgevent.o pgmsgevent.o
 
16
NAME=pgevent.dll
 
17
 
 
18
all: $(NAME)
 
19
 
 
20
install: all install-lib
 
21
 
 
22
pgevent.dll: $(OBJS) pgevent.def
 
23
        dllwrap --def pgevent.def -o $(NAME) $(OBJS)
 
24
        
 
25
pgmsgevent.o: pgmsgevent.rc win32ver.rc
 
26
        windres pgmsgevent.rc -o pgmsgevent.o --include-dir=$(top_builddir)/src/include
 
27
 
 
28
all-lib: $(NAME)
 
29
 
 
30
install-lib: $(NAME)
 
31
        $(INSTALL_STLIB) $< $(DESTDIR)$(libdir)/$<
 
32
 
 
33
uninstall-lib:
 
34
        rm -f $(DESTDIR)$(libdir)/$(NAME)
 
35
 
 
36
clean distclean:
 
37
        rm -f $(OBJS) $(NAME) win32ver.rc
 
38
 
 
39
clean-lib:
 
40
        rm -f $(NAME)