diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:15:05 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:15:05 +0000 |
commit | 46651ce6fe013220ed397add242004d764fc0153 (patch) | |
tree | 6e5299f990f88e60174a1d3ae6e48eedd2688b2b /src/bin/pgevent/Makefile | |
parent | Initial commit. (diff) | |
download | postgresql-14-46651ce6fe013220ed397add242004d764fc0153.tar.xz postgresql-14-46651ce6fe013220ed397add242004d764fc0153.zip |
Adding upstream version 14.5.upstream/14.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/bin/pgevent/Makefile')
-rw-r--r-- | src/bin/pgevent/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/bin/pgevent/Makefile b/src/bin/pgevent/Makefile new file mode 100644 index 0000000..da69e91 --- /dev/null +++ b/src/bin/pgevent/Makefile @@ -0,0 +1,38 @@ +#------------------------------------------------------------------------- +# +# Makefile for src/bin/pgevent +# +# Copyright (c) 1996-2021, PostgreSQL Global Development Group +# +#------------------------------------------------------------------------- + +PGFILEDESC = "Eventlog message formatter" +PGAPPICON=win32 + +subdir = src/bin/pgevent +top_builddir = ../../.. +include $(top_builddir)/src/Makefile.global + +ifeq ($(PORTNAME), win32) + +OBJS = \ + pgevent.o \ + pgmsgevent.o +NAME=pgevent + +SHLIB_LINK = +SHLIB_EXPORTS = exports.txt + +all: all-lib + +install: all install-lib + +include $(top_srcdir)/src/Makefile.shlib + +pgmsgevent.o: pgmsgevent.rc win32ver.rc + $(WINDRES) $< -o $@ --include-dir=$(top_builddir)/src/include --include-dir=$(top_srcdir)/src/include --include-dir=$(srcdir) --include-dir=. + +clean distclean: clean-lib + rm -f $(OBJS) win32ver.rc + +endif |