libposix: Add _HEADERS primaries to posix modules.
[gnulib.git] / modules / warn-on-use
1 Description:
2 A C macro for emitting a warning if a function is used.
3
4 Applicability:
5 all
6
7 Files:
8 build-aux/warn-on-use.h
9 m4/warn-on-use.m4
10
11 Depends-on:
12
13 configure.ac:
14
15 Makefile.am:
16 nodist_pkginclude_HEADERS += warn-on-use.h
17
18 BUILT_SOURCES += warn-on-use.h
19 # The warn-on-use.h that gets inserted into generated .h files is the same as
20 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
21 warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
22         $(AM_V_GEN)rm -f $@-t $@ && \
23         sed -n -e '/^.ifndef/,$$p' \
24           < $(top_srcdir)/build-aux/warn-on-use.h \
25           > $@-t && \
26         mv $@-t $@
27 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
28
29 WARN_ON_USE_H=warn-on-use.h
30
31 Include:
32
33 License:
34 LGPLv2+
35
36 Maintainer:
37 Eric Blake