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 ' >>$@ || $(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)