-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the build system from simple Makefile to autotools. This will provide the missing install and uninstall targets. Furthermore passing CPPFLAGS will be supported. Signed-off-by: Heinrich Schuchardt <[email protected]>
- Loading branch information
Showing
15 changed files
with
53 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Andreas Färber <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Version 0.2, 2017-xx-yy | ||
Use autotools as build system | ||
Version 0.1, 2017-05-01 | ||
Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
SUBDIRS = src | ||
|
||
ACLOCAL_AMFLAGS = -I m4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ChangeLog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
|
||
test -f configure.ac || { | ||
echo "Please, run this script in the top level project directory." | ||
exit | ||
} | ||
|
||
libtoolize --force --copy | ||
aclocal -I m4 | ||
autoconf | ||
automake --add-missing --copy | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
dnl meson-tools | ||
|
||
dnl Initialization | ||
AC_INIT([meson-tools], [0.2], [Andreas Färber <[email protected]>]) | ||
AM_INIT_AUTOMAKE | ||
LT_INIT | ||
|
||
dnl Configure macros | ||
AC_CONFIG_MACRO_DIR([m4]) | ||
|
||
LDFLAGS+=" -lcrypto" | ||
|
||
AC_CHECK_HEADER([openssl/sha.h], | ||
[], | ||
[AC_MSG_ERROR([openssl/sha.h not found. Please, install libssl-dev.])] | ||
) | ||
|
||
dnl Makefiles | ||
AC_CONFIG_FILES([ | ||
Makefile | ||
src/Makefile | ||
]) | ||
|
||
dnl Generate files | ||
AC_OUTPUT | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
bin_PROGRAMS = amlbootsig unamlbootsig amlinfo | ||
|
||
amlbootsig_SOURCES = amlbootsig.c fip.h meson.h | ||
unamlbootsig_SOURCES = unamlbootsig.c fip.h meson.h | ||
amlinfo_SOURCES = amlinfo.c fip.h meson.h |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.