diff options
| author | Brent Cook <busterb@gmail.com> | 2014-11-19 22:02:17 -0600 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2014-11-23 08:33:56 -0600 |
| commit | 2103690cbf6adfbd24b271c610087bf73e1a3056 (patch) | |
| tree | 95981c5f0c19d69a9206d2ea299847a4da9d5ac9 | |
| parent | 1bd0c2fb2e03bcf5177a1703fe850db931210102 (diff) | |
| download | portable-2103690cbf6adfbd24b271c610087bf73e1a3056.tar.gz portable-2103690cbf6adfbd24b271c610087bf73e1a3056.tar.bz2 portable-2103690cbf6adfbd24b271c610087bf73e1a3056.zip | |
improve readability of generated Makefile.am files
| -rw-r--r-- | apps/Makefile.am.tpl | 1 | ||||
| -rw-r--r-- | crypto/Makefile.am.tpl | 4 | ||||
| -rw-r--r-- | ssl/Makefile.am.tpl | 1 | ||||
| -rw-r--r-- | tests/Makefile.am.tpl | 1 | ||||
| -rwxr-xr-x | update.sh | 7 |
5 files changed, 10 insertions, 4 deletions
diff --git a/apps/Makefile.am.tpl b/apps/Makefile.am.tpl index 5f1dd21..deae953 100644 --- a/apps/Makefile.am.tpl +++ b/apps/Makefile.am.tpl | |||
| @@ -13,3 +13,4 @@ noinst_HEADERS = | |||
| 13 | if !HAVE_STRTONUM | 13 | if !HAVE_STRTONUM |
| 14 | openssl_SOURCES += strtonum.c | 14 | openssl_SOURCES += strtonum.c |
| 15 | endif | 15 | endif |
| 16 | |||
diff --git a/crypto/Makefile.am.tpl b/crypto/Makefile.am.tpl index d9ca553..5e94936 100644 --- a/crypto/Makefile.am.tpl +++ b/crypto/Makefile.am.tpl | |||
| @@ -89,7 +89,7 @@ libcompat_la_SOURCES += compat/issetugid_win.c | |||
| 89 | endif | 89 | endif |
| 90 | endif | 90 | endif |
| 91 | 91 | ||
| 92 | noinst_HEADERS = des/ncbc_enc.c | 92 | noinst_HEADERS = |
| 93 | noinst_HEADERS += compat/arc4random.h | 93 | noinst_HEADERS += compat/arc4random.h |
| 94 | noinst_HEADERS += compat/arc4random_freebsd.h | 94 | noinst_HEADERS += compat/arc4random_freebsd.h |
| 95 | noinst_HEADERS += compat/arc4random_linux.h | 95 | noinst_HEADERS += compat/arc4random_linux.h |
| @@ -97,5 +97,7 @@ noinst_HEADERS += compat/arc4random_osx.h | |||
| 97 | noinst_HEADERS += compat/arc4random_solaris.h | 97 | noinst_HEADERS += compat/arc4random_solaris.h |
| 98 | noinst_HEADERS += compat/arc4random_win.h | 98 | noinst_HEADERS += compat/arc4random_win.h |
| 99 | noinst_HEADERS += compat/chacha_private.h | 99 | noinst_HEADERS += compat/chacha_private.h |
| 100 | |||
| 100 | libcrypto_la_SOURCES = | 101 | libcrypto_la_SOURCES = |
| 101 | EXTRA_libcrypto_la_SOURCES = | 102 | EXTRA_libcrypto_la_SOURCES = |
| 103 | |||
diff --git a/ssl/Makefile.am.tpl b/ssl/Makefile.am.tpl index 16caa92..01f2eaa 100644 --- a/ssl/Makefile.am.tpl +++ b/ssl/Makefile.am.tpl | |||
| @@ -7,3 +7,4 @@ libssl_la_LDFLAGS = -version-info libssl-version | |||
| 7 | libssl_la_CFLAGS = $(CFLAGS) $(USER_CFLAGS) | 7 | libssl_la_CFLAGS = $(CFLAGS) $(USER_CFLAGS) |
| 8 | libssl_la_SOURCES = | 8 | libssl_la_SOURCES = |
| 9 | noinst_HEADERS = | 9 | noinst_HEADERS = |
| 10 | |||
diff --git a/tests/Makefile.am.tpl b/tests/Makefile.am.tpl index ec7301c..6e10fdd 100644 --- a/tests/Makefile.am.tpl +++ b/tests/Makefile.am.tpl | |||
| @@ -10,3 +10,4 @@ LDADD += $(top_builddir)/crypto/libcrypto.la | |||
| 10 | TESTS = | 10 | TESTS = |
| 11 | check_PROGRAMS = | 11 | check_PROGRAMS = |
| 12 | EXTRA_DIST = | 12 | EXTRA_DIST = |
| 13 | |||
| @@ -382,9 +382,13 @@ crypto_excludes=( | |||
| 382 | echo "noinst_HEADERS += $i" >> Makefile.am | 382 | echo "noinst_HEADERS += $i" >> Makefile.am |
| 383 | done | 383 | done |
| 384 | for subdir in $crypto_subdirs; do | 384 | for subdir in $crypto_subdirs; do |
| 385 | echo >> Makefile.am | ||
| 386 | echo "# ${subdir}" >> Makefile.am | ||
| 385 | for i in `ls -1 $subdir/*.c|sort`; do | 387 | for i in `ls -1 $subdir/*.c|sort`; do |
| 386 | if ! [[ ${crypto_excludes[*]} =~ $i ]]; then | 388 | if ! [[ ${crypto_excludes[*]} =~ $i ]]; then |
| 387 | echo "libcrypto_la_SOURCES += $i" >> Makefile.am | 389 | echo "libcrypto_la_SOURCES += $i" >> Makefile.am |
| 390 | else | ||
| 391 | echo "EXTRA_libcrypto_la_SOURCES += $i" >> Makefile.am | ||
| 388 | fi | 392 | fi |
| 389 | done | 393 | done |
| 390 | headers=`ls -1 $subdir/*.h 2>/dev/null |sort` | 394 | headers=`ls -1 $subdir/*.h 2>/dev/null |sort` |
| @@ -394,9 +398,6 @@ crypto_excludes=( | |||
| 394 | done | 398 | done |
| 395 | fi | 399 | fi |
| 396 | done | 400 | done |
| 397 | for i in "${crypto_excludes[@]}"; do | ||
| 398 | echo "EXTRA_libcrypto_la_SOURCES += ${i}" >> Makefile.am | ||
| 399 | done | ||
| 400 | ) | 401 | ) |
| 401 | 402 | ||
| 402 | # conditional compiles | 403 | # conditional compiles |
