diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-10-04 16:27:11 +0200 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2013-10-04 16:27:11 +0200 |
commit | cd30a8e09c1bf7c64132eba5d27cb26583596b98 (patch) | |
tree | 58e82abcea046b0a8ec8ee7a52942b00d1b8a39b /nt | |
parent | 942f6f82c991254317f1fe109e3072350d6986d6 (diff) | |
download | emacs-cd30a8e09c1bf7c64132eba5d27cb26583596b98.tar.gz |
In nt/gnulib.mk create <byteswap.h> from <byteswap.in.h>.
* gnulib.mk: Create <byteswap.h> from <byteswap.in.h>.
Diffstat (limited to 'nt')
-rw-r--r-- | nt/ChangeLog | 4 | ||||
-rw-r--r-- | nt/gnulib.mk | 23 |
2 files changed, 27 insertions, 0 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index 2f9a2f5608d..94bd71d28fd 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,7 @@ +2013-10-04 Paul Eggert <eggert@cs.ucla.edu> + + * gnulib.mk: Create <byteswap.h> from <byteswap.in.h>. + 2013-09-20 Eli Zaretskii <eliz@gnu.org> * mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes" 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 |