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:
@@ -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)
|
||||
|
@@ -1,2 +1,4 @@
|
||||
LANGUAGE 0x9,0x1
|
||||
1 11 MSG00001.bin
|
||||
|
||||
#include "win32ver.rc"
|
||||
|
Reference in New Issue
Block a user