diff options
Diffstat (limited to 'nt/gnulib.mk')
| -rw-r--r-- | nt/gnulib.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nt/gnulib.mk b/nt/gnulib.mk index df27dcf610c..ff46e9f09a6 100644 --- a/nt/gnulib.mk +++ b/nt/gnulib.mk @@ -78,6 +78,29 @@ EXTRA_DIST += alloca.in.h ## end gnulib module alloca-opt +## begin gnulib module byteswap + +BUILT_SOURCES += $(BYTESWAP_H) + +# We need the following in order to create <byteswap.h> when the system +# doesn't have one. +if GL_GENERATE_BYTESWAP_H +byteswap.h: byteswap.in.h $(top_builddir)/config.status + $(AM_V_GEN)rm -f $@-t $@ && \ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/byteswap.in.h; \ + } > $@-t && \ + mv -f $@-t $@ +else +byteswap.h: $(top_builddir)/config.status + rm -f $@ +endif +MOSTLYCLEANFILES += byteswap.h byteswap.h-t + +EXTRA_DIST += byteswap.in.h + +## end gnulib module byteswap + ## begin gnulib module c-ctype libgnu_a_SOURCES += c-ctype.h c-ctype.c |
