[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libposix - is it done yet?
From: |
Bruno Haible |
Subject: |
Re: libposix - is it done yet? |
Date: |
Mon, 11 Oct 2010 00:34:47 +0200 |
User-agent: |
KMail/1.9.9 |
Bruce Korb wrote:
> > nobase_nodist_pkginclude_HEADERS = $(FNMATCH_H) $(FLOAT_H) $(STDDEF_H) ...
>
> so the script must first determine the full list of headers
> that might be provided, convert them to $(XXX_H) names and
> stuff the list into the *_HEADERS thing.
Yes.
> Having looked
> through the module sources, there is no clear way of
> deriving the list of header macro names.
$ STDDEF_H modules/stddef
gl_STDDEF_H
BUILT_SOURCES += $(STDDEF_H)
-e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
So you can recognize it through BUILT_SOURCES.
$ for module in `./posix-modules`; do grep '^BUILT_SOURCES += \$(.*_H)$'
modules/$module; done
BUILT_SOURCES += $(ERRNO_H)
BUILT_SOURCES += $(FLOAT_H)
BUILT_SOURCES += $(FNMATCH_H)
BUILT_SOURCES += $(GETOPT_H)
BUILT_SOURCES += $(GLOB_H)
BUILT_SOURCES += $(NETINET_IN_H)
BUILT_SOURCES += $(SCHED_H)
BUILT_SOURCES += $(STDARG_H)
BUILT_SOURCES += $(STDBOOL_H)
BUILT_SOURCES += $(STDDEF_H)
BUILT_SOURCES += $(STDINT_H)
$ for module in `./posix-modules`; do grep '^BUILT_SOURCES +=
.*\(\$(.*_H)\|\.h\)$' modules/$module; done
BUILT_SOURCES += arpa/inet.h
BUILT_SOURCES += ctype.h
BUILT_SOURCES += dirent.h
BUILT_SOURCES += $(ERRNO_H)
BUILT_SOURCES += fcntl.h
BUILT_SOURCES += $(FLOAT_H)
BUILT_SOURCES += $(FNMATCH_H)
BUILT_SOURCES += $(GETOPT_H)
BUILT_SOURCES += $(GLOB_H)
BUILT_SOURCES += inttypes.h
BUILT_SOURCES += langinfo.h
BUILT_SOURCES += locale.h
BUILT_SOURCES += math.h
BUILT_SOURCES += netdb.h
BUILT_SOURCES += $(NETINET_IN_H)
BUILT_SOURCES += poll.h
BUILT_SOURCES += $(SCHED_H)
BUILT_SOURCES += search.h
BUILT_SOURCES += signal.h
BUILT_SOURCES += spawn.h
BUILT_SOURCES += $(STDARG_H)
BUILT_SOURCES += $(STDBOOL_H)
BUILT_SOURCES += $(STDDEF_H)
BUILT_SOURCES += $(STDINT_H)
BUILT_SOURCES += stdio.h
BUILT_SOURCES += stdlib.h
BUILT_SOURCES += string.h
BUILT_SOURCES += sys/select.h
BUILT_SOURCES += sys/socket.h
BUILT_SOURCES += sys/stat.h
BUILT_SOURCES += sys/time.h
BUILT_SOURCES += sys/times.h
BUILT_SOURCES += sys/utsname.h
BUILT_SOURCES += sys/wait.h
BUILT_SOURCES += termios.h
BUILT_SOURCES += time.h
BUILT_SOURCES += unistd.h
BUILT_SOURCES += wchar.h
BUILT_SOURCES += wctype.h
Other than that, think also of 'regex' module, which is different.
Bruno
Re: libposix - is it done yet?, Bruce Korb, 2010/10/10