summaryrefslogtreecommitdiff
path: root/src/examples/ecore/Makefile.am
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-11-01 11:52:21 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-11-01 11:52:21 -0200
commit15a0ca0fb9eaa914329d47666397f70f37d85bf5 (patch)
tree701b816df497f8e69465cefcdc63ef01773642e4 /src/examples/ecore/Makefile.am
parent83457a52e26f37c9f1d691e8373cb38c52c9b1b2 (diff)
examples/ecore: command to generate OpenSSL PEM files.
it's cumbersome to remember these commands and without them it's hard to test the SSL server examples, so add a make rule for that.
Diffstat (limited to 'src/examples/ecore/Makefile.am')
-rw-r--r--src/examples/ecore/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/examples/ecore/Makefile.am b/src/examples/ecore/Makefile.am
index 7e26163329..fe23058466 100644
--- a/src/examples/ecore/Makefile.am
+++ b/src/examples/ecore/Makefile.am
@@ -387,6 +387,9 @@ efl_net_dialer_udp_example.c \
387efl_net_socket_ssl_dialer_example.c \ 387efl_net_socket_ssl_dialer_example.c \
388efl_net_socket_ssl_server_example.c 388efl_net_socket_ssl_server_example.c
389 389
390%.pem:
391 echo -e "US\nOR\nPortland\nXPTO Ltd\n\nlocalhost\nroot@localhost\n" | openssl req -new -x509 -days 30 -nodes -out $@ -keyout $@
392
390DATA_FILES = red.png Makefile.examples 393DATA_FILES = red.png Makefile.examples
391 394
392EXTRA_DIST = $(DATA_FILES) 395EXTRA_DIST = $(DATA_FILES)