mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-07-13 15:09:18 +02:00
39 lines
773 B
Makefile
39 lines
773 B
Makefile
|
#-------------------------------------------------------------------------
|
||
|
#
|
||
|
# Makefile for src/bin/pgevent
|
||
|
#
|
||
|
# Copyright (c) 1996-2004, PostgreSQL Global Development Group
|
||
|
#
|
||
|
#-------------------------------------------------------------------------
|
||
|
|
||
|
subdir = src/bin/pgevent
|
||
|
top_builddir = ../../..
|
||
|
include $(top_builddir)/src/Makefile.global
|
||
|
|
||
|
OBJS=pgevent.o pgmsgevent.o
|
||
|
NAME=pgevent.dll
|
||
|
|
||
|
all: $(NAME)
|
||
|
|
||
|
install: all install-lib
|
||
|
|
||
|
pgevent.dll: $(OBJS) pgevent.def
|
||
|
dllwrap --def pgevent.def -o $(NAME) $(OBJS)
|
||
|
|
||
|
pgmsgevent.o: pgmsgevent.rc
|
||
|
windres pgmsgevent.rc -o pgmsgevent.o
|
||
|
|
||
|
all-lib: $(NAME)
|
||
|
|
||
|
install-lib: $(NAME)
|
||
|
$(INSTALL_STLIB) $< $(DESTDIR)$(libdir)/$<
|
||
|
|
||
|
uninstall-lib:
|
||
|
rm -f $(DESTDIR)$(libdir)/$(NAME)
|
||
|
|
||
|
clean:
|
||
|
rm -f $(OBJS) $(NAME)
|
||
|
|
||
|
clean-lib:
|
||
|
rm -f $(NAME)
|