A C standard library for sh3eb-elf.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

249 lines
7.0 KiB

  1. #
  2. # Makefile.in for etc
  3. #
  4. DESTDIR =
  5. prefix = @prefix@
  6. exec_prefix = @exec_prefix@
  7. srcdir = @srcdir@
  8. VPATH = @srcdir@
  9. bindir = @bindir@
  10. libdir = @libdir@
  11. tooldir = $(libdir)
  12. datadir = @datadir@
  13. mandir = @mandir@
  14. man1dir = $(mandir)/man1
  15. man2dir = $(mandir)/man2
  16. man3dir = $(mandir)/man3
  17. man4dir = $(mandir)/man4
  18. man5dir = $(mandir)/man5
  19. man6dir = $(mandir)/man6
  20. man7dir = $(mandir)/man7
  21. man8dir = $(mandir)/man8
  22. man9dir = $(mandir)/man9
  23. datarootdir = @datarootdir@
  24. docdir = @docdir@
  25. infodir = @infodir@
  26. pdfdir = @docdir@
  27. htmldir = @htmldir@
  28. SHELL = /bin/sh
  29. INSTALL = @INSTALL@
  30. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  31. INSTALL_DATA = @INSTALL_DATA@
  32. MAKEINFO = `if [ -f ../texinfo/makeinfo/makeinfo ]; \
  33. then echo ../texinfo/makeinfo/makeinfo; \
  34. else echo makeinfo; fi`
  35. TEXI2DVI = `if [ -f ../texinfo/util/texi2dvi ]; \
  36. then echo ../texinfo/util/texi2dvi; \
  37. else echo texi2dvi; fi`
  38. TEXI2PDF = `if [ -f ../texinfo/util/texi2dvi ]; \
  39. then echo "../texinfo/util/texi2dvi --pdf"; \
  40. else echo "texi2dvi --pdf"; fi`
  41. TEXI2HTML = `if [ -f ../texinfo/makeinfo/makeinfo ]; \
  42. then echo "../texinfo/makeinfo/makeinfo --html"; \
  43. else echo "makeinfo --html"; fi`
  44. DVIPS = dvips
  45. # Where to find texinfo.tex to format documentation with TeX.
  46. TEXIDIR = $(srcdir)/../texinfo
  47. #### Host, target, and site specific Makefile fragments come in here.
  48. ###
  49. INFOFILES = standards.info configure.info
  50. DVIFILES = standards.dvi configure.dvi
  51. PDFFILES = standards.pdf configure.pdf
  52. HTMLFILES = standards.html configure.html
  53. all: info
  54. install: install-info
  55. uninstall:
  56. info:
  57. for f in $(INFOFILES); do \
  58. if test -f $(srcdir)/`echo $$f | sed -e 's/.info$$/.texi/'`; then \
  59. if $(MAKE) "MAKEINFO=$(MAKEINFO)" $$f; then \
  60. true; \
  61. else \
  62. exit 1; \
  63. fi; \
  64. fi; \
  65. done
  66. install-info: info
  67. $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(infodir)
  68. if test ! -f standards.info; then cd $(srcdir); fi; \
  69. if test -f standards.info; then \
  70. for i in standards.info*; do \
  71. $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i; \
  72. done; \
  73. fi
  74. if test ! -f configure.info; then cd $(srcdir); fi; \
  75. if test -f configure.info; then \
  76. for i in configure.info*; do \
  77. $(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i; \
  78. done; \
  79. fi
  80. html:
  81. for f in $(HTMLFILES); do \
  82. if test -f $(srcdir)/`echo $$f | sed -e 's/.html$$/.texi/'`; then \
  83. if $(MAKE) "TEXI2HTML=$(TEXI2HTML)" $$f; then \
  84. true; \
  85. else \
  86. exit 1; \
  87. fi; \
  88. fi; \
  89. done
  90. install-html: html
  91. $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(htmldir)
  92. if test ! -f standards.html; then cd $(srcdir); fi; \
  93. if test -f standards.html; then \
  94. for i in standards.html*; do \
  95. $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i; \
  96. done; \
  97. fi
  98. if test ! -f configure.html; then cd $(srcdir); fi; \
  99. if test -f configure.html; then \
  100. for i in configure.html*; do \
  101. $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i; \
  102. done; \
  103. fi
  104. dvi:
  105. for f in $(DVIFILES); do \
  106. if test -f $(srcdir)/`echo $$f | sed -e 's/.dvi$$/.texi/'`; then \
  107. if $(MAKE) "TEXI2DVI=$(TEXI2DVI)" $$f; then \
  108. true; \
  109. else \
  110. exit 1; \
  111. fi; \
  112. fi; \
  113. done
  114. pdf:
  115. for f in $(PDFFILES); do \
  116. if test -f $(srcdir)/`echo $$f | sed -e 's/.pdf$$/.texi/'`; then \
  117. if $(MAKE) "TEXI2PDF=$(TEXI2PDF)" $$f; then \
  118. true; \
  119. else \
  120. exit 1; \
  121. fi; \
  122. fi; \
  123. done
  124. install-pdf: pdf
  125. $(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(pdfdir)/etc
  126. if test ! -f standards.pdf; then cd $(srcdir); fi; \
  127. if test -f standards.pdf; then \
  128. for i in standards.pdf*; do \
  129. $(INSTALL_DATA) $$i $(DESTDIR)$(pdfdir)/etc/$$i; \
  130. done; \
  131. fi
  132. if test ! -f configure.pdf; then cd $(srcdir); fi; \
  133. if test -f configure.pdf; then \
  134. for i in configure.pdf*; do \
  135. $(INSTALL_DATA) $$i $(DESTDIR)$(pdfdir)/etc/$$i; \
  136. done; \
  137. fi
  138. standards.info: $(srcdir)/standards.texi $(srcdir)/make-stds.texi
  139. $(MAKEINFO) --no-split -I$(srcdir) -o standards.info $(srcdir)/standards.texi
  140. standards.html: $(srcdir)/standards.texi $(srcdir)/make-stds.texi
  141. $(TEXI2HTML) --no-split -I$(srcdir) -o standards.html $(srcdir)/standards.texi
  142. standards.dvi: $(srcdir)/standards.texi
  143. TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/standards.texi
  144. standards.ps: standards.dvi
  145. $(DVIPS) standards.dvi -o standards.ps
  146. standards.pdf: $(srcdir)/standards.texi
  147. TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2PDF) $(srcdir)/standards.texi
  148. # makeinfo requires images to be in the current directory.
  149. configure.info: $(srcdir)/configure.texi $(srcdir)/configdev.tin $(srcdir)/configbuild.tin
  150. rm -f configdev.txt configbuild.txt
  151. cp $(srcdir)/configdev.tin configdev.txt
  152. cp $(srcdir)/configbuild.tin configbuild.txt
  153. $(MAKEINFO) -I$(srcdir) -o configure.info $(srcdir)/configure.texi
  154. rm -f configdev.txt configbuild.txt
  155. # texi2dvi wants both the .txt and the .eps files.
  156. configure.dvi: $(srcdir)/configure.texi $(srcdir)/configdev.tin $(srcdir)/configbuild.tin $(srcdir)/configdev.ein $(srcdir)/configbuild.ein
  157. rm -f configdev.txt configbuild.txt
  158. cp $(srcdir)/configdev.tin configdev.txt
  159. cp $(srcdir)/configbuild.tin configbuild.txt
  160. rm -f configdev.eps configbuild.eps
  161. cp $(srcdir)/configdev.ein configdev.eps
  162. cp $(srcdir)/configbuild.ein configbuild.eps
  163. TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/configure.texi
  164. rm -f configdev.txt configbuild.txt
  165. rm -f configdev.eps configbuild.eps
  166. # dvips requires images to be in the current directory
  167. configure.ps: configure.dvi $(srcdir)/configdev.ein $(srcdir)/configbuild.ein
  168. rm -f configdev.eps configbuild.eps
  169. cp $(srcdir)/configdev.ein configdev.eps
  170. cp $(srcdir)/configbuild.ein configbuild.eps
  171. $(DVIPS) configure.dvi -o configure.ps
  172. rm -f configdev.eps configbuild.eps
  173. configure.pdf: $(srcdir)/configure.texi $(srcdir)/configdev.tin $(srcdir)/configbuild.tin $(srcdir)/configdev.ein $(srcdir)/configbuild.ein
  174. rm -f configdev.pdf configbuild.pdf
  175. epstopdf $(srcdir)/configdev.ein -outfile=configdev.pdf
  176. epstopdf $(srcdir)/configbuild.ein -outfile=configbuild.pdf
  177. TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2PDF) $(srcdir)/configure.texi
  178. rm -f configdev.pdf configbuild.pdf
  179. configure.html: $(srcdir)/configure.texi
  180. cp $(srcdir)/configdev.jin configdev.jpg
  181. cp $(srcdir)/configbuild.jin configbuild.jpg
  182. $(TEXI2HTML) --no-split -I$(srcdir) -o configure.html $(srcdir)/configure.texi
  183. clean:
  184. rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log
  185. rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs
  186. rm -f configdev.txt configbuild.txt
  187. rm -f configdev.eps configbuild.eps
  188. rm -f configdev.jpg configbuild.jpg
  189. mostlyclean: clean
  190. distclean: clean
  191. rm -f Makefile config.status config.cache
  192. maintainer-clean realclean: distclean
  193. rm -f *.html*
  194. rm -f *.info*
  195. Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag) \
  196. config.status
  197. $(SHELL) ./config.status
  198. AUTOCONF = autoconf
  199. configure_deps = $(srcdir)/configure.in
  200. $(srcdir)/configure: @MAINT@ $(configure_deps)
  201. cd $(srcdir) && $(AUTOCONF)
  202. config.status: $(srcdir)/configure
  203. $(SHELL) ./config.status --recheck
  204. ## these last targets are for standards.texi conformance
  205. dist:
  206. check:
  207. installcheck:
  208. TAGS: