1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-18 04:29:09 +03:00

Add Win32 version info to client binaries.

Magnus Hagander
This commit is contained in:
Bruce Momjian
2004-10-05 19:30:25 +00:00
parent abef6b5162
commit da67c919d9
14 changed files with 91 additions and 28 deletions

View File

@@ -6,6 +6,8 @@
#
#-------------------------------------------------------------------------
PGFILEDESC = "Eventlog message formatter"
PGFILESHLIB = 1
subdir = src/bin/pgevent
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
@@ -20,19 +22,19 @@ 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
pgmsgevent.o: pgmsgevent.rc win32ver.rc
windres pgmsgevent.rc -o pgmsgevent.o --include-dir=$(top_builddir)/src/include
all-lib: $(NAME)
install-lib: $(NAME)
$(INSTALL_STLIB) $< $(DESTDIR)$(libdir)/$<
uninstall-lib:
rm -f $(DESTDIR)$(libdir)/$(NAME)
clean distclean:
rm -f $(OBJS) $(NAME)
rm -f $(OBJS) $(NAME) win32ver.rc
clean-lib:
rm -f $(NAME)

View File

@@ -1,2 +1,4 @@
LANGUAGE 0x9,0x1
1 11 MSG00001.bin
#include "win32ver.rc"