diff options
author | Brent Cook <bcook@openbsd.org> | 2014-12-06 10:21:23 -0600 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2014-12-06 10:21:23 -0600 |
commit | 33ff088a6065cfbafe2f7b870595dc392832cdcb (patch) | |
tree | fb98b348d154d8e19a7979e71aa89228193d520f /tls | |
parent | d3ea95b9f56a0a19d77e693f5556527dee43aa24 (diff) | |
download | portable-33ff088a6065cfbafe2f7b870595dc392832cdcb.tar.gz portable-33ff088a6065cfbafe2f7b870595dc392832cdcb.tar.bz2 portable-33ff088a6065cfbafe2f7b870595dc392832cdcb.zip |
simplify packaging for libtls.
Derive the file list from the Makefile.am template itself (DRY), ensure
manpage is packaged with the final tarball.
Diffstat (limited to 'tls')
-rw-r--r-- | tls/Makefile.am.tpl | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tls/Makefile.am.tpl b/tls/Makefile.am.tpl index 7c4bf5c..55461c6 100644 --- a/tls/Makefile.am.tpl +++ b/tls/Makefile.am.tpl | |||
@@ -1,10 +1,17 @@ | |||
1 | include $(top_srcdir)/Makefile.am.common | 1 | include $(top_srcdir)/Makefile.am.common |
2 | 2 | ||
3 | if ENABLE_LIBTLS | ||
3 | lib_LTLIBRARIES = libtls.la | 4 | lib_LTLIBRARIES = libtls.la |
4 | 5 | ||
5 | libtls_la_LDFLAGS = -version-info libtls-version | 6 | libtls_la_LDFLAGS = -version-info libtls-version |
6 | 7 | ||
7 | libtls_la_CFLAGS = $(CFLAGS) $(USER_CFLAGS) | 8 | libtls_la_CFLAGS = $(CFLAGS) $(USER_CFLAGS) |
8 | libtls_la_SOURCES = | ||
9 | noinst_HEADERS = | ||
10 | 9 | ||
10 | libtls_la_SOURCES = tls.c | ||
11 | libtls_la_SOURCES += tls_client.c | ||
12 | libtls_la_SOURCES += tls_config.c | ||
13 | libtls_la_SOURCES += tls_server.c | ||
14 | libtls_la_SOURCES += tls_util.c | ||
15 | libtls_la_SOURCES += tls_verify.c | ||
16 | noinst_HEADERS = tls_internal.h | ||
17 | endif | ||