Makefile.in 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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. srcdir = @srcdir@
  32. SHELL = /bin/sh
  33. CC = @CC@
  34. CXX = @CXX@
  35. CPPBIN = @CPPBIN@
  36. CROSSCC = @CROSSCC@
  37. CFLAGS = @CFLAGS@
  38. CPPFLAGS = @CPPFLAGS@
  39. CROSSCFLAGS = @CROSSCFLAGS@
  40. CROSSLDFLAGS = @CROSSLDFLAGS@
  41. EXTRACFLAGS = @EXTRACFLAGS@
  42. EXTRACROSSCFLAGS= @EXTRACROSSCFLAGS@
  43. MSVCRTFLAGS = @MSVCRTFLAGS@
  44. TARGETFLAGS = @TARGETFLAGS@
  45. LDDLLFLAGS = @LDDLLFLAGS@
  46. LDEXECFLAGS = @LDEXECFLAGS@
  47. LIBS = @LIBS@
  48. BISON = @BISON@
  49. FLEX = @FLEX@
  50. EXEEXT = @EXEEXT@
  51. TOOLSEXT = @TOOLSEXT@
  52. DLLTOOL = @DLLTOOL@
  53. AR = @AR@
  54. RANLIB = @RANLIB@
  55. STRIP = @STRIP@
  56. LN_S = @LN_S@
  57. TOOLSDIR = @TOOLSDIR@
  58. LD = @LD@
  59. LDFLAGS = @LDFLAGS@
  60. DLLFLAGS = @DLLFLAGS@
  61. PRELINK = @PRELINK@
  62. FONTFORGE = @FONTFORGE@
  63. RSVG = @RSVG@
  64. CONVERT = @CONVERT@
  65. ICOTOOL = @ICOTOOL@
  66. MSGFMT = @MSGFMT@
  67. CROSSTARGET = @CROSSTARGET@
  68. CROSSDEBUG = @CROSSDEBUG@
  69. SUBDIRS = @SUBDIRS@
  70. RUNTESTFLAGS = -q -P wine
  71. MAKEDEP = $(TOOLSDIR)/tools/makedep$(TOOLSEXT)
  72. DELAYLOADFLAG = @DELAYLOADFLAG@
  73. PACKAGE_VERSION = @PACKAGE_VERSION@
  74. SED_CMD = LC_ALL=C sed -e 's,@bindir\@,${bindir},g' -e 's,@dlldir\@,${dlldir},g' -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' -e 's,@PACKAGE_VERSION\@,@PACKAGE_VERSION@,g'
  75. api_manext = 3w
  76. WINELOADER_PROGRAMS = @WINELOADER_PROGRAMS@
  77. WINELOADER_DEPENDS = @WINELOADER_DEPENDS@
  78. WINELOADER_LDFLAGS = @WINELOADER_LDFLAGS@
  79. WINEPRELOADER_LDFLAGS = @WINEPRELOADER_LDFLAGS@
  80. LIBWINE_SHAREDLIB = @LIBWINE_SHAREDLIB@
  81. LIBWINE_LDFLAGS = @LIBWINE_LDFLAGS@
  82. LIBWINE_DEPENDS = @LIBWINE_DEPENDS@
  83. DISABLED_SUBDIRS = @DISABLED_SUBDIRS@
  84. CONFIGURE_TARGETS = @CONFIGURE_TARGETS@
  85. TOP_INSTALL_LIB = @TOP_INSTALL_LIB@
  86. TOP_INSTALL_DEV = @TOP_INSTALL_DEV@
  87. @ALL_VARS_RULES@
  88. @SET_MAKE@
  89. all: wine
  90. @echo "Wine build complete."
  91. # Rules for re-running configure
  92. config.status: $(srcdir)/configure
  93. @./config.status --recheck
  94. include/config.h: include/stamp-h
  95. include/stamp-h: $(srcdir)/include/config.h.in config.status
  96. @./config.status include/config.h include/stamp-h
  97. # Rules for cleaning
  98. distclean:: clean
  99. rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man$(api_manext)
  100. # Rules for API documentation
  101. install-manpages:: manpages
  102. for i in documentation/man$(api_manext)/*.$(api_manext); do $(srcdir)/tools/install-sh -m 644 $(INSTALL_DATA_FLAGS) $$i $(DESTDIR)$(mandir)/$$i; done
  103. .PHONY: install-manpages
  104. # Rules for generated source files
  105. dlls/ntdll/unix/version.c: dummy
  106. @version=`(GIT_DIR=$(srcdir)/.git git describe HEAD 2>/dev/null || echo "wine-$(PACKAGE_VERSION)") | sed -n -e '$$s/\(.*\)/const char wine_build[] = "\1";/p'` && (echo $$version | cmp -s - $@) || echo $$version >$@ || ($(RM) $@ && exit 1)
  107. programs/winetest/build.rc: dummy
  108. @build="STRINGTABLE { 1 \"`GIT_DIR=$(srcdir)/.git git rev-parse HEAD 2>/dev/null`\" }" && (echo $$build | cmp -s - $@) || echo $$build >$@ || (rm -f $@ && exit 1)
  109. programs/winetest/build.nfo:
  110. @-$(CC) -v 2>$@
  111. dlls/wineandroid.drv/wine-debug.apk: dlls/wineandroid.drv/build.gradle $(srcdir)/dlls/wineandroid.drv/AndroidManifest.xml $(srcdir)/dlls/wineandroid.drv/WineActivity.java $(srcdir)/dlls/wineandroid.drv/wine.svg
  112. cd dlls/wineandroid.drv && gradle -q -Psrcdir=$(srcdir) assembleDebug
  113. mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk $@
  114. # Misc rules
  115. TAGSFLAGS = --langmap='c:+.idl.l.rh,make:(Make*.in)'
  116. TAGS etags:
  117. rm -f TAGS
  118. (test -d .git && git ls-files || find -L $(srcdir) -name '*.[ch]' -print) | xargs etags -a $(TAGSFLAGS)
  119. tags ctags:
  120. rm -f tags
  121. (test -d .git && git ls-files || find -L $(srcdir) -name '*.[ch]' -print) | xargs ctags -a $(TAGSFLAGS)