aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2011-08-07 12:47:17 +0200
committerBertrand Jacquin <beber@meleeweb.net>2011-08-07 13:06:00 +0200
commit4ca674023852bd7bcc5c8ff988bb1498810b023a (patch)
treed3f89632b8cdf2866d999d75cd2d200a5379dfee
parentWin32: Add OpenVPN RC file to add fill "Details" exe properties tabs (diff)
downloadopenvpn-4ca674023852bd7bcc5c8ff988bb1498810b023a.tar.gz
Win32: Fill "Details" properties for openvpn.exe
-rw-r--r--Makefile.am12
1 files changed, 12 insertions, 0 deletions
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