Makefile.devel
上传用户:shenzhenrh
上传日期:2013-05-12
资源大小:2904k
文件大小:7k
源码类别:

信息检索与抽取

开发平台:

Unix_Linux

  1. HOST = i486-linux
  2. CPU = i386
  3. GCC = gcc
  4. GCCFLAGS = -O2 -fomit-frame-pointer
  5. LN = ln -s
  6. RM = rm -f
  7. SED = sed
  8. ROFF_MAN = groff -Tascii -mandoc
  9. all : avcall-i386.S avcall-i386-msvc.c avcall.h.msvc avcall-m68k.mit.S avcall-m68k.mot.s avcall-m68k-amiga.s avcall-mips.S avcall-mipsn32.S avcall-mips64.S avcall-sparc.S avcall-sparc64.S avcall-alpha.s avcall-hppa.s avcall-arm.S avcall-rs6000-aix.old.s avcall-rs6000-aix.new.s avcall-rs6000-sysv4.s avcall-m88k.s avcall-convex.s avcall-ia64.s avcall.man
  10. avcall-i386.S : avcall-i386.c avcall.h.in asmi386.sh
  11. $(GCC) -V 2.7.2 -b i486-linuxaout $(GCCFLAGS) -D__i386__ -fno-omit-frame-pointer -S avcall-i386.c -o avcall-i386.s
  12. (echo '#include "asmi386.h"' ; sed -e '/.align.*,0x90$$/d' < avcall-i386.s | ./asmi386.sh) > avcall-i386.S
  13. $(RM) avcall-i386.s
  14. avcall-i386-msvc.c : avcall-i386.S
  15. cp -p avcall-i386.S avcall-i386-msvc.c
  16. avcall.h.msvc : avcall.h.in
  17. sed -e 's,^#undef __i386__$$,#define __i386__ 1,' -e 's,^#undef __SMALL_STRUCT_RETURN__$$,#define __SMALL_STRUCT_RETURN__ 1,' < avcall.h.in > avcall.h.msvc
  18. avcall-m68k.mit.S : avcall-m68k.c avcall.h.in asmm68k.sh
  19. $(GCC) -V 2.95.2 -b m68k-sun $(GCCFLAGS) -D__m68k__ -S avcall-m68k.c -o avcall-m68k.mit.s
  20. (echo '#include "asmm68k.h"' ; ./asmm68k.sh < avcall-m68k.mit.s) > avcall-m68k.mit.S
  21. $(RM) avcall-m68k.mit.s
  22. avcall-m68k.mot.s : avcall-m68k.c avcall.h.in
  23. $(GCC) -V 2.95.2 -b m68k-linux $(GCCFLAGS) -D__m68k__ -S avcall-m68k.c -o avcall-m68k.mot.s
  24. avcall-m68k-amiga.s : avcall-m68k-amiga.c avcall.h.in
  25. $(GCC) -V 2.95.2 -b m68k-sun -m68000 $(GCCFLAGS) -D__m68k__ -DAMIGA -S avcall-m68k-amiga.c -o avcall-m68k-amiga.s
  26. avcall-mips.S : avcall-mips.c avcall.h.in asmmips.sh
  27. $(GCC) -V 2.95.2 -b mips-sgi $(GCCFLAGS) -D__mips__ -fno-omit-frame-pointer -S avcall-mips.c -o avcall-mips.s
  28. (echo '#include "asmmips.h"' ; ./asmmips.sh < avcall-mips.s) > avcall-mips.S
  29. $(RM) avcall-mips.s
  30. avcall-mipsn32.S : avcall-mipsn32.c avcall.h.in asmmips.sh
  31. $(GCC) -V 2.95.2 -b mips-sgi-irix6 $(GCCFLAGS) -D__mipsn32__ -fno-omit-frame-pointer -S avcall-mipsn32.c -o avcall-mipsn32.s
  32. (echo '#include "asmmips.h"' ; ./asmmips.sh < avcall-mipsn32.s) > avcall-mipsn32.S
  33. $(RM) avcall-mipsn32.s
  34. avcall-mips64.S : avcall-mips64.c avcall.h.in asmmips.sh
  35. $(GCC) -V 2.95.2 -b mips-sgi -mips3 -mlong64 $(GCCFLAGS) -U__mips__ -D__mips64__ -fno-omit-frame-pointer -S avcall-mips64.c -o avcall-mips64.s
  36. (echo '#include "asmmips.h"' ; ./asmmips.sh < avcall-mips64.s) > avcall-mips64.S
  37. $(RM) avcall-mips64.s
  38. avcall-sparc.S : avcall-sparc.c avcall.h.in asmsparc.sh
  39. $(GCC) -V 2.95.2 -b sparc-sun $(GCCFLAGS) -D__sparc__ -S avcall-sparc.c -o avcall-sparc.s
  40. (echo '#include "asmsparc.h"' ; ./asmsparc.sh < avcall-sparc.s) > avcall-sparc.S
  41. $(RM) avcall-sparc.s
  42. avcall-sparc64.S : avcall-sparc64.c avcall.h.in asmsparc.sh
  43. sparc64-linux-gcc -V 2.95.2 -b sparc64-linux $(GCCFLAGS) -D__sparc64__ -S avcall-sparc64.c -o avcall-sparc64.s
  44. (echo '#include "asmsparc.h"' ; ./asmsparc64.sh < avcall-sparc64.s) > avcall-sparc64.S
  45. $(RM) avcall-sparc64.s
  46. # Patrick Bridges says that on Linux/Alpha, avcall-alpha.s compiled with "-O"
  47. # works but compiled with "-O2" doesn't work.
  48. avcall-alpha.s : avcall-alpha.c avcall.h.in
  49. $(GCC) -V 2.7.2 -b alpha-dec-osf $(GCCFLAGS) -O1 -D__alpha__ -S avcall-alpha.c -o avcall-alpha-temp.s
  50. $(SED) -e '/ldgp/d' < avcall-alpha-temp.s > avcall-alpha.s
  51. $(RM) avcall-alpha-temp.s
  52. avcall-hppa.s : avcall-hppa.c avcall.h.in
  53. $(GCC) -V 2.6.3 -b hppa1.0-hpux $(GCCFLAGS) -D__hppa__ -S avcall-hppa.c -o avcall-hppa-temp.s
  54. $(SED) -e 's/120/1060/g' < avcall-hppa-temp.s > avcall-hppa.s
  55. $(RM) avcall-hppa-temp.s
  56. avcall-arm.S : avcall-arm.c avcall.h.in asmarm.sh
  57. $(GCC) -V 2.6.3 -b arm-acorn-riscix $(GCCFLAGS) -D__arm__ -S avcall-arm.c -o avcall-arm.s
  58. (echo '#include "asmarm.h"' ; ./asmarm.sh < avcall-arm.s) > avcall-arm.S
  59. $(RM) avcall-arm.s
  60. avcall-rs6000-aix.old.s : avcall-rs6000.c avcall.h.in
  61. $(GCC) -V 2.95.2 -b rs6000 -mno-power -mno-power2 -mno-powerpc -mold-mnemonics $(GCCFLAGS) -D__rs6000__ -S avcall-rs6000.c -o avcall-rs6000-aix.old.s
  62. avcall-rs6000-aix.new.s : avcall-rs6000.c avcall.h.in
  63. $(GCC) -V 2.95.2 -b rs6000 -mno-power -mno-power2 -mno-powerpc -mnew-mnemonics $(GCCFLAGS) -D__rs6000__ -S avcall-rs6000.c -o avcall-rs6000-aix.new.s
  64. avcall-rs6000-sysv4.s : avcall-rs6000.c avcall.h.in
  65. $(GCC) -V 2.95.2 -b ppc-linux -mno-power -mno-power2 -mno-powerpc $(GCCFLAGS) -D__rs6000__ -S avcall-rs6000.c -o avcall-rs6000-sysv4.s
  66. avcall-m88k.s : avcall-m88k.c avcall.h.in
  67. $(GCC) -V 2.95.2 -b m88k-dgux $(GCCFLAGS) -D__m88k__ -S avcall-m88k.c -o avcall-m88k.s
  68. avcall-convex.s : avcall-convex.c avcall.h.in
  69. $(GCC) -V 2.6.3 -b convex-c2 $(GCCFLAGS) -D__convex__ -S avcall-convex.c -o avcall-convex.s
  70. avcall-ia64.s : avcall-ia64.c avcall.h.in
  71. $(GCC) -V 2.9-ia64-000216 -b ia64-hp-linux $(GCCFLAGS) -D__ia64__ -S avcall-ia64.c -o avcall-ia64.s
  72. avcall.man : avcall.3
  73. $(ROFF_MAN) avcall.3 > avcall.man
  74. tests : tests-i386.s tests-m68k.s tests-mips.s tests-sparc.s tests-alpha.s tests-hppa.s tests-arm.s tests-rs6000.s tests-m88k.s tests-convex.s tests-ia64.s
  75. true
  76. tests-i386.s : tests.c avcall.h.in
  77. $(LN) avcall.h.in avcall.h
  78. $(GCC) -V 2.7.2 -b i486-linuxaout $(GCCFLAGS) -I/usr/include -D__i386__ -S tests.c -o tests-i386.s
  79. $(RM) avcall.h
  80. tests-m68k.s : tests.c avcall.h.in
  81. $(LN) avcall.h.in avcall.h
  82. $(GCC) -V 2.95.2 -b m68k-sun $(GCCFLAGS) -I/usr/include -D__m68k__ -S tests.c -o tests-m68k.s
  83. $(RM) avcall.h
  84. tests-mips.s : tests.c avcall.h.in
  85. $(LN) avcall.h.in avcall.h
  86. $(GCC) -V 2.95.2 -b mips-sgi $(GCCFLAGS) -I/usr/include -D__mips__ -S tests.c -o tests-mips.s
  87. $(RM) avcall.h
  88. tests-sparc.s : tests.c avcall.h.in
  89. $(LN) avcall.h.in avcall.h
  90. $(GCC) -V 2.95.2 -b sparc-sun $(GCCFLAGS) -I/usr/include -D__sparc__ -S tests.c -o tests-sparc.s
  91. $(RM) avcall.h
  92. tests-alpha.s : tests.c avcall.h.in
  93. $(LN) avcall.h.in avcall.h
  94. $(GCC) -V 2.7.2 -b alpha-dec-osf $(GCCFLAGS) -I/usr/include -D__alpha__ -S tests.c -o tests-alpha.s
  95. $(RM) avcall.h
  96. tests-hppa.s : tests.c avcall.h.in
  97. $(LN) avcall.h.in avcall.h
  98. $(GCC) -V 2.6.3 -b hppa1.0-hpux $(GCCFLAGS) -I/usr/include -D__hppa__ -S tests.c -o tests-hppa.s
  99. $(RM) avcall.h
  100. tests-arm.s : tests.c avcall.h.in
  101. $(LN) avcall.h.in avcall.h
  102. $(GCC) -V 2.6.3 -b arm-acorn-riscix $(GCCFLAGS) -I/usr/include -D__arm__ -S tests.c -o tests-arm.s
  103. $(RM) avcall.h
  104. tests-rs6000.s : tests.c avcall.h.in
  105. $(LN) avcall.h.in avcall.h
  106. $(GCC) -V 2.95.2 -b rs6000 $(GCCFLAGS) -I/usr/include -D__rs6000__ -S tests.c -o tests-rs6000.s
  107. $(RM) avcall.h
  108. tests-m88k.s : tests.c avcall.h.in
  109. $(LN) avcall.h.in avcall.h
  110. $(GCC) -V 2.95.2 -b m88k-dgux $(GCCFLAGS) -I/usr/include -D__m88k__ -S tests.c -o tests-m88k.s
  111. $(RM) avcall.h
  112. tests-convex.s : tests.c avcall.h.in
  113. $(LN) avcall.h.in avcall.h
  114. $(GCC) -V 2.6.3 -b convex-c2 $(GCCFLAGS) -I/usr/include -D__convex__ -S tests.c -o tests-convex.s
  115. $(RM) avcall.h
  116. tests-ia64.s : tests.c avcall.h.in
  117. $(LN) avcall.h.in avcall.h
  118. $(GCC) -V 2.9-ia64-000216 -b ia64-hp-linux $(GCCFLAGS) -I/usr/include -D__ia64__ -S tests.c -o tests-ia64.s
  119. $(RM) avcall.h