2 A C macro for emitting a warning if a function is used.
8 build-aux/snippet/warn-on-use.h
16 BUILT_SOURCES += warn-on-use.h
17 # The warn-on-use.h that gets inserted into generated .h files is the same as
18 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
20 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
21 $(AM_V_GEN)rm -f $@-t $@ && \
22 sed -n -e '/^.ifndef/,$$p' \
23 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
26 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
28 WARN_ON_USE_H=warn-on-use.h