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

信息检索与抽取

开发平台:

Unix_Linux

  1. # Makefile for avcall
  2. #### Start of system configuration section. ####
  3. HOST = @host@
  4. CPU = @host_cpu@
  5. OS = @host_os@
  6. # Directories used by "make":
  7. srcdir = @srcdir@
  8. # Directories used by "make install":
  9. prefix = @prefix@
  10. local_prefix = /usr/local
  11. exec_prefix = @exec_prefix@
  12. libdir = $(exec_prefix)/lib
  13. includedir = $(prefix)/include
  14. mandir = $(exec_prefix)/man
  15. datadir = $(prefix)/share
  16. htmldir = $(datadir)/html
  17. # Programs used by "make":
  18. CC = @CC@
  19. CFLAGS = @CFLAGS@
  20. CPP = @CPP@
  21. INCLUDES = -I. -I$(srcdir)
  22. AS_UNDERSCORE = @AS_UNDERSCORE@
  23. ASPFLAGS = `if test @AS_UNDERSCORE@ = true; then echo '-DASM_UNDERSCORE'; fi`
  24. LIBTOOL = @LIBTOOL@
  25. LIBTOOL_COMPILE = $(LIBTOOL) --mode=compile
  26. LIBTOOL_LINK = $(LIBTOOL) --mode=link
  27. LIBTOOL_INSTALL = $(LIBTOOL) --mode=install
  28. LIBTOOL_UNINSTALL = $(LIBTOOL) --mode=uninstall
  29. AR = ar
  30. AR_FLAGS = rc
  31. RANLIB = @RANLIB@
  32. MV = mv
  33. LN = ln
  34. RM = rm -f
  35. @SET_MAKE@
  36. # Programs used by "make install":
  37. INSTALL = @INSTALL@
  38. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  39. INSTALL_DATA = @INSTALL_DATA@
  40. #### End of system configuration section. ####
  41. SHELL = /bin/sh
  42. # Needed by $(LIBTOOL).
  43. top_builddir = .
  44. SED = @SED@
  45. OBJECTS = avcall.lo structcpy.lo
  46. ifeq ($(OS),cygwin)
  47. OBJECTS := $(OBJECTS) avcall-i386-msvc.lo
  48. endif
  49. all : $(OBJECTS) libavcall.la avcall.h $(srcdir)/avcall.3 $(srcdir)/avcall.html
  50. avcall.lo : avcall-$(CPU).lo
  51. $(RM) avcall.lo avcall.o
  52. $(LN) avcall-$(CPU).lo avcall.lo
  53. if test -f avcall-$(CPU).o; then $(LN) avcall-$(CPU).o avcall.o; fi
  54. avcall-i386.lo : avcall-i386.s
  55. $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c avcall-i386.s
  56. avcall-i386-msvc.lo : avcall-i386-msvc.s
  57. $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c avcall-i386-msvc.s
  58. avcall-i386-msvc.s: $(srcdir)/avcall-i386-msvc.c
  59. $(CPP) -DMSVC $(ASPFLAGS) $(srcdir)/avcall-i386-msvc.c | grep -v '^ *#line' | grep -v '^#ident' | grep -v '^#' | sed -e 's,% ,%,g' > avcall-i386-msvc.s
  60. avcall-i386.s : $(srcdir)/avcall-i386.S
  61. $(CPP) $(ASPFLAGS) $(srcdir)/avcall-i386.S | grep -v '^ *#line' | grep -v '^#ident' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,% ,%,g' -e 's,. ,.,g' > avcall-i386.s
  62. avcall-x86_64.lo : $(srcdir)/avcall-x86_64.s
  63. $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/avcall-x86_64.s
  64. avcall-sparc.lo : avcall-sparc.s
  65. $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c avcall-sparc.s
  66. avcall-sparc.s : $(srcdir)/avcall-sparc.S
  67. $(CPP) $(ASPFLAGS) $(srcdir)/avcall-sparc.S | grep -v '^ *#line' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,//.*$$,,' -e 's,$$,#,g' > avcall-sparc.s
  68. avcall-sparc64.lo : avcall-sparc64.s
  69. $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c avcall-sparc64.s
  70. avcall-sparc64.s : $(srcdir)/avcall-sparc64.S
  71. $(CPP) $(ASPFLAGS) $(srcdir)/avcall-sparc64.S | grep -v '^ *#line' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,//.*$$,,' -e 's,$$,#,g' > avcall-sparc64.s
  72. avcall-m68k.lo : avcall-m68k.s
  73. $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c avcall-m68k.s
  74. avcall-m68k.s : $(srcdir)/avcall-m68k.mit.S $(srcdir)/avcall-m68k.mot.s
  75. $(CPP) $(ASPFLAGS) $(srcdir)/avcall-m68k.mit.S | grep -v '^ *#line' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,//.*$$,,' | if test @AS_UNDERSCORE@ = true; then sed -e 's/$$//g'; else sed -e 's/$$/%/g'; fi > avcall-m68k.s
  76. avcall-mips.lo : avcall-mips.s
  77. $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c avcall-mips.s
  78. avcall-mips.s : $(srcdir)/avcall-mips.S
  79. $(CPP) $(ASPFLAGS) $(srcdir)/avcall-mips.S | grep -v '^ *#line' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,//.*$$,,' > avcall-mips.s
  80. avcall-mipsn32.lo : avcall-mipsn32.s
  81. $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c avcall-mipsn32.s
  82. avcall-mipsn32.s : $(srcdir)/avcall-mipsn32.S
  83. $(CPP) $(ASPFLAGS) $(srcdir)/avcall-mipsn32.S | grep -v '^ *#line' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,//.*$$,,' > avcall-mipsn32.s
  84. avcall-mips64.lo : avcall-mips64.s
  85. $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c avcall-mips64.s
  86. avcall-mips64.s : $(srcdir)/avcall-mips64.S
  87. $(CPP) $(ASPFLAGS) $(srcdir)/avcall-mips64.S | grep -v '^ *#line' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,//.*$$,,' > avcall-mips64.s
  88. avcall-alpha.lo : $(srcdir)/avcall-alpha.s
  89. $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/avcall-alpha.s
  90. avcall-hppa.lo: $(srcdir)/avcall-hppa.s
  91. $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/avcall-hppa.s
  92. avcall-arm.lo : avcall-arm.s
  93. $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c avcall-arm.s
  94. avcall-arm.s : $(srcdir)/avcall-arm.S
  95. $(CPP) $(ASPFLAGS) $(srcdir)/avcall-arm.S | grep -v '^ *#line' | grep -v '^#' | sed -e 's,% ,%,g' -e 's,//,@,g' -e 's,$$,#,g' > avcall-arm.s
  96. avcall-rs6000.lo : $(srcdir)/avcall-rs6000-aix.old.s $(srcdir)/avcall-rs6000-aix.new.s $(srcdir)/avcall-rs6000-sysv4.s
  97. case "$(OS)" in 
  98.   aix3*) syntax=aix.old;; 
  99.   aix*) syntax=aix.new;; 
  100.   linux*) syntax=linux;; 
  101.           darwin*) syntax=darwin;; 
  102.   *) syntax=sysv4;; 
  103. esac; 
  104. cp $(srcdir)/avcall-rs6000-$${syntax}.s avcall-rs6000.s ; rm -f avcall-rs6000.lo ; 
  105. $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c avcall-rs6000.s 
  106. avcall-m88k.lo : $(srcdir)/avcall-m88k.s
  107. $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/avcall-m88k.s
  108. avcall-convex.lo : $(srcdir)/avcall-convex.s
  109. $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/avcall-convex.s
  110. avcall-ia64.lo : $(srcdir)/avcall-ia64.s
  111. $(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/avcall-ia64.s
  112. structcpy.lo : $(srcdir)/structcpy.c
  113. $(LIBTOOL_COMPILE) $(CC) $(CFLAGS) -c $(srcdir)/structcpy.c
  114. libavcall.la : $(OBJECTS)
  115. $(LIBTOOL_LINK) $(CC) -o libavcall.la $(OBJECTS)
  116. # Installs the library and include files only. Typically called with only
  117. # $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
  118. install-lib : all force
  119. if [ ! -d $(libdir) ] ; then mkdir $(libdir) ; fi
  120. $(LIBTOOL_INSTALL) $(INSTALL_DATA) libavcall.la $(libdir)/libavcall.la
  121. if [ ! -d $(includedir) ] ; then mkdir $(includedir) ; fi
  122. $(INSTALL_DATA) avcall.h $(includedir)/avcall.h
  123. install:
  124. install- : all force
  125. if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
  126. if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then mkdir $(DESTDIR)$(exec_prefix) ; fi
  127. if [ ! -d $(DESTDIR)$(libdir) ] ; then mkdir $(DESTDIR)$(libdir) ; fi
  128. $(LIBTOOL_INSTALL) $(INSTALL_DATA) libavcall.la $(DESTDIR)$(libdir)/libavcall.la
  129. if [ ! -d $(DESTDIR)$(includedir) ] ; then mkdir $(DESTDIR)$(includedir) ; fi
  130. $(INSTALL_DATA) avcall.h $(DESTDIR)$(includedir)/avcall.h
  131. if [ ! -d $(DESTDIR)$(mandir) ] ; then mkdir $(DESTDIR)$(mandir) ; fi
  132. if [ ! -d $(DESTDIR)$(mandir)/man3 ] ; then mkdir $(DESTDIR)$(mandir)/man3 ; fi
  133. $(INSTALL_DATA) $(srcdir)/avcall.3 $(DESTDIR)$(mandir)/man3/avcall.3
  134. if [ ! -d $(DESTDIR)$(datadir) ] ; then mkdir $(DESTDIR)$(datadir) ; fi
  135. if [ ! -d $(DESTDIR)$(htmldir) ] ; then mkdir $(DESTDIR)$(htmldir) ; fi
  136. $(INSTALL_DATA) $(srcdir)/avcall.html $(DESTDIR)$(htmldir)/avcall.html
  137. installdirs : force
  138. if [ ! -d $(DESTDIR)$(prefix) ] ; then mkdir $(DESTDIR)$(prefix) ; fi
  139. if [ ! -d $(DESTDIR)$(exec_prefix) ] ; then mkdir $(DESTDIR)$(exec_prefix) ; fi
  140. if [ ! -d $(DESTDIR)$(libdir) ] ; then mkdir $(DESTDIR)$(libdir) ; fi
  141. if [ ! -d $(DESTDIR)$(includedir) ] ; then mkdir $(DESTDIR)$(includedir) ; fi
  142. if [ ! -d $(DESTDIR)$(mandir) ] ; then mkdir $(DESTDIR)$(mandir) ; fi
  143. if [ ! -d $(DESTDIR)$(mandir)/man3 ] ; then mkdir $(DESTDIR)$(mandir)/man3 ; fi
  144. if [ ! -d $(DESTDIR)$(datadir) ] ; then mkdir $(DESTDIR)$(datadir) ; fi
  145. if [ ! -d $(DESTDIR)$(htmldir) ] ; then mkdir $(DESTDIR)$(htmldir) ; fi
  146. uninstall : force
  147. $(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(libdir)/libavcall.la
  148. $(RM) $(DESTDIR)$(includedir)/avcall.h
  149. $(RM) $(DESTDIR)$(mandir)/man3/avcall.3
  150. $(RM) $(DESTDIR)$(htmldir)/avcall.html
  151. minitests.o : $(srcdir)/minitests.c $(srcdir)/tests.c avcall.h
  152. $(CC) $(CFLAGS) $(INCLUDES) -c $(srcdir)/minitests.c
  153. minitests.s : $(srcdir)/minitests.c $(srcdir)/tests.c avcall.h
  154. $(CC) $(CFLAGS) $(INCLUDES) -S $(srcdir)/minitests.c
  155. minitests : minitests.o libavcall.la
  156. $(LIBTOOL_LINK) $(CC) $(CFLAGS) @GCC_X_NONE@ minitests.o libavcall.la -o minitests
  157. check : all minitests
  158. ./minitests > minitests.out
  159. uniq -u < minitests.out > minitests.output.$(HOST)
  160. test '!' -s minitests.output.$(HOST)
  161. tests.o : $(srcdir)/tests.c avcall.h
  162. $(CC) $(CFLAGS) $(INCLUDES) -c $(srcdir)/tests.c
  163. tests.s : $(srcdir)/tests.c avcall.h
  164. $(CC) $(CFLAGS) $(INCLUDES) -S $(srcdir)/tests.c
  165. tests : tests.o libavcall.la
  166. $(LIBTOOL_LINK) $(CC) $(CFLAGS) @GCC_X_NONE@ tests.o libavcall.la -o tests
  167. extracheck : all tests
  168. ./tests > tests.out
  169. uniq -u < tests.out > tests.output.$(HOST)
  170. test '!' -s tests.output.$(HOST)
  171. mostlyclean : clean
  172. clean : force
  173. $(RM) *.o *.lo *.a libavcall.* core
  174. $(RM) avcall-i386.s avcall-sparc.s avcall-sparc64.s avcall-m68k.s avcall-mips.s avcall-mipsn32.s avcall-mips64.s avcall-arm.s
  175. $(RM) -r .libs _libs
  176. $(RM) minitests.o minitests.s minitests minitests.out
  177. $(RM) tests.o tests.s tests tests.out
  178. distclean : clean
  179. $(RM) config.status config.log config.cache Makefile avcall.h libtool minitests.output.* tests.output.*
  180. maintainer-clean : distclean
  181. force :
  182. distdir:
  183. cp $(filter-out %/tests.output,$(filter-out %/CVS %/m4,$(wildcard $(srcdir)/*))) $(distdir)
  184. mkdir $(distdir)/tests.output
  185. cp $(filter-out %/CVS,$(wildcard $(srcdir)/tests.output/*)) $(distdir)/tests.output