Annotation of tme/libtme/host/x86/Makefile.am, revision 1.1.1.1

1.1       root        1: ## Process this file with automake to produce Makefile.in
                      2: # Makefile.am for The Machine Emulator libtme/host/x86:
                      3: 
                      4: AUTOMAKE_OPTIONS = 1.4 gnu
                      5: 
                      6: EXTRA_DIST = recode-x86.c \
                      7:        rc-x86-flags.c \
                      8:        rc-x86-conds.c \
                      9:        rc-x86-tlb.c \
                     10:        rc-x86-chain.c \
                     11:        rc-x86-rws.c \
                     12:        rc-x86-insns.c \
                     13:        rc-x86-regs.c \
                     14:        rc-x86-subs-asm.S \
                     15:        rc-x86-subs.c \
                     16:        misc-x86.c
                     17: 
                     18: make-rc-x86-subs.c:
                     19:        echo '/* automatically generated, do not edit! */' >> $@
                     20:        echo '' >> $@
                     21:        echo -n '#if TME_RECODE_SIZE_HOST ' >> $@
                     22:        if test `uname -p` = i386; then echo -n '==' >> $@; else echo -n '>' >> $@; fi
                     23:        echo ' TME_RECODE_SIZE_32' >> $@
                     24:        echo '' >> $@
                     25:        gcc -o rc-x86-subs-asm.o -c rc-x86-subs-asm.S
                     26:        echo '/* offsets in the hand-coded '`uname -p`' x86 recode subs: */' >> $@
                     27:        nm rc-x86-subs-asm.o | \
                     28:          awk '/ T / { print "#define " $$3 "\t(0x" $$1 ")" }' >> $@
                     29:        echo '' >> $@
                     30:        echo '/* the hand-coded '`uname -p`' x86 recode subs: */' >> $@
                     31:        objcopy --output-target=binary rc-x86-subs-asm.o rc-x86-subs-asm.bin
                     32:        echo 'static const tme_uint8_t _tme_recode_x86_subs[] = {' >> $@
                     33:        hexdump -e '16/1 "0x%02x, " "\n"' rc-x86-subs-asm.bin | \
                     34:          sed -e 's/0x  ,/0x00,/g' >> $@
                     35:        echo '};' >> $@
                     36:        echo '' >> $@
                     37:        echo '#endif /* TME_RECODE_SIZE_HOST */' >> $@

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.