libposix: Add _HEADERS primaries to posix modules.
[gnulib.git] / modules / unused-parameter
1 Description:
2 A C macro for declaring that specific function parameters are not used.
3
4 Applicability:
5 all
6
7 Files:
8 build-aux/unused-parameter.h
9
10 Depends-on:
11
12 configure.ac:
13
14 Makefile.am:
15 nodist_pkginclude_HEADERS += unused-parameter.h
16
17 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
18 # statements but through direct file reference. Therefore this snippet must be
19 # present in all Makefile.am that need it. This is ensured by the applicability
20 # 'all' defined above.
21
22 BUILT_SOURCES += unused-parameter.h
23 # The unused-parameter.h that gets inserted into generated .h files is the same
24 # as build-aux/unused-parameter.h, except that it has the copyright header cut
25 # off.
26 unused-parameter.h: $(top_srcdir)/build-aux/unused-parameter.h
27         $(AM_V_GEN)rm -f $@-t $@ && \
28         sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
29           < $(top_srcdir)/build-aux/unused-parameter.h \
30           > $@-t && \
31         mv $@-t $@
32 MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
33
34 UNUSED_PARAMETER_H=unused-parameter.h
35
36 Include:
37
38 License:
39 LGPLv2+
40
41 Maintainer:
42 Bruno Haible