summaryrefslogtreecommitdiffstats
path: root/apps/build.info
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-02-12 00:34:40 +0100
committerRichard Levitte <levitte@openssl.org>2016-02-12 04:42:22 +0100
commitfb3e2a88eed124b1a74ebed89c20283780ee2bc6 (patch)
tree00e3cb0532ca436a3c11c83a750cdfa7013e4558 /apps/build.info
parentTypo: only return error if unrecognise bag type. (diff)
downloadopenssl-fb3e2a88eed124b1a74ebed89c20283780ee2bc6.tar.xz
openssl-fb3e2a88eed124b1a74ebed89c20283780ee2bc6.zip
Generate progs.h from a bunch of files instead of internal knowledge
apps/progs.pl counted on the caller to provide the exact command files. The unified build doesn't have that knowledge, and the easier and more flexible thing to do is to feed it all the apps/*.c files and let it figure out the command names by looking inside (looking for /int ([a-z0-9][a-z0-9_]*)_main\(int argc,/). Also, add it to the generate command, since it's a versioned file. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/build.info')
-rw-r--r--apps/build.info6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/build.info b/apps/build.info
index 173f1bc0ef..a7dcee6e1a 100644
--- a/apps/build.info
+++ b/apps/build.info
@@ -16,9 +16,3 @@ DEPEND[openssl]=../libssl
SCRIPTS=CA.pl
SOURCE[CA.pl]=CA.pl.in
-
-BEGINRAW[Makefile]
-{- $builddir -}/progs.h: {- $sourcedir -}/progs.pl {- $builddir -}/../Makefile
- $(RM) {- $builddir -}/progs.h
- $(PERL) {- $sourcedir -}/progs.pl $(COMMANDS) >{- $builddir -}/progs.h
-ENDRAW[Makefile]