blob: 52ae2eb1aaf9a96b3a9fe7c9d7fbc6a46f6a4436 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
This file is part of MXE.
See index.html for further information.
--- a/GNUmakefile 2012-12-08 08:05:26.678456631 +0100
+++ b/GNUmakefile 2012-12-08 08:13:02.002469110 +0100
@@ -130,7 +130,7 @@
# cross compiling.
pm_config.h: \
- $(SRCDIR)/pm_config.in.h Makefile.config inttypes_netpbm.h $(ENDIANGEN)
+ $(SRCDIR)/pm_config.in.h Makefile.config
echo '/* pm_config.h GENERATED BY A MAKE RULE */' >$@ || $(DELETEIT)
echo '#ifndef PM_CONFIG_H' >>$@ || $(DELETEIT)
echo '#define PM_CONFIG_H' >>$@ || $(DELETEIT)
@@ -150,7 +150,17 @@
endif
echo '/* pm_config.h.in FOLLOWS ... */' >>$@ || $(DELETEIT)
cat $(SRCDIR)/pm_config.in.h >>$@ || $(DELETEIT)
- $(ENDIANGEN) >>$@ || $(DELETEIT)
+ echo '#include <ctype.h>' >>$@ || $(DELETEIT)
+ echo '#ifndef LITTLE_ENDIAN' >>$@ || $(DELETEIT)
+ echo '#define LITTLE_ENDIAN 1234' >>$@ || $(DELETEIT)
+ echo '#endif' >>$@ || $(DELETEIT)
+ echo '#ifndef BIG_ENDIAN' >>$@ || $(DELETEIT)
+ echo '#define BIG_ENDIAN 4321' >>$@ || $(DELETEIT)
+ echo '#endif' >>$@ || $(DELETEIT)
+ echo '#ifndef BYTE_ORDER' >>$@ || $(DELETEIT)
+ echo '#define BYTE_ORDER LITTLE_ENDIAN' >>$@ || $(DELETEIT)
+ echo '#endif' >>$@ || $(DELETEIT)
+ echo '#define BITS_PER_WORD 32' >>$@ || $(DELETEIT)
echo '#endif' >>$@ || $(DELETEIT)
|