Makefile.in 5.0 KB

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