From 98bc1a3e06a11be62bb1f5ab3d7c1b98dfbabbaa Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Wed, 29 Feb 2012 22:12:00 +0200 Subject: build: add libtool + windows resources for executables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alon Bar-Lev Acked-by: David Sommerseth Acked-by: Samuli Seppänen Signed-off-by: David Sommerseth --- build/Makefile.am | 15 +++++++++++++++ build/ltrc.inc | 23 +++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 build/Makefile.am create mode 100644 build/ltrc.inc (limited to 'build') diff --git a/build/Makefile.am b/build/Makefile.am new file mode 100644 index 0000000..a993b20 --- /dev/null +++ b/build/Makefile.am @@ -0,0 +1,15 @@ +# +# OpenVPN -- An application to securely tunnel IP networks +# over a single UDP port, with support for SSL/TLS-based +# session authentication and key exchange, +# packet encryption, packet authentication, and +# packet compression. +# +# Copyright (C) 2002-2010 OpenVPN Technologies, Inc. +# + +MAINTAINERCLEANFILES = \ + $(srcdir)/Makefile.in + +EXTRA_DIST = \ + ltrc.inc diff --git a/build/ltrc.inc b/build/ltrc.inc new file mode 100644 index 0000000..701f200 --- /dev/null +++ b/build/ltrc.inc @@ -0,0 +1,23 @@ +# +# OpenVPN -- An application to securely tunnel IP networks +# over a single UDP port, with support for SSL/TLS-based +# session authentication and key exchange, +# packet encryption, packet authentication, and +# packet compression. +# +# Copyright (C) 2008-2012 Alon Bar-Lev +# +# Required to build Windows resource file + +RCCOMPILE = $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) +LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RCCOMPILE) + +.rc.lo: + $(LTRCCOMPILE) -i "$<" -o "$@" + +.rc.o: + $(RCCOMPILE) -i "$<" -o "$@" + +.mc.rc: + $(WINDMC) "$<" -- cgit