From 4ca674023852bd7bcc5c8ff988bb1498810b023a Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Sun, 7 Aug 2011 12:47:17 +0200 Subject: Win32: Fill "Details" properties for openvpn.exe --- Makefile.am | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile.am b/Makefile.am index 32b40bb..d5d620d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -146,6 +146,13 @@ openvpn_SOURCES = \ win32.h win32.c \ cryptoapi.h cryptoapi.c +if WIN32 +openvpn_SOURCES += openvpn-res.rc + +openvpn_LDADD = openvpn-res.o +endif + + nodist_openvpn_SOURCES = configure.h options.$(OBJEXT): configure.h @@ -161,6 +168,11 @@ dist_noinst_DATA += openvpn.8 nodist_html_DATA = openvpn.8.html openvpn.8.html: $(srcdir)/openvpn.8 $(MAN2HTML) < $(srcdir)/openvpn.8 > openvpn.8.html + +comma = , + +%.o: %.rc + $(WINDRES) -D _VERSION_=$(subst .,$(comma),$(VERSION)),0 -i $< -o $@ else dist_man_MANS = openvpn.8 endif -- cgit v1.2.3