diff options
author | Jeff Bailey <jeffbailey@google.com> | 2014-03-14 09:04:00 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-07-16 08:43:08 +0800 |
commit | 5d46b27435464c603340179bc2dbad45358f2d14 (patch) | |
tree | 416cbfdd8d78373e67d575ff54b3d5146ce77830 /lib/Makefile.am | |
parent | b90b84b36d01f6663a79d9467a37cd9d6f6a68e7 (diff) | |
download | petitboot-5d46b27435464c603340179bc2dbad45358f2d14.zip petitboot-5d46b27435464c603340179bc2dbad45358f2d14.tar.gz |
autotools: Don't require custom automake options
We need a couple of automake options to prevent errors when regenerating
Makefile.ins during source preparation.
Some makefiles assume GNU make, so add 'foreign' where necessary. Also,
we are building objects in subdirectories, so we need 'subdir-objects'.
Modified to suit recent petitboot by Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Jeff Bailey <jeffbailey@google.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r-- | lib/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index f6009cf..5fc8911 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -12,6 +12,8 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +AUTOMAKE_OPTIONS = subdir-objects + AM_CPPFLAGS = -I$(top_srcdir)/lib $(DEFAULT_CPPFLAGS) \ -DPREFIX='"$(prefix)"' |