Makefile.in 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. # This Makefile understands the following targets:
  2. #
  3. # all (default): build wine
  4. # clean: remove all intermediate files
  5. # distclean: also remove all files created by configure
  6. # test: run tests
  7. # testclean: clean test results to force running all tests again
  8. # install-lib: install libraries needed to run applications
  9. # install-dev: install development environment
  10. # install: install everything
  11. # uninstall: uninstall everything
  12. # depend: create the dependencies
  13. # ctags: create a tags file for vim and others.
  14. # etags: create a TAGS file for Emacs.
  15. # manpages: compile manpages for Wine API
  16. # htmlpages: compile html pages for Wine API
  17. # sgmlpages: compile sgml source for the Wine API Guide
  18. # xmlpages: compile xml source for the Wine API Guide
  19. # The following variable definitions are copied into all makefiles
  20. prefix = @prefix@
  21. exec_prefix = @exec_prefix@
  22. bindir = @bindir@
  23. libdir = @libdir@
  24. datarootdir = @datarootdir@
  25. datadir = @datadir@
  26. mandir = @mandir@
  27. includedir = @includedir@
  28. fontdir = ${datadir}/wine/fonts
  29. nlsdir = ${datadir}/wine/nls
  30. dlldir = ${libdir}/wine
  31. top_srcdir = @top_srcdir@
  32. top_builddir = @top_builddir@
  33. srcdir = @srcdir@
  34. SHELL = /bin/sh
  35. CC = @CC@
  36. CXX = @CXX@
  37. CPPBIN = @CPPBIN@
  38. CROSSCC = @CROSSCC@
  39. CFLAGS = @CFLAGS@
  40. CPPFLAGS = @CPPFLAGS@
  41. CROSSCFLAGS = @CROSSCFLAGS@
  42. CROSSLDFLAGS = @CROSSLDFLAGS@
  43. EXTRACFLAGS = @EXTRACFLAGS@
  44. EXTRACROSSCFLAGS= @EXTRACROSSCFLAGS@
  45. MSVCRTFLAGS = @MSVCRTFLAGS@
  46. TARGETFLAGS = @TARGETFLAGS@
  47. LDDLLFLAGS = @LDDLLFLAGS@
  48. LDEXECFLAGS = @LDEXECFLAGS@
  49. LIBS = @LIBS@
  50. BISON = @BISON@
  51. FLEX = @FLEX@
  52. EXEEXT = @EXEEXT@
  53. TOOLSEXT = @TOOLSEXT@
  54. DLLTOOL = @DLLTOOL@
  55. AR = @AR@
  56. RANLIB = @RANLIB@
  57. STRIP = @STRIP@
  58. LN_S = @LN_S@
  59. TOOLSDIR = @TOOLSDIR@
  60. LD = @LD@
  61. LDFLAGS = @LDFLAGS@
  62. DLLFLAGS = @DLLFLAGS@
  63. PRELINK = @PRELINK@
  64. FONTFORGE = @FONTFORGE@
  65. RSVG = @RSVG@
  66. CONVERT = @CONVERT@
  67. ICOTOOL = @ICOTOOL@
  68. MSGFMT = @MSGFMT@
  69. CROSSTARGET = @CROSSTARGET@
  70. SUBDIRS = @SUBDIRS@
  71. RUNTESTFLAGS = -q -P wine
  72. MAKEDEP = $(TOOLSDIR)/tools/makedep$(TOOLSEXT)
  73. DELAYLOADFLAG = @DELAYLOADFLAG@
  74. PACKAGE_VERSION = @PACKAGE_VERSION@
  75. SED_CMD = LC_ALL=C sed -e 's,@bindir\@,${bindir},g' -e 's,@dlldir\@,${dlldir},g' -e 's,@srcdir\@,${srcdir},g' -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' -e 's,@PACKAGE_VERSION\@,@PACKAGE_VERSION@,g'
  76. LDRPATH_INSTALL = @LDRPATH_INSTALL@
  77. LDRPATH_LOCAL = @LDRPATH_LOCAL@
  78. api_manext = 3w
  79. WINELOADER_PROGRAMS = @WINELOADER_PROGRAMS@
  80. WINELOADER_DEPENDS = @WINELOADER_DEPENDS@
  81. WINELOADER_LDFLAGS = @WINELOADER_LDFLAGS@
  82. WINEPRELOADER_LDFLAGS = @WINEPRELOADER_LDFLAGS@
  83. LIBWINE_SHAREDLIB = @LIBWINE_SHAREDLIB@
  84. LIBWINE_LDFLAGS = @LIBWINE_LDFLAGS@
  85. LIBWINE_DEPENDS = @LIBWINE_DEPENDS@
  86. DISABLED_SUBDIRS = @DISABLED_SUBDIRS@
  87. CONFIGURE_TARGETS = @CONFIGURE_TARGETS@
  88. TOP_INSTALL_LIB = @TOP_INSTALL_LIB@
  89. TOP_INSTALL_DEV = @TOP_INSTALL_DEV@
  90. @ALL_VARS_RULES@
  91. @SET_MAKE@
  92. all: wine
  93. @echo "Wine build complete."
  94. # Rules for re-running configure
  95. config.status: $(srcdir)/configure
  96. @./config.status --recheck
  97. include/config.h: include/stamp-h
  98. include/stamp-h: $(srcdir)/include/config.h.in config.status
  99. @./config.status include/config.h include/stamp-h
  100. # Rules for cleaning
  101. distclean:: clean
  102. rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man$(api_manext)
  103. # Rules for API documentation
  104. install-manpages:: manpages
  105. for i in documentation/man$(api_manext)/*.$(api_manext); do $(top_srcdir)/tools/install-sh -m 644 $(INSTALL_DATA_FLAGS) $$i $(DESTDIR)$(mandir)/$$i; done
  106. .PHONY: install-manpages
  107. # Dependencies between directories
  108. # dependencies needed to build any dll or program
  109. __tooldeps__: libs/wpp
  110. __builddeps__: __tooldeps__ libs/wine include po
  111. .PHONY: depend dummy install install-lib install-dev
  112. dummy:
  113. server: include
  114. libs/port libs/wine libs/wpp: include/config.h
  115. # Misc rules
  116. TAGSFLAGS = --langmap='c:+.idl.l.rh,make:(Make*.in)'
  117. TAGS etags:
  118. rm -f TAGS
  119. (test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs etags -a $(TAGSFLAGS)
  120. tags ctags:
  121. rm -f tags
  122. (test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs ctags -a $(TAGSFLAGS)