bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libposix - is it done yet?


From: Bruce Korb
Subject: Re: libposix - is it done yet?
Date: Mon, 11 Oct 2010 07:22:49 -0700

Hi Gary, Ralf,

On Sun, Oct 10, 2010 at 11:34 PM, Gary V. Vaughan wrote:er.
>
> Agreed, with some caveats.
>
> Since this affects many gnulib modules, libposix or not:
>
> --- a/modules/stdlib
> +++ b/modules/stdlib
> @@ -18,6 +18,7 @@ configure.ac:
>  gl_STDLIB_H
>
>  Makefile.am
> +noinst_HEADERS += stdlib.h
>  BUILT_SOURCES += stdlib.h

> This also makes the 'Makefile.am:' section of the module files more
> expressive, since you can now express whether a file is a built source
> or not, independently of whether it's a header (that libposix or others
> might wish to install). Surely it's just a fluke that BUILT_SOURCES is
> currently the same set as the headers that libposix wants to install -
> at least for the modules it includes, I haven't looked at the others.

How about "iconv_open" module?  That looks, at first glance,
to be more interesting than the rest.



Makefile.am:
iconv_open-aix.h: iconv_open-aix.gperf
        $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > 
$(srcdir)/iconv_open-aix.h-t
        mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
iconv_open-hpux.h: iconv_open-hpux.gperf
        $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > 
$(srcdir)/iconv_open-hpux.h-t
        mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
iconv_open-irix.h: iconv_open-irix.gperf
        $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > 
$(srcdir)/iconv_open-irix.h-t
        mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
iconv_open-osf.h: iconv_open-osf.gperf
        $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > 
$(srcdir)/iconv_open-osf.h-t
        mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
iconv_open-solaris.h: iconv_open-solaris.gperf
        $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf >
$(srcdir)/iconv_open-solaris.h-t
        mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
BUILT_SOURCES        += iconv_open-aix.h iconv_open-hpux.h
iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
MOSTLYCLEANFILES     += iconv_open-aix.h-t iconv_open-hpux.h-t
iconv_open-irix.h-t iconv_open-osf.h-t iconv_open-solaris.h-t
MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h
iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
EXTRA_DIST           += iconv_open-aix.h iconv_open-hpux.h
iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h



reply via email to

[Prev in Thread] Current Thread [Next in Thread]