~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Wine Cross Reference
wine/Makefile.in

Version: ~ [ wine-1.1.33 ] ~ [ wine-1.1.32 ] ~ [ wine-1.1.31 ] ~ [ wine-1.1.30 ] ~ [ wine-1.1.29 ] ~ [ wine-1.1.28 ] ~ [ wine-1.1.27 ] ~ [ wine-1.1.26 ] ~ [ wine-1.1.25 ] ~ [ wine-1.1.24 ] ~ [ wine-1.1.23 ] ~ [ wine-1.1.22 ] ~ [ wine-1.1.21 ] ~ [ wine-1.1.20 ] ~ [ wine-1.1.19 ] ~ [ wine-1.1.18 ] ~ [ wine-1.1.17 ] ~ [ wine-1.1.16 ] ~ [ wine-1.1.15 ] ~ [ wine-1.1.14 ] ~ [ wine-1.1.13 ] ~ [ wine-1.1.12 ] ~ [ wine-1.1.11 ] ~ [ wine-1.1.10 ] ~ [ wine-1.1.9 ] ~ [ wine-1.1.8 ] ~ [ wine-1.1.7 ] ~ [ wine-1.0.1 ] ~ [ wine-1.1.6 ] ~ [ wine-1.1.5 ] ~ [ wine-1.1.4 ] ~ [ wine-1.1.3 ] ~ [ wine-1.1.2 ] ~ [ wine-1.1.1 ] ~ [ wine-1.1.0 ] ~ [ wine-1.0 ] ~

  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 # crosstest:       build tests as native windows applications (requires MinGW)
  9 # install-lib:     install libraries needed to run applications
 10 # install-dev:     install development environment
 11 # install:         install everything
 12 # uninstall:       uninstall everything
 13 # depend:          create the dependencies
 14 # ctags:           create a tags file for vim and others.
 15 # etags:           create a TAGS file for Emacs.
 16 # manpages:        compile manpages for Wine API
 17 # htmlpages:       compile html pages for Wine API
 18 # sgmlpages:       compile sgml source for the Wine API Guide
 19 
 20 # Directories
 21 
 22 TOPSRCDIR = @top_srcdir@
 23 TOPOBJDIR = .
 24 SRCDIR    = @srcdir@
 25 VPATH     = @srcdir@
 26 LIBEXT    = @LIBEXT@
 27 MODULE    = none
 28 PROGRAMS  = wine
 29 
 30 FONTSSUBDIRS = @FONTSSUBDIRS@
 31 
 32 # Sub-directories to run make depend/clean into
 33 SUBDIRS = \
 34         dlls \
 35         documentation \
 36         fonts \
 37         include \
 38         libs \
 39         loader \
 40         programs \
 41         server \
 42         tools
 43 
 44 # Sub-directories to install for install-lib
 45 INSTALLLIBSUBDIRS = \
 46         $(FONTSSUBDIRS) \
 47         loader \
 48         programs \
 49         server
 50 
 51 # Sub-directories to install for install-dev
 52 INSTALLDEVSUBDIRS = include
 53 
 54 # Sub-directories to install for both install-lib and install-dev
 55 INSTALLBOTHSUBDIRS = dlls libs tools
 56 
 57 INSTALLSUBDIRS = $(INSTALLDEVSUBDIRS) $(INSTALLLIBSUBDIRS)
 58 
 59 # Sub-directories to run make test into
 60 TESTSUBDIRS = dlls
 61 
 62 all: Make.rules $(PROGRAMS)
 63         @echo "Wine build complete."
 64 
 65 WINAPI_CHECK_EXTRA_FLAGS = --global
 66 
 67 INSTALLDIRS = $(DESTDIR)$(datadir)/aclocal
 68 
 69 @MAKE_RULES@
 70 
 71 $(SRCDIR)/configure: @MAINTAINER_MODE@ configure.ac aclocal.m4
 72         cd $(SRCDIR) && autoconf --warnings=all
 73 
 74 $(SRCDIR)/include/config.h.in: @MAINTAINER_MODE@ include/stamp-h.in
 75 $(SRCDIR)/include/stamp-h.in: configure.ac aclocal.m4
 76         cd $(SRCDIR) && autoheader --warnings=all
 77         @echo timestamp > $@
 78 
 79 config.status: configure
 80         @./config.status --recheck
 81 
 82 include/config.h: include/stamp-h
 83 include/stamp-h: include/config.h.in config.status
 84         @./config.status include/config.h include/stamp-h
 85 
 86 wine: $(WINEWRAPPER)
 87         $(RM) $@ && $(LN_S) $(WINEWRAPPER) $@
 88 
 89 # Installation rules
 90 
 91 install install-dev:: $(DESTDIR)$(datadir)/aclocal dummy
 92         $(INSTALL_DATA) $(SRCDIR)/aclocal.m4 $(DESTDIR)$(datadir)/aclocal/wine.m4
 93 
 94 install install-lib:: $(INSTALLLIBSUBDIRS:%=%/__install__) $(INSTALLBOTHSUBDIRS:%=%/__install-lib__)
 95 
 96 install install-dev:: $(INSTALLDEVSUBDIRS:%=%/__install__) $(INSTALLBOTHSUBDIRS:%=%/__install-dev__)
 97 
 98 uninstall:: $(INSTALLBOTHSUBDIRS:%=%/__uninstall__)
 99         $(RM) $(DESTDIR)$(datadir)/aclocal/wine.m4
100         -rmdir $(DESTDIR)$(datadir)/wine $(DESTDIR)$(datadir)/aclocal
101 
102 # Dependencies between directories
103 
104 all: $(INSTALLSUBDIRS) $(INSTALLBOTHSUBDIRS)
105 dlls: include libs tools
106 fonts loader server: libs tools
107 programs: dlls include libs tools
108 include: libs tools
109 tools: libs
110 
111 dlls/__install-lib__ dlls/__install-dev__: libs tools include
112 include/__install__: include libs tools
113 libs/__install-lib__ libs/__install-dev__: libs
114 fonts/__install__ loader/__install__ server/__install__: libs tools
115 programs/__install__: libs tools include dlls/__install-lib__
116 tools/__install-lib__ tools/__install-dev__: tools
117 
118 RECURSE_TARGETS = \
119         $(SUBDIRS) \
120         $(SUBDIRS:%=%/__clean__) \
121         $(SUBDIRS:%=%/__depend__) \
122         $(SUBDIRS:%=%/__install-dev__) \
123         $(SUBDIRS:%=%/__install-lib__) \
124         $(SUBDIRS:%=%/__install__) \
125         $(SUBDIRS:%=%/__uninstall__) \
126         $(TESTSUBDIRS:%=%/__crosstest__) \
127         $(TESTSUBDIRS:%=%/__test__) \
128         $(TESTSUBDIRS:%=%/__testclean__)
129 
130 depend $(RECURSE_TARGETS): $(MAKEDEP)
131 
132 $(MAKEDEP): include/config.h
133         @cd $(TOOLSDIR)/tools && $(MAKE) makedep
134 
135 # Test rules
136 
137 $(TESTSUBDIRS:%=%/__test__): wine
138 $(TESTSUBDIRS:%=%/__crosstest__): tools include
139 
140 # Misc rules
141 
142 TAGS etags:
143         $(RM) TAGS
144         (test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(TOPSRCDIR) -name '*.[ch]' -print) | xargs etags -a
145 
146 tags ctags:
147         $(RM) tags
148         (test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(TOPSRCDIR) -name '*.[ch]' -print) | xargs ctags -a
149 
150 manpages htmlpages sgmlpages: dummy
151         @cd documentation && $(MAKE) $@
152 
153 distclean:: clean
154         $(RM) config.* configure.lineno TAGS tags include/config.h include/stamp-h
155         $(RM) -r autom4te.cache
156 
157 .PHONY: manpages htmlpages sgmlpages distclean
158 
159 # Makefile rules
160 
161 ALL_MAKERULES = @ALL_MAKERULES@
162 ALL_MAKEFILES = @ALL_MAKEFILES@
163 
164 Makefile $(ALL_MAKERULES) $(ALL_MAKEFILES): config.status
165         @./config.status $@
166 .INIT: Makefile
167 .BEGIN: Makefile
168 
169 $(RECURSE_TARGETS) $(MAKEDEP): $(ALL_MAKEFILES)
170 
171 distclean::
172         $(RM) Makefile $(ALL_MAKERULES) $(ALL_MAKEFILES)
173 
174 @ALL_MAKEFILE_DEPENDS@

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.