Mercurial > gnulib
annotate modules/byteswap @ 14700:6758fa38915e topic/libposix
manual merge
author | Bruce Korb <bkorb@gnu.org> |
---|---|
date | Fri, 06 May 2011 08:15:59 -0700 |
parents | 8636d98120a9 662ae53d8d37 |
children |
rev | line source |
---|---|
5810 | 1 Description: |
2 Swap bytes of 16, 32 and 64 bit values. | |
3 | |
4 Files: | |
9245
de761f780257
Rename byteswap_.h to byteswap.in.h.
Bruno Haible <bruno@clisp.org>
parents:
7497
diff
changeset
|
5 lib/byteswap.in.h |
5810 | 6 m4/byteswap.m4 |
7 | |
8 Depends-on: | |
9 | |
10 configure.ac: | |
11 gl_BYTESWAP | |
12 | |
13 Makefile.am: | |
14108
873a3371d1d2
spell the pkginclude directory correctly.
Bruce Korb <bkorb@gnu.org>
parents:
14107
diff
changeset
|
14 nodist_pkginclude_HEADERS += $(BYTESWAP_H) |
14102
f49fe7e6d028
add _HEADERS primaries to Makefile.am snippets for installable headers
Gary V. Vaughan <gary@gnu.org>
parents:
11868
diff
changeset
|
15 EXTRA_HEADERS += byteswap.h |
f49fe7e6d028
add _HEADERS primaries to Makefile.am snippets for installable headers
Gary V. Vaughan <gary@gnu.org>
parents:
11868
diff
changeset
|
16 |
5810 | 17 BUILT_SOURCES += $(BYTESWAP_H) |
18 | |
6001
322a0918d54a
* modules/alloca-opt (Makefile.am): Remove explicit dependency on
Paul Eggert <eggert@cs.ucla.edu>
parents:
5810
diff
changeset
|
19 # We need the following in order to create <byteswap.h> when the system |
5810 | 20 # doesn't have one. |
14528
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14273
diff
changeset
|
21 if GL_GENERATE_BYTESWAP_H |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14273
diff
changeset
|
22 byteswap.h: byteswap.in.h $(top_builddir)/config.status |
11868
67c2b22aff08
annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents:
11858
diff
changeset
|
23 $(AM_V_GEN)rm -f $@-t $@ && \ |
7421
8bace4b08db5
Mark generated files as "DO NOT EDIT".
Bruno Haible <bruno@clisp.org>
parents:
7274
diff
changeset
|
24 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
9245
de761f780257
Rename byteswap_.h to byteswap.in.h.
Bruno Haible <bruno@clisp.org>
parents:
7497
diff
changeset
|
25 cat $(srcdir)/byteswap.in.h; \ |
11868
67c2b22aff08
annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents:
11858
diff
changeset
|
26 } > $@-t && \ |
7274
9ff9e0f3d681
Don't make generated files read-only. That would bother too many
Jim Meyering <jim@meyering.net>
parents:
7268
diff
changeset
|
27 mv -f $@-t $@ |
14528
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14273
diff
changeset
|
28 else |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14273
diff
changeset
|
29 byteswap.h: $(top_builddir)/config.status |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14273
diff
changeset
|
30 rm -f $@ |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14273
diff
changeset
|
31 endif |
5810 | 32 MOSTLYCLEANFILES += byteswap.h byteswap.h-t |
33 | |
34 Include: | |
35 <byteswap.h> | |
36 | |
37 License: | |
9757
1c1c832cb7f3
Re-license byteswap to LGPLv2+.
Simon Josefsson <simon@josefsson.org>
parents:
9245
diff
changeset
|
38 LGPLv2+ |
5810 | 39 |
40 Maintainer: | |
41 Oskar Liljeblad |