2 A C macro for declaring that specific arguments must not be NULL.
8 build-aux/arg-nonnull.h
15 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
16 # statements but through direct file reference. Therefore this snippet must be
17 # present in all Makefile.am that need it. This is ensured by the applicability
18 # 'all' defined above.
20 BUILT_SOURCES += arg-nonnull.h
21 # The arg-nonnull.h that gets inserted into generated .h files is the same as
22 # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
23 arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
24 $(AM_V_GEN)rm -f $@-t $@ && \
25 sed -n -e '/GL_ARG_NONNULL/,$$p' \
26 < $(top_srcdir)/build-aux/arg-nonnull.h \
29 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
31 ARG_NONNULL_H=arg-nonnull.h