[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_LIBOBJ with file in subdirectory does not work
From: |
Bruno Haible |
Subject: |
Re: AC_LIBOBJ with file in subdirectory does not work |
Date: |
Thu, 27 May 2010 00:19:05 +0200 |
User-agent: |
KMail/1.9.9 |
Hi Ralf,
> Can you please tell me how to reproduce that hell in libgettextpo?
You already reproduced it pretty well.
> I tried the patch below, and so far it seems to work reasonably well.
> You lose the ability to do 'make clean' in either of
> gettext-tools/libgettextpo and gettext-tools/src without also cleaning
> the other, and some object files of the former live in the latter and
> have long names, but that's about it. What am I missing?
> (The renaming trick is documented in the Automake manual.)
>
> Thanks,
> Ralf
>
> gettext-tools/libgettextpo/ChangeLog:
> 2010-05-26 Ralf Wildenhues <address@hidden>
>
> * Makefile.am (AUTOMAKE_OPTIONS): Add subdir-objects.
> (libgettextpo_la_CPPFLAGS): New variable, to force renamed objects.
>
> diff --git a/gettext-tools/libgettextpo/Makefile.am
> b/gettext-tools/libgettextpo/Makefile.am
> index 648f589..2ec49ac 100644
> --- a/gettext-tools/libgettextpo/Makefile.am
> +++ b/gettext-tools/libgettextpo/Makefile.am
> @@ -16,7 +16,7 @@
>
> ## Process this file with automake to produce Makefile.in.
>
> -AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies
> +AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies subdir-objects
> EXTRA_DIST =
> BUILT_SOURCES =
> MOSTLYCLEANFILES = core *.stackdump
> @@ -40,6 +40,10 @@ AM_CPPFLAGS = \
> -I../src -I$(top_srcdir)/src \
> -I../intl -I$(top_srcdir)/../gettext-runtime/intl
>
> +
> # libgettextpo contains the public API for PO files.
> libgettextpo_la_SOURCES = \
> gettext-po.c \
>
>
- AC_LIBOBJ with file in subdirectory does not work, Bruno Haible, 2010/05/24
- Re: AC_LIBOBJ with file in subdirectory does not work, Bruno Haible, 2010/05/25
- Re: AC_LIBOBJ with file in subdirectory does not work, Ralf Wildenhues, 2010/05/25
- Re: AC_LIBOBJ with file in subdirectory does not work, Bruno Haible, 2010/05/25
- Re: AC_LIBOBJ with file in subdirectory does not work, Ralf Wildenhues, 2010/05/26
- Re: AC_LIBOBJ with file in subdirectory does not work, Ralf Wildenhues, 2010/05/26
- Re: AC_LIBOBJ with file in subdirectory does not work,
Bruno Haible <=
- Re: AC_LIBOBJ with file in subdirectory does not work, Bruno Haible, 2010/05/26
- Re: AC_LIBOBJ with file in subdirectory does not work, Ralf Wildenhues, 2010/05/27
- Re: AC_LIBOBJ with file in subdirectory does not work, Bruno Haible, 2010/05/27
- Re: AC_LIBOBJ with file in subdirectory does not work, Russ Allbery, 2010/05/27