public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Gentoo's make - a problem?
@ 2006-09-30 23:33 Michael [Plouj] Ploujnikov
  2006-10-01  2:10 ` [gentoo-user] " Harm Geerts
  0 siblings, 1 reply; 6+ messages in thread
From: Michael [Plouj] Ploujnikov @ 2006-09-30 23:33 UTC (permalink / raw
  To: gentoo-user

I'm trying to compile wine outside of it's source directory manually
and make seems to be broken. The gist is: make needs to build a
makedep tool before the rest of compilation can proceed. However, when
I do 'make depend' it starts using makedep which doesn't exist yet. A
wine developer keeps suggesting to me that this could be potentially a
problem with Gentoo's make.
Here is what 'make depend' should print:
$ make depend
make[1]: Entering directory `/usr/local/src/test/tools'
gcc -c -I../../wine.git/tools -I. -I../../wine.git/include
-I../include -I/usr/include/freetype2   -Wall -pipe
-fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement
-Wwrite-strings -Wpointer-arith  -g -O2  -o makedep.o
../../wine.git/tools/makedep.c
gcc -g -O2 -o makedep makedep.o
../tools/makedep -C../../wine.git/tools -S../../wine.git -T..
-I/usr/include/freetype2 bin2res.c fnt2bdf.c fnt2fon.c make_ctests.c
makedep.c relpath.c sfnt2fnt.c
make[1]: Leaving directory `/usr/local/src/test/tools'
...

Here is what I actually see:
$ make depend
make[1]: Entering directory `/home/plouj/apps/build_dir/tools'
../tools/makedep -C../../wine-git/tools -S../../wine-git -T..
-I/usr/include/freetype2 bin2res.c fnt2bdf.c fnt2fon.c make_ctests.c
makedep.c relpath.c sfnt2fnt.c
make[1]: ../tools/makedep: Command not found
make[1]: [Makefile] Error 127 (ignored)
make[1]: `../../wine-git/tools/makedep' is up to date.
make[1]: Leaving directory `/home/plouj/apps/build_dir/tools'
make[1]: Entering directory `/home/plouj/apps/build_dir/dlls'
make[2]: Entering directory `/home/plouj/apps/build_dir/dlls/activeds'
../../tools/makedep -C../../../wine-git/dlls/activeds
-S../../../wine-git -T../.. activeds_main.c
...

My wine source is in ~/apps/wine-git
I'm trying to compile wine inside ~/apps/build_dir
I do this (on Gentoo AMD64):

../wine-git/configure --x-libraries=/emul/linux/x86/usr/lib/
LDFLAGS="-L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib"

configure succeeds

Then I run make (or make depend, which is called if I just run 'make')
and get the errors above.
What is supposed to happen is make depend should build tools/makedep
and then use makedep to build various wine parts. It seems that
something that is not right with my system is causing make to skip
building makedep, and result in a failure.

I really hope that someone with expertise in make, Linux compilation
processes and Gentoo would take a look at this. If there is a better
place to post this, please let me know.


Thanks for your time.

-- 
()  ASCII Ribbon Campaign
/\  - against HTML mail & vCards
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: [gentoo-user] Gentoo's make - a problem?
@ 2006-10-01  0:15 Michael [Plouj] Ploujnikov
  0 siblings, 0 replies; 6+ messages in thread
From: Michael [Plouj] Ploujnikov @ 2006-10-01  0:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 566 bytes --]

I forgot to mention that Wine compiles without problems if I do it
inside the source directory. There are good reasons (outside the scope
of this topic) for me not wanting to do that. Instead I need to
compile in a clean directory. I also know that at least two Wine
developers compile Wine exactly this way (outside of the source tree).

Finally, in hopes to shed more light on the problem, I've attached the
main Makefile and the Makefile found in tools. Both are generated by
the configure command.

-- 
()  ASCII Ribbon Campaign
/\  - against HTML mail & vCards

[-- Attachment #2: main-Makefile --]
[-- Type: application/octet-stream, Size: 43244 bytes --]

# This Makefile understands the following targets:
#
# all (default):   build wine
# clean:           remove all intermediate files
# distclean:       also remove all files created by configure
# test:            run tests
# testclean:       clean test results to force running all tests again
# crosstest:       build tests as native windows applications (requires MinGW)
# install-lib:     install libraries needed to run applications
# install-dev:     install development environment
# install:         install everything
# uninstall:       uninstall everything
# depend:          create the dependencies
# ctags:           create a tags file for vim and others.
# etags:           create a TAGS file for Emacs.
# manpages:        compile manpages for Wine API
# htmlpages:       compile html pages for Wine API
# sgmlpages:       compile sgml source for the Wine API Guide

# Directories

TOPSRCDIR = ../wine-git
TOPOBJDIR = .
SRCDIR    = ../wine-git
VPATH     = ../wine-git
LIBEXT    = so
MODULE    = none

FONTSSUBDIRS = fonts

# Sub-directories to run make depend/clean into
SUBDIRS = \
	dlls \
	documentation \
	fonts \
	include \
	libs \
	loader \
	programs \
	server \
	tools

# Sub-directories to install for install-lib
INSTALLLIBSUBDIRS = \
	$(FONTSSUBDIRS) \
	loader \
	programs \
	server

# Sub-directories to install for install-dev
INSTALLDEVSUBDIRS = include

# Sub-directories to install for both install-lib and install-dev
INSTALLBOTHSUBDIRS = dlls libs tools

INSTALLSUBDIRS = $(INSTALLDEVSUBDIRS) $(INSTALLLIBSUBDIRS)

# Sub-directories to run make test into
TESTSUBDIRS = dlls

all: Make.rules wine
	@echo "Wine build complete."

WINAPI_CHECK_EXTRA_FLAGS = --global

INSTALLDIRS = $(DESTDIR)$(datadir)/aclocal

# Global rules shared by all makefiles     -*-Makefile-*-
#
# Each individual makefile must define the following variables:
# TOPSRCDIR    : top-level source directory
# TOPOBJDIR    : top-level object directory
# SRCDIR       : source directory for this module
# MODULE       : name of the module being built
#
# Each individual makefile may define the following additional variables:
# C_SRCS       : C sources for the module
# C_SRCS16     : 16-bit C sources for the module
# RC_SRCS      : resource source files
# EXTRA_SRCS   : extra source files for make depend
# EXTRA_OBJS   : extra object files
# IMPORTS      : dlls to import
# DELAYIMPORTS : dlls to import in delayed mode
# SUBDIRS      : subdirectories that contain a Makefile
# EXTRASUBDIRS : subdirectories that do not contain a Makefile
# INSTALLSUBDIRS : subdirectories to run make install/uninstall into
# MODCFLAGS    : extra CFLAGS for this module

# First some useful definitions

SHELL     = /bin/sh
CC        = gcc -m32
CFLAGS    = -g -O2
CPPFLAGS  = 
LIBS      = 
BISON     = bison
LEX       = flex
LEXLIB    = 
EXEEXT    = 
OBJEXT    = o
LIBEXT    = so
DLLEXT    = .so
IMPLIBEXT = def
LDSHARED  = $(CC) -shared $(SONAME:%=-Wl,-soname,%) $(VERSCRIPT:%=-Wl,--version-script=%)
DLLTOOL   = false
DLLWRAP   = 
AR        = ar rc
RANLIB    = ranlib
STRIP     = strip
WINDRES   = false
LN        = ln
LN_S      = ln -s
TOOLSDIR  = $(TOPOBJDIR)
AS        = as --32
LD        = ld -m elf_i386
LDFLAGS   = -L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib
PRELINK   = false
RM        = rm -f
MV        = mv
LINT      = 
LINTFLAGS = 
FONTFORGE = fontforge
INCLUDES     = -I$(SRCDIR) -I. -I$(TOPSRCDIR)/include -I$(TOPOBJDIR)/include $(EXTRAINCL)
EXTRACFLAGS  = -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith
ALLCFLAGS    = $(INCLUDES) $(DEFS) $(DLLFLAGS) $(EXTRACFLAGS) $(CPPFLAGS) $(CFLAGS) $(MODCFLAGS)
ALLLINTFLAGS = $(INCLUDES) $(DEFS) $(LINTFLAGS)
IDLFLAGS     = $(INCLUDES) $(DEFS) $(EXTRAIDLFLAGS)
WINEBUILDFLAGS = $(DLLFLAGS) --as-cmd "$(AS)"
MKINSTALLDIRS= $(TOPSRCDIR)/tools/mkinstalldirs -m 755
WINAPI_CHECK = $(TOPSRCDIR)/tools/winapi/winapi_check
WINEWRAPPER  = $(TOPSRCDIR)/tools/winewrapper
C2MAN        = $(TOPSRCDIR)/tools/c2man.pl
RUNTEST      = $(TOPSRCDIR)/tools/runtest
WINEBUILD    = $(TOOLSDIR)/tools/winebuild/winebuild
MAKEDEP      = $(TOOLSDIR)/tools/makedep
MAKECTESTS   = $(TOOLSDIR)/tools/make_ctests
WRC          = $(TOOLSDIR)/tools/wrc/wrc
BIN2RES      = $(TOOLSDIR)/tools/bin2res
WMC          = $(TOOLSDIR)/tools/wmc/wmc
WIDL         = $(TOOLSDIR)/tools/widl/widl
WINEGCC      = $(TOOLSDIR)/tools/winegcc/winegcc
RELPATH      = $(TOOLSDIR)/tools/relpath
SFNT2FNT     = $(TOOLSDIR)/tools/sfnt2fnt
FNT2FON      = $(TOOLSDIR)/tools/fnt2fon
RC           = $(WRC)
RC16         = $(WRC)
RCFLAGS      = --nostdinc $(INCLUDES) $(DEFS) $(EXTRARCFLAGS)
RC16FLAGS    = -O res16 $(RCFLAGS)
LDPATH       = LD_LIBRARY_PATH="$(TOOLSDIR)/libs/wine:$$LD_LIBRARY_PATH"
DLLDIR       = $(TOPOBJDIR)/dlls
LIBPORT      = $(TOPOBJDIR)/libs/port/libwine_port.a
LIBWPP       = $(TOPOBJDIR)/libs/wpp/libwpp.a
LIBWINE      = -L$(TOPOBJDIR)/libs/wine -lwine
LIBWINE_LDFLAGS = -Wl,--rpath,\$$ORIGIN/`$(RELPATH) $(bindir) $(libdir)` $(LIBWINE)



# Installation infos

INSTALL         = /usr/bin/install -c $(INSTALL_FLAGS)
INSTALL_PROGRAM = ${INSTALL} $(INSTALL_PROGRAM_FLAGS)
INSTALL_SCRIPT  = ${INSTALL} $(INSTALL_SCRIPT_FLAGS)
INSTALL_DATA    = ${INSTALL} -m 644 $(INSTALL_DATA_FLAGS)
prefix          = /usr/local
exec_prefix     = ${prefix}
bindir          = ${exec_prefix}/bin
libdir          = ${exec_prefix}/lib
datarootdir     = ${prefix}/share
datadir         = ${datarootdir}
infodir         = ${datarootdir}/info
mandir          = ${datarootdir}/man
sysconfdir      = ${prefix}/etc
includedir      = ${prefix}/include/wine
dlldir          = ${exec_prefix}/lib/wine
prog_manext     = 1
api_manext      = 3w
conf_manext     = 5
CLEAN_FILES     = *.o *.a *.so *.ln *.$(LIBEXT) \\\#*\\\# *~ *% .\\\#* *.bak *.orig *.rej \
                  *.flc *.res *.mc.rc *.tab.[ch] *.yy.c core

OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o) $(EXTRA_OBJS)

RCOBJS = $(RC_SRCS:.rc=.res.o)
LINTS  = $(C_SRCS:.c=.ln)

# Implicit rules

.SUFFIXES: .mc .rc .mc.rc .res .res.o .spec .spec.o .idl .tlb .h .y .l .tab.c .tab.h .yy.c .ok .sfd .ttf .man.in .man _c.c _i.c _p.c _s.c

.c.o:
	$(CC) -c $(ALLCFLAGS) -o $@ $<

.s.o:
	$(AS) -o $@ $<

.y.tab.c:
	$(BISON) $(BISONFLAGS) -p $*_ -o $@ $<

.y.tab.h:
	$(BISON) $(BISONFLAGS) -p $*_ -o $*.tab.c -d $<

.l.yy.c:
	$(LEX) $(LEXFLAGS) -t $< >$@ || ($(RM) $@ && exit 1)

.mc.mc.rc:
	$(LDPATH) $(WMC) -i -U -H /dev/null -o $@ $<

.rc.res:
	$(LDPATH) $(RC) $(RCFLAGS) -fo$@ $<

.res.res.o:
	$(WINDRES) -i $< -o $@

.spec.spec.o:
	$(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --export $<

.idl.h:
	$(WIDL) $(IDLFLAGS) -h -H $@ $<

.idl_c.c:
	$(WIDL) $(IDLFLAGS) -c -C $@ $<

.idl_i.c:
	$(WIDL) $(IDLFLAGS) -u -U $@ $<

.idl_p.c:
	$(WIDL) $(IDLFLAGS) -p -P $@ $<

.idl_s.c:
	$(WIDL) $(IDLFLAGS) -s -S $@ $<

.idl.tlb:
	$(WIDL) $(IDLFLAGS) -t -T $@ $<

.c.ln:
	$(LINT) -c $(ALLLINTFLAGS) $< || ( $(RM) $@ && exit 1 )

.c.ok:
	$(RUNTEST) $(RUNTESTFLAGS) $< && touch $@

.sfd.ttf:
	$(FONTFORGE) -script $(TOPSRCDIR)/fonts/genttf.ff $< $@

.man.in.man:
	sed -e 's,@bindir\@,$(bindir),g' -e 's,@dlldir\@,$(dlldir),g' -e 's,@PACKAGE_STRING\@,Wine 0.9.22,g' $< >$@ || ($(RM) $@ && false)

# 'all' target first in case the enclosing Makefile didn't define any target

all:

filter: dummy
	@$(TOPSRCDIR)/tools/winapi/make_filter --make $(MAKE) all

.PHONY: all filter

# Rules for resources

$(RC_BINARIES): $(BIN2RES) $(RC_BINSRC)
	$(BIN2RES) -f -o $@ $(SRCDIR)/$(RC_BINSRC)

$(RC_SRCS:.rc=.res) $(RC_SRCS16:.rc=.res): $(WRC) $(RC_BINARIES) $(IDL_TLB_SRCS:.idl=.tlb)

# Rule for linting

$(MODULE).ln : $(LINTS)
	if test "$(LINTS)" ; \
	then \
		$(LINT) $(ALLLINTFLAGS) -o$(MODULE) $(LINTS) ; \
	        $(MV) llib-l$(MODULE).ln $(MODULE).ln ; \
	else \
		$(LINT) $(ALLLINTFLAGS) -C$(MODULE) /dev/null ; \
	fi

lint:: $(MODULE).ln

# Rules for Windows API checking

winapi_check:: dummy
	$(WINAPI_CHECK) $(WINAPI_CHECK_FLAGS) $(WINAPI_CHECK_EXTRA_FLAGS) .

.PHONY: winapi_check

# Rules for dependencies

DEPEND_SRCS = $(C_SRCS) $(C_SRCS16) $(RC_SRCS) $(RC_SRCS16) $(MC_SRCS) $(IDL_SRCS) $(BISON_SRCS) $(LEX_SRCS) $(EXTRA_SRCS)

$(SUBDIRS:%=%/__depend__): dummy
	@cd `dirname $@` && $(MAKE) depend

depend: $(SUBDIRS:%=%/__depend__) dummy
	$(MAKEDEP) -C$(SRCDIR) -S$(TOPSRCDIR) -T$(TOPOBJDIR) $(EXTRAINCL) $(DEPEND_SRCS)

.PHONY: depend $(SUBDIRS:%=%/__depend__)

# Rules for cleaning

$(SUBDIRS:%=%/__clean__): dummy
	@cd `dirname $@` && $(MAKE) clean

$(EXTRASUBDIRS:%=%/__clean__): dummy
	-cd `dirname $@` && $(RM) $(CLEAN_FILES)

clean:: $(SUBDIRS:%=%/__clean__) $(EXTRASUBDIRS:%=%/__clean__)
	$(RM) $(CLEAN_FILES) $(IDL_SRCS:.idl=.h) $(IDL_SRCS:.idl=_c.c) $(IDL_SRCS:.idl=_i.c) $(IDL_SRCS:.idl=_p.c) $(IDL_SRCS:.idl=_s.c) $(IDL_TLB_SRCS:.idl=.tlb) $(PROGRAMS) $(RC_BINARIES) $(MANPAGES)

.PHONY: clean $(SUBDIRS:%=%/__clean__) $(EXTRASUBDIRS:%=%/__clean__)

# Rules for installing

$(SUBDIRS:%=%/__install__): dummy
	@cd `dirname $@` && $(MAKE) install

$(SUBDIRS:%=%/__install-lib__): dummy
	@cd `dirname $@` && $(MAKE) install-lib

$(SUBDIRS:%=%/__install-dev__): dummy
	@cd `dirname $@` && $(MAKE) install-dev

$(SUBDIRS:%=%/__uninstall__): dummy
	@cd `dirname $@` && $(MAKE) uninstall

install:: $(INSTALLSUBDIRS:%=%/__install__)

uninstall:: $(INSTALLSUBDIRS:%=%/__uninstall__)

$(INSTALLDIRS):
	$(MKINSTALLDIRS) $@

.PHONY: install install-lib install-dev uninstall \
	$(SUBDIRS:%=%/__install__) $(SUBDIRS:%=%/__uninstall__) \
	$(SUBDIRS:%=%/__install-lib__) $(SUBDIRS:%=%/__install-dev__)

# Rules for testing

$(TESTSUBDIRS:%=%/__test__): dummy
	@cd `dirname $@` && $(MAKE) test

$(TESTSUBDIRS:%=%/__crosstest__): dummy
	@cd `dirname $@` && $(MAKE) crosstest

$(TESTSUBDIRS:%=%/__testclean__): dummy
	@cd `dirname $@` && $(MAKE) testclean

check test:: $(TESTSUBDIRS:%=%/__test__)

crosstest:: $(TESTSUBDIRS:%=%/__crosstest__)

testclean:: $(TESTSUBDIRS:%=%/__testclean__)

.PHONY: check test testclean crosstest $(TESTSUBDIRS:%=%/__test__) $(TESTSUBDIRS:%=%/__crosstest__) $(TESTSUBDIRS:%=%/__testclean__) 

# Rules for auto documentation

$(DOCSUBDIRS:%=%/__man__): dummy
	@cd `dirname $@` && $(MAKE) man

$(DOCSUBDIRS:%=%/__doc_html__): dummy
	@cd `dirname $@` && $(MAKE) doc-html

$(DOCSUBDIRS:%=%/__doc_sgml__): dummy
	@cd `dirname $@` && $(MAKE) doc-sgml

man: $(DOCSUBDIRS:%=%/__man__)
doc-html: $(DOCSUBDIRS:%=%/__doc_html__)
doc-sgml: $(DOCSUBDIRS:%=%/__doc_sgml__)

.PHONY: man doc-html doc-sgml $(DOCSUBDIRS:%=%/__man__) $(DOCSUBDIRS:%=%/__doc_html__) $(DOCSUBDIRS:%=%/__doc_sgml__)

# Misc. rules

$(MC_SRCS:.mc=.mc.rc): $(WMC)

$(IDL_SRCS:.idl=.h): $(WIDL)

$(IDL_SRCS:.idl=_c.c): $(WIDL)
$(IDL_SRCS:.idl=_i.c): $(WIDL)
$(IDL_SRCS:.idl=_p.c): $(WIDL)
$(IDL_SRCS:.idl=_s.c): $(WIDL)

$(IDL_TLB_SRCS:.idl=.tlb): $(WIDL)

$(SUBDIRS): dummy
	@cd $@ && $(MAKE)

dummy:

.PHONY: dummy $(SUBDIRS)

# End of global rules

config.status: configure
	@./config.status --recheck

include/config.h: include/stamp-h
include/stamp-h: include/config.h.in config.status
	@./config.status include/config.h include/stamp-h

wine: $(WINEWRAPPER)
	$(RM) $@ && $(LN_S) $(WINEWRAPPER) $@

# Installation rules

install install-dev:: $(DESTDIR)$(datadir)/aclocal dummy
	$(INSTALL_DATA) $(SRCDIR)/aclocal.m4 $(DESTDIR)$(datadir)/aclocal/wine.m4

install install-lib:: $(INSTALLLIBSUBDIRS:%=%/__install__) $(INSTALLBOTHSUBDIRS:%=%/__install-lib__)

install install-dev:: $(INSTALLDEVSUBDIRS:%=%/__install__) $(INSTALLBOTHSUBDIRS:%=%/__install-dev__)

uninstall:: $(INSTALLBOTHSUBDIRS:%=%/__uninstall__)
	$(RM) $(DESTDIR)$(datadir)/aclocal/wine.m4
	-rmdir $(DESTDIR)$(datadir)/wine $(DESTDIR)$(datadir)/aclocal

# Dependencies between directories

all: $(INSTALLSUBDIRS) $(INSTALLBOTHSUBDIRS)
dlls: include libs tools
fonts loader server: libs tools
programs: dlls include libs tools
include: libs tools
tools: libs

dlls/__install-lib__ dlls/__install-dev__: libs tools include
include/__install__: include libs tools
libs/__install-lib__ libs/__install-dev__: libs
fonts/__install__ loader/__install__ server/__install__: libs tools
programs/__install__: libs tools include dlls/__install-lib__
tools/__install-lib__ tools/__install-dev__: tools

RECURSE_TARGETS = \
	$(SUBDIRS) \
	$(SUBDIRS:%=%/__clean__) \
	$(SUBDIRS:%=%/__depend__) \
	$(SUBDIRS:%=%/__install-dev__) \
	$(SUBDIRS:%=%/__install-lib__) \
	$(SUBDIRS:%=%/__install__) \
	$(SUBDIRS:%=%/__uninstall__) \
	$(TESTSUBDIRS:%=%/__crosstest__) \
	$(TESTSUBDIRS:%=%/__test__) \
	$(TESTSUBDIRS:%=%/__testclean__)

depend $(RECURSE_TARGETS): $(MAKEDEP) include/config.h

$(MAKEDEP):
	@cd $(TOOLSDIR)/tools && $(MAKE) makedep

# Test rules

$(TESTSUBDIRS:%=%/__test__): wine
$(TESTSUBDIRS:%=%/__crosstest__): tools include

# Misc rules

TAGS etags:
	find $(TOPSRCDIR)/ -name '*.[ch]' -print | etags -

tags ctags:
	find $(TOPSRCDIR)/ -name '*.[ch]' -print | ctags --c-types=+px -L -

manpages htmlpages sgmlpages: dummy
	@cd documentation && $(MAKE) $@

clean::
	$(RM) wine

distclean:: clean
	$(RM) config.* configure.lineno TAGS tags include/config.h include/stamp-h
	$(RM) -r autom4te.cache

.PHONY: manpages htmlpages sgmlpages distclean

# Makefile rules (auto-generated by make_makefiles)

ALL_MAKEFILES = \
	Make.rules \
	dlls/Makedll.rules \
	dlls/Makeimplib.rules \
	dlls/Maketest.rules \
	programs/Makeprog.rules \
	dlls/Makefile \
	dlls/activeds/Makefile \
	dlls/advapi32/Makefile \
	dlls/advapi32/tests/Makefile \
	dlls/advpack/Makefile \
	dlls/advpack/tests/Makefile \
	dlls/amstream/Makefile \
	dlls/atl/Makefile \
	dlls/avicap32/Makefile \
	dlls/avifil32/Makefile \
	dlls/cabinet/Makefile \
	dlls/cabinet/tests/Makefile \
	dlls/capi2032/Makefile \
	dlls/cards/Makefile \
	dlls/cfgmgr32/Makefile \
	dlls/clusapi/Makefile \
	dlls/comcat/Makefile \
	dlls/comcat/tests/Makefile \
	dlls/comctl32/Makefile \
	dlls/comctl32/tests/Makefile \
	dlls/comdlg32/Makefile \
	dlls/comdlg32/tests/Makefile \
	dlls/compstui/Makefile \
	dlls/crtdll/Makefile \
	dlls/crypt32/Makefile \
	dlls/crypt32/tests/Makefile \
	dlls/cryptdll/Makefile \
	dlls/cryptnet/Makefile \
	dlls/ctl3d32/Makefile \
	dlls/d3d8/Makefile \
	dlls/d3d8/tests/Makefile \
	dlls/d3d9/Makefile \
	dlls/d3d9/tests/Makefile \
	dlls/d3dim/Makefile \
	dlls/d3drm/Makefile \
	dlls/d3dx8/Makefile \
	dlls/d3dxof/Makefile \
	dlls/dbghelp/Makefile \
	dlls/dciman32/Makefile \
	dlls/ddraw/Makefile \
	dlls/ddraw/tests/Makefile \
	dlls/devenum/Makefile \
	dlls/dinput/Makefile \
	dlls/dinput/tests/Makefile \
	dlls/dinput8/Makefile \
	dlls/dmband/Makefile \
	dlls/dmcompos/Makefile \
	dlls/dmime/Makefile \
	dlls/dmloader/Makefile \
	dlls/dmscript/Makefile \
	dlls/dmstyle/Makefile \
	dlls/dmsynth/Makefile \
	dlls/dmusic/Makefile \
	dlls/dmusic32/Makefile \
	dlls/dnsapi/Makefile \
	dlls/dnsapi/tests/Makefile \
	dlls/dplay/Makefile \
	dlls/dplayx/Makefile \
	dlls/dpnet/Makefile \
	dlls/dpnhpast/Makefile \
	dlls/dsound/Makefile \
	dlls/dsound/tests/Makefile \
	dlls/dswave/Makefile \
	dlls/dxdiagn/Makefile \
	dlls/dxerr8/Makefile \
	dlls/dxerr9/Makefile \
	dlls/dxguid/Makefile \
	dlls/gdi/Makefile \
	dlls/gdi/tests/Makefile \
	dlls/glu32/Makefile \
	dlls/glut32/Makefile \
	dlls/gphoto2.ds/Makefile \
	dlls/hhctrl.ocx/Makefile \
	dlls/hid/Makefile \
	dlls/hlink/Makefile \
	dlls/hlink/tests/Makefile \
	dlls/iccvid/Makefile \
	dlls/icmp/Makefile \
	dlls/ifsmgr.vxd/Makefile \
	dlls/imaadp32.acm/Makefile \
	dlls/imagehlp/Makefile \
	dlls/imm32/Makefile \
	dlls/infosoft/Makefile \
	dlls/infosoft/tests/Makefile \
	dlls/inseng/Makefile \
	dlls/iphlpapi/Makefile \
	dlls/iphlpapi/tests/Makefile \
	dlls/itss/Makefile \
	dlls/kernel32/Makefile \
	dlls/kernel32/tests/Makefile \
	dlls/localspl/Makefile \
	dlls/localspl/tests/Makefile \
	dlls/lz32/Makefile \
	dlls/lz32/tests/Makefile \
	dlls/mapi32/Makefile \
	dlls/mapi32/tests/Makefile \
	dlls/mciavi32/Makefile \
	dlls/mcicda/Makefile \
	dlls/mciseq/Makefile \
	dlls/mciwave/Makefile \
	dlls/midimap/Makefile \
	dlls/mlang/Makefile \
	dlls/mlang/tests/Makefile \
	dlls/mmdevldr.vxd/Makefile \
	dlls/monodebg.vxd/Makefile \
	dlls/mpr/Makefile \
	dlls/mprapi/Makefile \
	dlls/msacm32.drv/Makefile \
	dlls/msacm32/Makefile \
	dlls/msacm32/tests/Makefile \
	dlls/msadp32.acm/Makefile \
	dlls/mscms/Makefile \
	dlls/mscms/tests/Makefile \
	dlls/msdmo/Makefile \
	dlls/msftedit/Makefile \
	dlls/msg711.acm/Makefile \
	dlls/mshtml/Makefile \
	dlls/mshtml/tests/Makefile \
	dlls/msi/Makefile \
	dlls/msi/tests/Makefile \
	dlls/msimg32/Makefile \
	dlls/msisys.ocx/Makefile \
	dlls/msnet32/Makefile \
	dlls/msrle32/Makefile \
	dlls/msvcrt/Makefile \
	dlls/msvcrt/tests/Makefile \
	dlls/msvcrt20/Makefile \
	dlls/msvcrt40/Makefile \
	dlls/msvcrtd/Makefile \
	dlls/msvcrtd/tests/Makefile \
	dlls/msvfw32/Makefile \
	dlls/msvidc32/Makefile \
	dlls/mswsock/Makefile \
	dlls/msxml3/Makefile \
	dlls/msxml3/tests/Makefile \
	dlls/nddeapi/Makefile \
	dlls/netapi32/Makefile \
	dlls/netapi32/tests/Makefile \
	dlls/newdev/Makefile \
	dlls/ntdll/Makefile \
	dlls/ntdll/tests/Makefile \
	dlls/ntdsapi/Makefile \
	dlls/objsel/Makefile \
	dlls/odbc32/Makefile \
	dlls/odbccp32/Makefile \
	dlls/ole32/Makefile \
	dlls/ole32/tests/Makefile \
	dlls/oleacc/Makefile \
	dlls/oleaut32/Makefile \
	dlls/oleaut32/tests/Makefile \
	dlls/olecli32/Makefile \
	dlls/oledlg/Makefile \
	dlls/olepro32/Makefile \
	dlls/olesvr32/Makefile \
	dlls/opengl32/Makefile \
	dlls/powrprof/Makefile \
	dlls/psapi/Makefile \
	dlls/psapi/tests/Makefile \
	dlls/pstorec/Makefile \
	dlls/qcap/Makefile \
	dlls/quartz/Makefile \
	dlls/quartz/tests/Makefile \
	dlls/query/Makefile \
	dlls/rasapi32/Makefile \
	dlls/riched20/Makefile \
	dlls/riched20/tests/Makefile \
	dlls/riched32/Makefile \
	dlls/rpcrt4/Makefile \
	dlls/rpcrt4/tests/Makefile \
	dlls/rsabase/Makefile \
	dlls/rsabase/tests/Makefile \
	dlls/rsaenh/Makefile \
	dlls/rsaenh/tests/Makefile \
	dlls/sane.ds/Makefile \
	dlls/secur32/Makefile \
	dlls/secur32/tests/Makefile \
	dlls/security/Makefile \
	dlls/sensapi/Makefile \
	dlls/serialui/Makefile \
	dlls/setupapi/Makefile \
	dlls/setupapi/tests/Makefile \
	dlls/sfc/Makefile \
	dlls/shdocvw/Makefile \
	dlls/shdocvw/tests/Makefile \
	dlls/shell32/Makefile \
	dlls/shell32/tests/Makefile \
	dlls/shfolder/Makefile \
	dlls/shlwapi/Makefile \
	dlls/shlwapi/tests/Makefile \
	dlls/snmpapi/Makefile \
	dlls/spoolss/Makefile \
	dlls/stdole2.tlb/Makefile \
	dlls/stdole32.tlb/Makefile \
	dlls/sti/Makefile \
	dlls/strmiids/Makefile \
	dlls/svrapi/Makefile \
	dlls/tapi32/Makefile \
	dlls/twain_32/Makefile \
	dlls/unicows/Makefile \
	dlls/url/Makefile \
	dlls/urlmon/Makefile \
	dlls/urlmon/tests/Makefile \
	dlls/user/Makefile \
	dlls/user/tests/Makefile \
	dlls/userenv/Makefile \
	dlls/usp10/Makefile \
	dlls/usp10/tests/Makefile \
	dlls/uuid/Makefile \
	dlls/uxtheme/Makefile \
	dlls/uxtheme/tests/Makefile \
	dlls/vdhcp.vxd/Makefile \
	dlls/vdmdbg/Makefile \
	dlls/version/Makefile \
	dlls/version/tests/Makefile \
	dlls/vmm.vxd/Makefile \
	dlls/vnbt.vxd/Makefile \
	dlls/vnetbios.vxd/Makefile \
	dlls/vtdapi.vxd/Makefile \
	dlls/vwin32.vxd/Makefile \
	dlls/w32skrnl/Makefile \
	dlls/winecrt0/Makefile \
	dlls/wined3d/Makefile \
	dlls/winedos/Makefile \
	dlls/winemp3.acm/Makefile \
	dlls/wineps.drv/Makefile \
	dlls/winex11.drv/Makefile \
	dlls/wininet/Makefile \
	dlls/wininet/tests/Makefile \
	dlls/winmm/Makefile \
	dlls/winmm/joystick/Makefile \
	dlls/winmm/tests/Makefile \
	dlls/winmm/winealsa/Makefile \
	dlls/winmm/winearts/Makefile \
	dlls/winmm/wineaudioio/Makefile \
	dlls/winmm/winecoreaudio/Makefile \
	dlls/winmm/wineesd/Makefile \
	dlls/winmm/winejack/Makefile \
	dlls/winmm/winenas/Makefile \
	dlls/winmm/wineoss/Makefile \
	dlls/winnls32/Makefile \
	dlls/winspool.drv/Makefile \
	dlls/winspool.drv/tests/Makefile \
	dlls/wintab32/Makefile \
	dlls/wintrust/Makefile \
	dlls/wintrust/tests/Makefile \
	dlls/wldap32/Makefile \
	dlls/wnaspi32/Makefile \
	dlls/wow32/Makefile \
	dlls/ws2_32/Makefile \
	dlls/ws2_32/tests/Makefile \
	dlls/wsock32/Makefile \
	dlls/wtsapi32/Makefile \
	documentation/Makefile \
	fonts/Makefile \
	include/Makefile \
	libs/Makefile \
	libs/port/Makefile \
	libs/wine/Makefile \
	libs/wpp/Makefile \
	loader/Makefile \
	programs/Makefile \
	programs/clock/Makefile \
	programs/cmd/Makefile \
	programs/cmdlgtst/Makefile \
	programs/control/Makefile \
	programs/eject/Makefile \
	programs/expand/Makefile \
	programs/explorer/Makefile \
	programs/hh/Makefile \
	programs/icinfo/Makefile \
	programs/iexplore/Makefile \
	programs/msiexec/Makefile \
	programs/notepad/Makefile \
	programs/oleview/Makefile \
	programs/progman/Makefile \
	programs/regedit/Makefile \
	programs/regsvr32/Makefile \
	programs/rpcss/Makefile \
	programs/rundll32/Makefile \
	programs/start/Makefile \
	programs/taskmgr/Makefile \
	programs/uninstaller/Makefile \
	programs/view/Makefile \
	programs/wineboot/Makefile \
	programs/winebrowser/Makefile \
	programs/winecfg/Makefile \
	programs/wineconsole/Makefile \
	programs/winedbg/Makefile \
	programs/winefile/Makefile \
	programs/winemenubuilder/Makefile \
	programs/winemine/Makefile \
	programs/winepath/Makefile \
	programs/winetest/Makefile \
	programs/winevdm/Makefile \
	programs/winhelp/Makefile \
	programs/winver/Makefile \
	programs/wordpad/Makefile \
	server/Makefile \
	tools/Makefile \
	tools/widl/Makefile \
	tools/winebuild/Makefile \
	tools/winedump/Makefile \
	tools/winegcc/Makefile \
	tools/wmc/Makefile \
	tools/wrc/Makefile

Makefile $(ALL_MAKEFILES): config.status
	@./config.status $@

$(RECURSE_TARGETS) $(MAKEDEP): $(ALL_MAKEFILES)

distclean::
	$(RM) Makefile $(ALL_MAKEFILES)

Make.rules: Make.rules.in
dlls/Makedll.rules: dlls/Makedll.rules.in Make.rules
dlls/Makeimplib.rules: dlls/Makeimplib.rules.in Make.rules
dlls/Maketest.rules: dlls/Maketest.rules.in Make.rules
programs/Makeprog.rules: programs/Makeprog.rules.in Make.rules
Makefile: Makefile.in Make.rules
dlls/Makefile: dlls/Makefile.in Make.rules
dlls/activeds/Makefile: dlls/activeds/Makefile.in dlls/Makedll.rules
dlls/advapi32/Makefile: dlls/advapi32/Makefile.in dlls/Makedll.rules
dlls/advapi32/tests/Makefile: dlls/advapi32/tests/Makefile.in dlls/Maketest.rules
dlls/advpack/Makefile: dlls/advpack/Makefile.in dlls/Makedll.rules
dlls/advpack/tests/Makefile: dlls/advpack/tests/Makefile.in dlls/Maketest.rules
dlls/amstream/Makefile: dlls/amstream/Makefile.in dlls/Makedll.rules
dlls/atl/Makefile: dlls/atl/Makefile.in dlls/Makedll.rules
dlls/avicap32/Makefile: dlls/avicap32/Makefile.in dlls/Makedll.rules
dlls/avifil32/Makefile: dlls/avifil32/Makefile.in dlls/Makedll.rules
dlls/cabinet/Makefile: dlls/cabinet/Makefile.in dlls/Makedll.rules
dlls/cabinet/tests/Makefile: dlls/cabinet/tests/Makefile.in dlls/Maketest.rules
dlls/capi2032/Makefile: dlls/capi2032/Makefile.in dlls/Makedll.rules
dlls/cards/Makefile: dlls/cards/Makefile.in dlls/Makedll.rules
dlls/cfgmgr32/Makefile: dlls/cfgmgr32/Makefile.in dlls/Makedll.rules
dlls/clusapi/Makefile: dlls/clusapi/Makefile.in dlls/Makedll.rules
dlls/comcat/Makefile: dlls/comcat/Makefile.in dlls/Makedll.rules
dlls/comcat/tests/Makefile: dlls/comcat/tests/Makefile.in dlls/Maketest.rules
dlls/comctl32/Makefile: dlls/comctl32/Makefile.in dlls/Makedll.rules
dlls/comctl32/tests/Makefile: dlls/comctl32/tests/Makefile.in dlls/Maketest.rules
dlls/comdlg32/Makefile: dlls/comdlg32/Makefile.in dlls/Makedll.rules
dlls/comdlg32/tests/Makefile: dlls/comdlg32/tests/Makefile.in dlls/Maketest.rules
dlls/compstui/Makefile: dlls/compstui/Makefile.in dlls/Makedll.rules
dlls/crtdll/Makefile: dlls/crtdll/Makefile.in dlls/Makedll.rules
dlls/crypt32/Makefile: dlls/crypt32/Makefile.in dlls/Makedll.rules
dlls/crypt32/tests/Makefile: dlls/crypt32/tests/Makefile.in dlls/Maketest.rules
dlls/cryptdll/Makefile: dlls/cryptdll/Makefile.in dlls/Makedll.rules
dlls/cryptnet/Makefile: dlls/cryptnet/Makefile.in dlls/Makedll.rules
dlls/ctl3d32/Makefile: dlls/ctl3d32/Makefile.in dlls/Makedll.rules
dlls/d3d8/Makefile: dlls/d3d8/Makefile.in dlls/Makedll.rules
dlls/d3d8/tests/Makefile: dlls/d3d8/tests/Makefile.in dlls/Maketest.rules
dlls/d3d9/Makefile: dlls/d3d9/Makefile.in dlls/Makedll.rules
dlls/d3d9/tests/Makefile: dlls/d3d9/tests/Makefile.in dlls/Maketest.rules
dlls/d3dim/Makefile: dlls/d3dim/Makefile.in dlls/Makedll.rules
dlls/d3drm/Makefile: dlls/d3drm/Makefile.in dlls/Makedll.rules
dlls/d3dx8/Makefile: dlls/d3dx8/Makefile.in dlls/Makedll.rules
dlls/d3dxof/Makefile: dlls/d3dxof/Makefile.in dlls/Makedll.rules
dlls/dbghelp/Makefile: dlls/dbghelp/Makefile.in dlls/Makedll.rules
dlls/dciman32/Makefile: dlls/dciman32/Makefile.in dlls/Makedll.rules
dlls/ddraw/Makefile: dlls/ddraw/Makefile.in dlls/Makedll.rules
dlls/ddraw/tests/Makefile: dlls/ddraw/tests/Makefile.in dlls/Maketest.rules
dlls/devenum/Makefile: dlls/devenum/Makefile.in dlls/Makedll.rules
dlls/dinput/Makefile: dlls/dinput/Makefile.in dlls/Makedll.rules
dlls/dinput/tests/Makefile: dlls/dinput/tests/Makefile.in dlls/Maketest.rules
dlls/dinput8/Makefile: dlls/dinput8/Makefile.in dlls/Makedll.rules
dlls/dmband/Makefile: dlls/dmband/Makefile.in dlls/Makedll.rules
dlls/dmcompos/Makefile: dlls/dmcompos/Makefile.in dlls/Makedll.rules
dlls/dmime/Makefile: dlls/dmime/Makefile.in dlls/Makedll.rules
dlls/dmloader/Makefile: dlls/dmloader/Makefile.in dlls/Makedll.rules
dlls/dmscript/Makefile: dlls/dmscript/Makefile.in dlls/Makedll.rules
dlls/dmstyle/Makefile: dlls/dmstyle/Makefile.in dlls/Makedll.rules
dlls/dmsynth/Makefile: dlls/dmsynth/Makefile.in dlls/Makedll.rules
dlls/dmusic/Makefile: dlls/dmusic/Makefile.in dlls/Makedll.rules
dlls/dmusic32/Makefile: dlls/dmusic32/Makefile.in dlls/Makedll.rules
dlls/dnsapi/Makefile: dlls/dnsapi/Makefile.in dlls/Makedll.rules
dlls/dnsapi/tests/Makefile: dlls/dnsapi/tests/Makefile.in dlls/Maketest.rules
dlls/dplay/Makefile: dlls/dplay/Makefile.in dlls/Makedll.rules
dlls/dplayx/Makefile: dlls/dplayx/Makefile.in dlls/Makedll.rules
dlls/dpnet/Makefile: dlls/dpnet/Makefile.in dlls/Makedll.rules
dlls/dpnhpast/Makefile: dlls/dpnhpast/Makefile.in dlls/Makedll.rules
dlls/dsound/Makefile: dlls/dsound/Makefile.in dlls/Makedll.rules
dlls/dsound/tests/Makefile: dlls/dsound/tests/Makefile.in dlls/Maketest.rules
dlls/dswave/Makefile: dlls/dswave/Makefile.in dlls/Makedll.rules
dlls/dxdiagn/Makefile: dlls/dxdiagn/Makefile.in dlls/Makedll.rules
dlls/dxerr8/Makefile: dlls/dxerr8/Makefile.in dlls/Makeimplib.rules
dlls/dxerr9/Makefile: dlls/dxerr9/Makefile.in dlls/Makeimplib.rules
dlls/dxguid/Makefile: dlls/dxguid/Makefile.in dlls/Makeimplib.rules
dlls/gdi/Makefile: dlls/gdi/Makefile.in dlls/Makedll.rules
dlls/gdi/tests/Makefile: dlls/gdi/tests/Makefile.in dlls/Maketest.rules
dlls/glu32/Makefile: dlls/glu32/Makefile.in dlls/Makedll.rules
dlls/glut32/Makefile: dlls/glut32/Makefile.in dlls/Makedll.rules
dlls/gphoto2.ds/Makefile: dlls/gphoto2.ds/Makefile.in dlls/Makedll.rules
dlls/hhctrl.ocx/Makefile: dlls/hhctrl.ocx/Makefile.in dlls/Makedll.rules
dlls/hid/Makefile: dlls/hid/Makefile.in dlls/Makedll.rules
dlls/hlink/Makefile: dlls/hlink/Makefile.in dlls/Makedll.rules
dlls/hlink/tests/Makefile: dlls/hlink/tests/Makefile.in dlls/Maketest.rules
dlls/iccvid/Makefile: dlls/iccvid/Makefile.in dlls/Makedll.rules
dlls/icmp/Makefile: dlls/icmp/Makefile.in dlls/Makedll.rules
dlls/ifsmgr.vxd/Makefile: dlls/ifsmgr.vxd/Makefile.in dlls/Makedll.rules
dlls/imaadp32.acm/Makefile: dlls/imaadp32.acm/Makefile.in dlls/Makedll.rules
dlls/imagehlp/Makefile: dlls/imagehlp/Makefile.in dlls/Makedll.rules
dlls/imm32/Makefile: dlls/imm32/Makefile.in dlls/Makedll.rules
dlls/infosoft/Makefile: dlls/infosoft/Makefile.in dlls/Makedll.rules
dlls/infosoft/tests/Makefile: dlls/infosoft/tests/Makefile.in dlls/Maketest.rules
dlls/inseng/Makefile: dlls/inseng/Makefile.in dlls/Makedll.rules
dlls/iphlpapi/Makefile: dlls/iphlpapi/Makefile.in dlls/Makedll.rules
dlls/iphlpapi/tests/Makefile: dlls/iphlpapi/tests/Makefile.in dlls/Maketest.rules
dlls/itss/Makefile: dlls/itss/Makefile.in dlls/Makedll.rules
dlls/kernel32/Makefile: dlls/kernel32/Makefile.in dlls/Makedll.rules
dlls/kernel32/tests/Makefile: dlls/kernel32/tests/Makefile.in dlls/Maketest.rules
dlls/localspl/Makefile: dlls/localspl/Makefile.in dlls/Makedll.rules
dlls/localspl/tests/Makefile: dlls/localspl/tests/Makefile.in dlls/Maketest.rules
dlls/lz32/Makefile: dlls/lz32/Makefile.in dlls/Makedll.rules
dlls/lz32/tests/Makefile: dlls/lz32/tests/Makefile.in dlls/Maketest.rules
dlls/mapi32/Makefile: dlls/mapi32/Makefile.in dlls/Makedll.rules
dlls/mapi32/tests/Makefile: dlls/mapi32/tests/Makefile.in dlls/Maketest.rules
dlls/mciavi32/Makefile: dlls/mciavi32/Makefile.in dlls/Makedll.rules
dlls/mcicda/Makefile: dlls/mcicda/Makefile.in dlls/Makedll.rules
dlls/mciseq/Makefile: dlls/mciseq/Makefile.in dlls/Makedll.rules
dlls/mciwave/Makefile: dlls/mciwave/Makefile.in dlls/Makedll.rules
dlls/midimap/Makefile: dlls/midimap/Makefile.in dlls/Makedll.rules
dlls/mlang/Makefile: dlls/mlang/Makefile.in dlls/Makedll.rules
dlls/mlang/tests/Makefile: dlls/mlang/tests/Makefile.in dlls/Maketest.rules
dlls/mmdevldr.vxd/Makefile: dlls/mmdevldr.vxd/Makefile.in dlls/Makedll.rules
dlls/monodebg.vxd/Makefile: dlls/monodebg.vxd/Makefile.in dlls/Makedll.rules
dlls/mpr/Makefile: dlls/mpr/Makefile.in dlls/Makedll.rules
dlls/mprapi/Makefile: dlls/mprapi/Makefile.in dlls/Makedll.rules
dlls/msacm32.drv/Makefile: dlls/msacm32.drv/Makefile.in dlls/Makedll.rules
dlls/msacm32/Makefile: dlls/msacm32/Makefile.in dlls/Makedll.rules
dlls/msacm32/tests/Makefile: dlls/msacm32/tests/Makefile.in dlls/Maketest.rules
dlls/msadp32.acm/Makefile: dlls/msadp32.acm/Makefile.in dlls/Makedll.rules
dlls/mscms/Makefile: dlls/mscms/Makefile.in dlls/Makedll.rules
dlls/mscms/tests/Makefile: dlls/mscms/tests/Makefile.in dlls/Maketest.rules
dlls/msdmo/Makefile: dlls/msdmo/Makefile.in dlls/Makedll.rules
dlls/msftedit/Makefile: dlls/msftedit/Makefile.in dlls/Makedll.rules
dlls/msg711.acm/Makefile: dlls/msg711.acm/Makefile.in dlls/Makedll.rules
dlls/mshtml/Makefile: dlls/mshtml/Makefile.in dlls/Makedll.rules
dlls/mshtml/tests/Makefile: dlls/mshtml/tests/Makefile.in dlls/Maketest.rules
dlls/msi/Makefile: dlls/msi/Makefile.in dlls/Makedll.rules
dlls/msi/tests/Makefile: dlls/msi/tests/Makefile.in dlls/Maketest.rules
dlls/msimg32/Makefile: dlls/msimg32/Makefile.in dlls/Makedll.rules
dlls/msisys.ocx/Makefile: dlls/msisys.ocx/Makefile.in dlls/Makedll.rules
dlls/msnet32/Makefile: dlls/msnet32/Makefile.in dlls/Makedll.rules
dlls/msrle32/Makefile: dlls/msrle32/Makefile.in dlls/Makedll.rules
dlls/msvcrt/Makefile: dlls/msvcrt/Makefile.in dlls/Makedll.rules
dlls/msvcrt/tests/Makefile: dlls/msvcrt/tests/Makefile.in dlls/Maketest.rules
dlls/msvcrt20/Makefile: dlls/msvcrt20/Makefile.in dlls/Makedll.rules
dlls/msvcrt40/Makefile: dlls/msvcrt40/Makefile.in dlls/Makedll.rules
dlls/msvcrtd/Makefile: dlls/msvcrtd/Makefile.in dlls/Makedll.rules
dlls/msvcrtd/tests/Makefile: dlls/msvcrtd/tests/Makefile.in dlls/Maketest.rules
dlls/msvfw32/Makefile: dlls/msvfw32/Makefile.in dlls/Makedll.rules
dlls/msvidc32/Makefile: dlls/msvidc32/Makefile.in dlls/Makedll.rules
dlls/mswsock/Makefile: dlls/mswsock/Makefile.in dlls/Makedll.rules
dlls/msxml3/Makefile: dlls/msxml3/Makefile.in dlls/Makedll.rules
dlls/msxml3/tests/Makefile: dlls/msxml3/tests/Makefile.in dlls/Maketest.rules
dlls/nddeapi/Makefile: dlls/nddeapi/Makefile.in dlls/Makedll.rules
dlls/netapi32/Makefile: dlls/netapi32/Makefile.in dlls/Makedll.rules
dlls/netapi32/tests/Makefile: dlls/netapi32/tests/Makefile.in dlls/Maketest.rules
dlls/newdev/Makefile: dlls/newdev/Makefile.in dlls/Makedll.rules
dlls/ntdll/Makefile: dlls/ntdll/Makefile.in dlls/Makedll.rules
dlls/ntdll/tests/Makefile: dlls/ntdll/tests/Makefile.in dlls/Maketest.rules
dlls/ntdsapi/Makefile: dlls/ntdsapi/Makefile.in dlls/Makedll.rules
dlls/objsel/Makefile: dlls/objsel/Makefile.in dlls/Makedll.rules
dlls/odbc32/Makefile: dlls/odbc32/Makefile.in dlls/Makedll.rules
dlls/odbccp32/Makefile: dlls/odbccp32/Makefile.in dlls/Makedll.rules
dlls/ole32/Makefile: dlls/ole32/Makefile.in dlls/Makedll.rules
dlls/ole32/tests/Makefile: dlls/ole32/tests/Makefile.in dlls/Maketest.rules
dlls/oleacc/Makefile: dlls/oleacc/Makefile.in dlls/Makedll.rules
dlls/oleaut32/Makefile: dlls/oleaut32/Makefile.in dlls/Makedll.rules
dlls/oleaut32/tests/Makefile: dlls/oleaut32/tests/Makefile.in dlls/Maketest.rules
dlls/olecli32/Makefile: dlls/olecli32/Makefile.in dlls/Makedll.rules
dlls/oledlg/Makefile: dlls/oledlg/Makefile.in dlls/Makedll.rules
dlls/olepro32/Makefile: dlls/olepro32/Makefile.in dlls/Makedll.rules
dlls/olesvr32/Makefile: dlls/olesvr32/Makefile.in dlls/Makedll.rules
dlls/opengl32/Makefile: dlls/opengl32/Makefile.in dlls/Makedll.rules
dlls/powrprof/Makefile: dlls/powrprof/Makefile.in dlls/Makedll.rules
dlls/psapi/Makefile: dlls/psapi/Makefile.in dlls/Makedll.rules
dlls/psapi/tests/Makefile: dlls/psapi/tests/Makefile.in dlls/Maketest.rules
dlls/pstorec/Makefile: dlls/pstorec/Makefile.in dlls/Makedll.rules
dlls/qcap/Makefile: dlls/qcap/Makefile.in dlls/Makedll.rules
dlls/quartz/Makefile: dlls/quartz/Makefile.in dlls/Makedll.rules
dlls/quartz/tests/Makefile: dlls/quartz/tests/Makefile.in dlls/Maketest.rules
dlls/query/Makefile: dlls/query/Makefile.in dlls/Makedll.rules
dlls/rasapi32/Makefile: dlls/rasapi32/Makefile.in dlls/Makedll.rules
dlls/riched20/Makefile: dlls/riched20/Makefile.in dlls/Makedll.rules
dlls/riched20/tests/Makefile: dlls/riched20/tests/Makefile.in dlls/Maketest.rules
dlls/riched32/Makefile: dlls/riched32/Makefile.in dlls/Makedll.rules
dlls/rpcrt4/Makefile: dlls/rpcrt4/Makefile.in dlls/Makedll.rules
dlls/rpcrt4/tests/Makefile: dlls/rpcrt4/tests/Makefile.in dlls/Maketest.rules
dlls/rsabase/Makefile: dlls/rsabase/Makefile.in dlls/Makedll.rules
dlls/rsabase/tests/Makefile: dlls/rsabase/tests/Makefile.in dlls/Maketest.rules
dlls/rsaenh/Makefile: dlls/rsaenh/Makefile.in dlls/Makedll.rules
dlls/rsaenh/tests/Makefile: dlls/rsaenh/tests/Makefile.in dlls/Maketest.rules
dlls/sane.ds/Makefile: dlls/sane.ds/Makefile.in dlls/Makedll.rules
dlls/secur32/Makefile: dlls/secur32/Makefile.in dlls/Makedll.rules
dlls/secur32/tests/Makefile: dlls/secur32/tests/Makefile.in dlls/Maketest.rules
dlls/security/Makefile: dlls/security/Makefile.in dlls/Makedll.rules
dlls/sensapi/Makefile: dlls/sensapi/Makefile.in dlls/Makedll.rules
dlls/serialui/Makefile: dlls/serialui/Makefile.in dlls/Makedll.rules
dlls/setupapi/Makefile: dlls/setupapi/Makefile.in dlls/Makedll.rules
dlls/setupapi/tests/Makefile: dlls/setupapi/tests/Makefile.in dlls/Maketest.rules
dlls/sfc/Makefile: dlls/sfc/Makefile.in dlls/Makedll.rules
dlls/shdocvw/Makefile: dlls/shdocvw/Makefile.in dlls/Makedll.rules
dlls/shdocvw/tests/Makefile: dlls/shdocvw/tests/Makefile.in dlls/Maketest.rules
dlls/shell32/Makefile: dlls/shell32/Makefile.in dlls/Makedll.rules
dlls/shell32/tests/Makefile: dlls/shell32/tests/Makefile.in dlls/Maketest.rules
dlls/shfolder/Makefile: dlls/shfolder/Makefile.in dlls/Makedll.rules
dlls/shlwapi/Makefile: dlls/shlwapi/Makefile.in dlls/Makedll.rules
dlls/shlwapi/tests/Makefile: dlls/shlwapi/tests/Makefile.in dlls/Maketest.rules
dlls/snmpapi/Makefile: dlls/snmpapi/Makefile.in dlls/Makedll.rules
dlls/spoolss/Makefile: dlls/spoolss/Makefile.in dlls/Makedll.rules
dlls/stdole2.tlb/Makefile: dlls/stdole2.tlb/Makefile.in dlls/Makedll.rules
dlls/stdole32.tlb/Makefile: dlls/stdole32.tlb/Makefile.in dlls/Makedll.rules
dlls/sti/Makefile: dlls/sti/Makefile.in dlls/Makedll.rules
dlls/strmiids/Makefile: dlls/strmiids/Makefile.in dlls/Makeimplib.rules
dlls/svrapi/Makefile: dlls/svrapi/Makefile.in dlls/Makedll.rules
dlls/tapi32/Makefile: dlls/tapi32/Makefile.in dlls/Makedll.rules
dlls/twain_32/Makefile: dlls/twain_32/Makefile.in dlls/Makedll.rules
dlls/unicows/Makefile: dlls/unicows/Makefile.in dlls/Makedll.rules
dlls/url/Makefile: dlls/url/Makefile.in dlls/Makedll.rules
dlls/urlmon/Makefile: dlls/urlmon/Makefile.in dlls/Makedll.rules
dlls/urlmon/tests/Makefile: dlls/urlmon/tests/Makefile.in dlls/Maketest.rules
dlls/user/Makefile: dlls/user/Makefile.in dlls/Makedll.rules
dlls/user/tests/Makefile: dlls/user/tests/Makefile.in dlls/Maketest.rules
dlls/userenv/Makefile: dlls/userenv/Makefile.in dlls/Makedll.rules
dlls/usp10/Makefile: dlls/usp10/Makefile.in dlls/Makedll.rules
dlls/usp10/tests/Makefile: dlls/usp10/tests/Makefile.in dlls/Maketest.rules
dlls/uuid/Makefile: dlls/uuid/Makefile.in dlls/Makeimplib.rules
dlls/uxtheme/Makefile: dlls/uxtheme/Makefile.in dlls/Makedll.rules
dlls/uxtheme/tests/Makefile: dlls/uxtheme/tests/Makefile.in dlls/Maketest.rules
dlls/vdhcp.vxd/Makefile: dlls/vdhcp.vxd/Makefile.in dlls/Makedll.rules
dlls/vdmdbg/Makefile: dlls/vdmdbg/Makefile.in dlls/Makedll.rules
dlls/version/Makefile: dlls/version/Makefile.in dlls/Makedll.rules
dlls/version/tests/Makefile: dlls/version/tests/Makefile.in dlls/Maketest.rules
dlls/vmm.vxd/Makefile: dlls/vmm.vxd/Makefile.in dlls/Makedll.rules
dlls/vnbt.vxd/Makefile: dlls/vnbt.vxd/Makefile.in dlls/Makedll.rules
dlls/vnetbios.vxd/Makefile: dlls/vnetbios.vxd/Makefile.in dlls/Makedll.rules
dlls/vtdapi.vxd/Makefile: dlls/vtdapi.vxd/Makefile.in dlls/Makedll.rules
dlls/vwin32.vxd/Makefile: dlls/vwin32.vxd/Makefile.in dlls/Makedll.rules
dlls/w32skrnl/Makefile: dlls/w32skrnl/Makefile.in dlls/Makedll.rules
dlls/winecrt0/Makefile: dlls/winecrt0/Makefile.in dlls/Makeimplib.rules
dlls/wined3d/Makefile: dlls/wined3d/Makefile.in dlls/Makedll.rules
dlls/winedos/Makefile: dlls/winedos/Makefile.in dlls/Makedll.rules
dlls/winemp3.acm/Makefile: dlls/winemp3.acm/Makefile.in dlls/Makedll.rules
dlls/wineps.drv/Makefile: dlls/wineps.drv/Makefile.in dlls/Makedll.rules
dlls/winex11.drv/Makefile: dlls/winex11.drv/Makefile.in dlls/Makedll.rules
dlls/wininet/Makefile: dlls/wininet/Makefile.in dlls/Makedll.rules
dlls/wininet/tests/Makefile: dlls/wininet/tests/Makefile.in dlls/Maketest.rules
dlls/winmm/Makefile: dlls/winmm/Makefile.in dlls/Makedll.rules
dlls/winmm/joystick/Makefile: dlls/winmm/joystick/Makefile.in dlls/Makedll.rules
dlls/winmm/tests/Makefile: dlls/winmm/tests/Makefile.in dlls/Maketest.rules
dlls/winmm/winealsa/Makefile: dlls/winmm/winealsa/Makefile.in dlls/Makedll.rules
dlls/winmm/winearts/Makefile: dlls/winmm/winearts/Makefile.in dlls/Makedll.rules
dlls/winmm/wineaudioio/Makefile: dlls/winmm/wineaudioio/Makefile.in dlls/Makedll.rules
dlls/winmm/winecoreaudio/Makefile: dlls/winmm/winecoreaudio/Makefile.in dlls/Makedll.rules
dlls/winmm/wineesd/Makefile: dlls/winmm/wineesd/Makefile.in dlls/Makedll.rules
dlls/winmm/winejack/Makefile: dlls/winmm/winejack/Makefile.in dlls/Makedll.rules
dlls/winmm/winenas/Makefile: dlls/winmm/winenas/Makefile.in dlls/Makedll.rules
dlls/winmm/wineoss/Makefile: dlls/winmm/wineoss/Makefile.in dlls/Makedll.rules
dlls/winnls32/Makefile: dlls/winnls32/Makefile.in dlls/Makedll.rules
dlls/winspool.drv/Makefile: dlls/winspool.drv/Makefile.in dlls/Makedll.rules
dlls/winspool.drv/tests/Makefile: dlls/winspool.drv/tests/Makefile.in dlls/Maketest.rules
dlls/wintab32/Makefile: dlls/wintab32/Makefile.in dlls/Makedll.rules
dlls/wintrust/Makefile: dlls/wintrust/Makefile.in dlls/Makedll.rules
dlls/wintrust/tests/Makefile: dlls/wintrust/tests/Makefile.in dlls/Maketest.rules
dlls/wldap32/Makefile: dlls/wldap32/Makefile.in dlls/Makedll.rules
dlls/wnaspi32/Makefile: dlls/wnaspi32/Makefile.in dlls/Makedll.rules
dlls/wow32/Makefile: dlls/wow32/Makefile.in dlls/Makedll.rules
dlls/ws2_32/Makefile: dlls/ws2_32/Makefile.in dlls/Makedll.rules
dlls/ws2_32/tests/Makefile: dlls/ws2_32/tests/Makefile.in dlls/Maketest.rules
dlls/wsock32/Makefile: dlls/wsock32/Makefile.in dlls/Makedll.rules
dlls/wtsapi32/Makefile: dlls/wtsapi32/Makefile.in dlls/Makedll.rules
documentation/Makefile: documentation/Makefile.in Make.rules
fonts/Makefile: fonts/Makefile.in Make.rules
include/Makefile: include/Makefile.in Make.rules
libs/Makefile: libs/Makefile.in Make.rules
libs/port/Makefile: libs/port/Makefile.in Make.rules
libs/wine/Makefile: libs/wine/Makefile.in Make.rules
libs/wpp/Makefile: libs/wpp/Makefile.in Make.rules
loader/Makefile: loader/Makefile.in Make.rules
programs/Makefile: programs/Makefile.in Make.rules
programs/clock/Makefile: programs/clock/Makefile.in programs/Makeprog.rules
programs/cmd/Makefile: programs/cmd/Makefile.in programs/Makeprog.rules
programs/cmdlgtst/Makefile: programs/cmdlgtst/Makefile.in programs/Makeprog.rules
programs/control/Makefile: programs/control/Makefile.in programs/Makeprog.rules
programs/eject/Makefile: programs/eject/Makefile.in programs/Makeprog.rules
programs/expand/Makefile: programs/expand/Makefile.in programs/Makeprog.rules
programs/explorer/Makefile: programs/explorer/Makefile.in programs/Makeprog.rules
programs/hh/Makefile: programs/hh/Makefile.in programs/Makeprog.rules
programs/icinfo/Makefile: programs/icinfo/Makefile.in programs/Makeprog.rules
programs/iexplore/Makefile: programs/iexplore/Makefile.in programs/Makeprog.rules
programs/msiexec/Makefile: programs/msiexec/Makefile.in programs/Makeprog.rules
programs/notepad/Makefile: programs/notepad/Makefile.in programs/Makeprog.rules
programs/oleview/Makefile: programs/oleview/Makefile.in programs/Makeprog.rules
programs/progman/Makefile: programs/progman/Makefile.in programs/Makeprog.rules
programs/regedit/Makefile: programs/regedit/Makefile.in programs/Makeprog.rules
programs/regsvr32/Makefile: programs/regsvr32/Makefile.in programs/Makeprog.rules
programs/rpcss/Makefile: programs/rpcss/Makefile.in programs/Makeprog.rules
programs/rundll32/Makefile: programs/rundll32/Makefile.in programs/Makeprog.rules
programs/start/Makefile: programs/start/Makefile.in programs/Makeprog.rules
programs/taskmgr/Makefile: programs/taskmgr/Makefile.in programs/Makeprog.rules
programs/uninstaller/Makefile: programs/uninstaller/Makefile.in programs/Makeprog.rules
programs/view/Makefile: programs/view/Makefile.in programs/Makeprog.rules
programs/wineboot/Makefile: programs/wineboot/Makefile.in programs/Makeprog.rules
programs/winebrowser/Makefile: programs/winebrowser/Makefile.in programs/Makeprog.rules
programs/winecfg/Makefile: programs/winecfg/Makefile.in programs/Makeprog.rules
programs/wineconsole/Makefile: programs/wineconsole/Makefile.in programs/Makeprog.rules
programs/winedbg/Makefile: programs/winedbg/Makefile.in programs/Makeprog.rules
programs/winefile/Makefile: programs/winefile/Makefile.in programs/Makeprog.rules
programs/winemenubuilder/Makefile: programs/winemenubuilder/Makefile.in programs/Makeprog.rules
programs/winemine/Makefile: programs/winemine/Makefile.in programs/Makeprog.rules
programs/winepath/Makefile: programs/winepath/Makefile.in programs/Makeprog.rules
programs/winetest/Makefile: programs/winetest/Makefile.in programs/Makeprog.rules
programs/winevdm/Makefile: programs/winevdm/Makefile.in programs/Makeprog.rules
programs/winhelp/Makefile: programs/winhelp/Makefile.in programs/Makeprog.rules
programs/winver/Makefile: programs/winver/Makefile.in programs/Makeprog.rules
programs/wordpad/Makefile: programs/wordpad/Makefile.in programs/Makeprog.rules
server/Makefile: server/Makefile.in Make.rules
tools/Makefile: tools/Makefile.in Make.rules
tools/widl/Makefile: tools/widl/Makefile.in Make.rules
tools/winebuild/Makefile: tools/winebuild/Makefile.in Make.rules
tools/winedump/Makefile: tools/winedump/Makefile.in Make.rules
tools/winegcc/Makefile: tools/winegcc/Makefile.in Make.rules
tools/wmc/Makefile: tools/wmc/Makefile.in Make.rules
tools/wrc/Makefile: tools/wrc/Makefile.in Make.rules

[-- Attachment #3: tools-Makefile --]
[-- Type: application/octet-stream, Size: 12327 bytes --]

TOPSRCDIR = ../../wine-git
TOPOBJDIR = ..
SRCDIR    = ../../wine-git/tools
VPATH     = ../../wine-git/tools
EXEEXT    = 
MODULE    = none
EXTRAINCL = -I/usr/include/freetype2
FREETYPELIBS = -lfreetype -lz

PROGRAMS = \
	bin2res$(EXEEXT) \
	fnt2bdf$(EXEEXT) \
	fnt2fon$(EXEEXT) \
	make_ctests$(EXEEXT) \
	makedep$(EXEEXT) \
	relpath$(EXEEXT) \
	sfnt2fnt$(EXEEXT) \
	wineprefixcreate

MANPAGES = \
	winemaker.man \
	wineprefixcreate.man

C_SRCS = \
	bin2res.c \
	fnt2bdf.c \
	fnt2fon.c \
	make_ctests.c \
	makedep.c \
	relpath.c \
	sfnt2fnt.c \

INSTALLSUBDIRS = \
	widl \
	winebuild \
	winedump \
	winegcc \
	wmc \
	wrc

SUBDIRS = $(INSTALLSUBDIRS)

EXTRASUBDIRS = winapi

INSTALLDIRS = \
	$(DESTDIR)$(bindir) \
	$(DESTDIR)$(datadir)/applications \
	$(DESTDIR)$(datadir)/wine \
	$(DESTDIR)$(mandir)/man$(prog_manext)

UPDATE_DESKTOP_DATABASE = update-desktop-database

all: $(PROGRAMS) $(MANPAGES) $(SUBDIRS)

# Global rules shared by all makefiles     -*-Makefile-*-
#
# Each individual makefile must define the following variables:
# TOPSRCDIR    : top-level source directory
# TOPOBJDIR    : top-level object directory
# SRCDIR       : source directory for this module
# MODULE       : name of the module being built
#
# Each individual makefile may define the following additional variables:
# C_SRCS       : C sources for the module
# C_SRCS16     : 16-bit C sources for the module
# RC_SRCS      : resource source files
# EXTRA_SRCS   : extra source files for make depend
# EXTRA_OBJS   : extra object files
# IMPORTS      : dlls to import
# DELAYIMPORTS : dlls to import in delayed mode
# SUBDIRS      : subdirectories that contain a Makefile
# EXTRASUBDIRS : subdirectories that do not contain a Makefile
# INSTALLSUBDIRS : subdirectories to run make install/uninstall into
# MODCFLAGS    : extra CFLAGS for this module

# First some useful definitions

SHELL     = /bin/sh
CC        = gcc -m32
CFLAGS    = -g -O2
CPPFLAGS  = 
LIBS      = 
BISON     = bison
LEX       = flex
LEXLIB    = 
EXEEXT    = 
OBJEXT    = o
LIBEXT    = so
DLLEXT    = .so
IMPLIBEXT = def
LDSHARED  = $(CC) -shared $(SONAME:%=-Wl,-soname,%) $(VERSCRIPT:%=-Wl,--version-script=%)
DLLTOOL   = false
DLLWRAP   = 
AR        = ar rc
RANLIB    = ranlib
STRIP     = strip
WINDRES   = false
LN        = ln
LN_S      = ln -s
TOOLSDIR  = $(TOPOBJDIR)
AS        = as --32
LD        = ld -m elf_i386
LDFLAGS   = -L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib
PRELINK   = false
RM        = rm -f
MV        = mv
LINT      = 
LINTFLAGS = 
FONTFORGE = fontforge
INCLUDES     = -I$(SRCDIR) -I. -I$(TOPSRCDIR)/include -I$(TOPOBJDIR)/include $(EXTRAINCL)
EXTRACFLAGS  = -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith
ALLCFLAGS    = $(INCLUDES) $(DEFS) $(DLLFLAGS) $(EXTRACFLAGS) $(CPPFLAGS) $(CFLAGS) $(MODCFLAGS)
ALLLINTFLAGS = $(INCLUDES) $(DEFS) $(LINTFLAGS)
IDLFLAGS     = $(INCLUDES) $(DEFS) $(EXTRAIDLFLAGS)
WINEBUILDFLAGS = $(DLLFLAGS) --as-cmd "$(AS)"
MKINSTALLDIRS= $(TOPSRCDIR)/tools/mkinstalldirs -m 755
WINAPI_CHECK = $(TOPSRCDIR)/tools/winapi/winapi_check
WINEWRAPPER  = $(TOPSRCDIR)/tools/winewrapper
C2MAN        = $(TOPSRCDIR)/tools/c2man.pl
RUNTEST      = $(TOPSRCDIR)/tools/runtest
WINEBUILD    = $(TOOLSDIR)/tools/winebuild/winebuild
MAKEDEP      = $(TOOLSDIR)/tools/makedep
MAKECTESTS   = $(TOOLSDIR)/tools/make_ctests
WRC          = $(TOOLSDIR)/tools/wrc/wrc
BIN2RES      = $(TOOLSDIR)/tools/bin2res
WMC          = $(TOOLSDIR)/tools/wmc/wmc
WIDL         = $(TOOLSDIR)/tools/widl/widl
WINEGCC      = $(TOOLSDIR)/tools/winegcc/winegcc
RELPATH      = $(TOOLSDIR)/tools/relpath
SFNT2FNT     = $(TOOLSDIR)/tools/sfnt2fnt
FNT2FON      = $(TOOLSDIR)/tools/fnt2fon
RC           = $(WRC)
RC16         = $(WRC)
RCFLAGS      = --nostdinc $(INCLUDES) $(DEFS) $(EXTRARCFLAGS)
RC16FLAGS    = -O res16 $(RCFLAGS)
LDPATH       = LD_LIBRARY_PATH="$(TOOLSDIR)/libs/wine:$$LD_LIBRARY_PATH"
DLLDIR       = $(TOPOBJDIR)/dlls
LIBPORT      = $(TOPOBJDIR)/libs/port/libwine_port.a
LIBWPP       = $(TOPOBJDIR)/libs/wpp/libwpp.a
LIBWINE      = -L$(TOPOBJDIR)/libs/wine -lwine
LIBWINE_LDFLAGS = -Wl,--rpath,\$$ORIGIN/`$(RELPATH) $(bindir) $(libdir)` $(LIBWINE)



# Installation infos

INSTALL         = /usr/bin/install -c $(INSTALL_FLAGS)
INSTALL_PROGRAM = ${INSTALL} $(INSTALL_PROGRAM_FLAGS)
INSTALL_SCRIPT  = ${INSTALL} $(INSTALL_SCRIPT_FLAGS)
INSTALL_DATA    = ${INSTALL} -m 644 $(INSTALL_DATA_FLAGS)
prefix          = /usr/local
exec_prefix     = ${prefix}
bindir          = ${exec_prefix}/bin
libdir          = ${exec_prefix}/lib
datarootdir     = ${prefix}/share
datadir         = ${datarootdir}
infodir         = ${datarootdir}/info
mandir          = ${datarootdir}/man
sysconfdir      = ${prefix}/etc
includedir      = ${prefix}/include/wine
dlldir          = ${exec_prefix}/lib/wine
prog_manext     = 1
api_manext      = 3w
conf_manext     = 5
CLEAN_FILES     = *.o *.a *.so *.ln *.$(LIBEXT) \\\#*\\\# *~ *% .\\\#* *.bak *.orig *.rej \
                  *.flc *.res *.mc.rc *.tab.[ch] *.yy.c core

OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o) $(EXTRA_OBJS)

RCOBJS = $(RC_SRCS:.rc=.res.o)
LINTS  = $(C_SRCS:.c=.ln)

# Implicit rules

.SUFFIXES: .mc .rc .mc.rc .res .res.o .spec .spec.o .idl .tlb .h .y .l .tab.c .tab.h .yy.c .ok .sfd .ttf .man.in .man _c.c _i.c _p.c _s.c

.c.o:
	$(CC) -c $(ALLCFLAGS) -o $@ $<

.s.o:
	$(AS) -o $@ $<

.y.tab.c:
	$(BISON) $(BISONFLAGS) -p $*_ -o $@ $<

.y.tab.h:
	$(BISON) $(BISONFLAGS) -p $*_ -o $*.tab.c -d $<

.l.yy.c:
	$(LEX) $(LEXFLAGS) -t $< >$@ || ($(RM) $@ && exit 1)

.mc.mc.rc:
	$(LDPATH) $(WMC) -i -U -H /dev/null -o $@ $<

.rc.res:
	$(LDPATH) $(RC) $(RCFLAGS) -fo$@ $<

.res.res.o:
	$(WINDRES) -i $< -o $@

.spec.spec.o:
	$(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --export $<

.idl.h:
	$(WIDL) $(IDLFLAGS) -h -H $@ $<

.idl_c.c:
	$(WIDL) $(IDLFLAGS) -c -C $@ $<

.idl_i.c:
	$(WIDL) $(IDLFLAGS) -u -U $@ $<

.idl_p.c:
	$(WIDL) $(IDLFLAGS) -p -P $@ $<

.idl_s.c:
	$(WIDL) $(IDLFLAGS) -s -S $@ $<

.idl.tlb:
	$(WIDL) $(IDLFLAGS) -t -T $@ $<

.c.ln:
	$(LINT) -c $(ALLLINTFLAGS) $< || ( $(RM) $@ && exit 1 )

.c.ok:
	$(RUNTEST) $(RUNTESTFLAGS) $< && touch $@

.sfd.ttf:
	$(FONTFORGE) -script $(TOPSRCDIR)/fonts/genttf.ff $< $@

.man.in.man:
	sed -e 's,@bindir\@,$(bindir),g' -e 's,@dlldir\@,$(dlldir),g' -e 's,@PACKAGE_STRING\@,Wine 0.9.22,g' $< >$@ || ($(RM) $@ && false)

# 'all' target first in case the enclosing Makefile didn't define any target

all:

filter: dummy
	@$(TOPSRCDIR)/tools/winapi/make_filter --make $(MAKE) all

.PHONY: all filter

# Rules for resources

$(RC_BINARIES): $(BIN2RES) $(RC_BINSRC)
	$(BIN2RES) -f -o $@ $(SRCDIR)/$(RC_BINSRC)

$(RC_SRCS:.rc=.res) $(RC_SRCS16:.rc=.res): $(WRC) $(RC_BINARIES) $(IDL_TLB_SRCS:.idl=.tlb)

# Rule for linting

$(MODULE).ln : $(LINTS)
	if test "$(LINTS)" ; \
	then \
		$(LINT) $(ALLLINTFLAGS) -o$(MODULE) $(LINTS) ; \
	        $(MV) llib-l$(MODULE).ln $(MODULE).ln ; \
	else \
		$(LINT) $(ALLLINTFLAGS) -C$(MODULE) /dev/null ; \
	fi

lint:: $(MODULE).ln

# Rules for Windows API checking

winapi_check:: dummy
	$(WINAPI_CHECK) $(WINAPI_CHECK_FLAGS) $(WINAPI_CHECK_EXTRA_FLAGS) .

.PHONY: winapi_check

# Rules for dependencies

DEPEND_SRCS = $(C_SRCS) $(C_SRCS16) $(RC_SRCS) $(RC_SRCS16) $(MC_SRCS) $(IDL_SRCS) $(BISON_SRCS) $(LEX_SRCS) $(EXTRA_SRCS)

$(SUBDIRS:%=%/__depend__): dummy
	@cd `dirname $@` && $(MAKE) depend

depend: $(SUBDIRS:%=%/__depend__) dummy
	$(MAKEDEP) -C$(SRCDIR) -S$(TOPSRCDIR) -T$(TOPOBJDIR) $(EXTRAINCL) $(DEPEND_SRCS)

.PHONY: depend $(SUBDIRS:%=%/__depend__)

# Rules for cleaning

$(SUBDIRS:%=%/__clean__): dummy
	@cd `dirname $@` && $(MAKE) clean

$(EXTRASUBDIRS:%=%/__clean__): dummy
	-cd `dirname $@` && $(RM) $(CLEAN_FILES)

clean:: $(SUBDIRS:%=%/__clean__) $(EXTRASUBDIRS:%=%/__clean__)
	$(RM) $(CLEAN_FILES) $(IDL_SRCS:.idl=.h) $(IDL_SRCS:.idl=_c.c) $(IDL_SRCS:.idl=_i.c) $(IDL_SRCS:.idl=_p.c) $(IDL_SRCS:.idl=_s.c) $(IDL_TLB_SRCS:.idl=.tlb) $(PROGRAMS) $(RC_BINARIES) $(MANPAGES)

.PHONY: clean $(SUBDIRS:%=%/__clean__) $(EXTRASUBDIRS:%=%/__clean__)

# Rules for installing

$(SUBDIRS:%=%/__install__): dummy
	@cd `dirname $@` && $(MAKE) install

$(SUBDIRS:%=%/__install-lib__): dummy
	@cd `dirname $@` && $(MAKE) install-lib

$(SUBDIRS:%=%/__install-dev__): dummy
	@cd `dirname $@` && $(MAKE) install-dev

$(SUBDIRS:%=%/__uninstall__): dummy
	@cd `dirname $@` && $(MAKE) uninstall

install:: $(INSTALLSUBDIRS:%=%/__install__)

uninstall:: $(INSTALLSUBDIRS:%=%/__uninstall__)

$(INSTALLDIRS):
	$(MKINSTALLDIRS) $@

.PHONY: install install-lib install-dev uninstall \
	$(SUBDIRS:%=%/__install__) $(SUBDIRS:%=%/__uninstall__) \
	$(SUBDIRS:%=%/__install-lib__) $(SUBDIRS:%=%/__install-dev__)

# Rules for testing

$(TESTSUBDIRS:%=%/__test__): dummy
	@cd `dirname $@` && $(MAKE) test

$(TESTSUBDIRS:%=%/__crosstest__): dummy
	@cd `dirname $@` && $(MAKE) crosstest

$(TESTSUBDIRS:%=%/__testclean__): dummy
	@cd `dirname $@` && $(MAKE) testclean

check test:: $(TESTSUBDIRS:%=%/__test__)

crosstest:: $(TESTSUBDIRS:%=%/__crosstest__)

testclean:: $(TESTSUBDIRS:%=%/__testclean__)

.PHONY: check test testclean crosstest $(TESTSUBDIRS:%=%/__test__) $(TESTSUBDIRS:%=%/__crosstest__) $(TESTSUBDIRS:%=%/__testclean__) 

# Rules for auto documentation

$(DOCSUBDIRS:%=%/__man__): dummy
	@cd `dirname $@` && $(MAKE) man

$(DOCSUBDIRS:%=%/__doc_html__): dummy
	@cd `dirname $@` && $(MAKE) doc-html

$(DOCSUBDIRS:%=%/__doc_sgml__): dummy
	@cd `dirname $@` && $(MAKE) doc-sgml

man: $(DOCSUBDIRS:%=%/__man__)
doc-html: $(DOCSUBDIRS:%=%/__doc_html__)
doc-sgml: $(DOCSUBDIRS:%=%/__doc_sgml__)

.PHONY: man doc-html doc-sgml $(DOCSUBDIRS:%=%/__man__) $(DOCSUBDIRS:%=%/__doc_html__) $(DOCSUBDIRS:%=%/__doc_sgml__)

# Misc. rules

$(MC_SRCS:.mc=.mc.rc): $(WMC)

$(IDL_SRCS:.idl=.h): $(WIDL)

$(IDL_SRCS:.idl=_c.c): $(WIDL)
$(IDL_SRCS:.idl=_i.c): $(WIDL)
$(IDL_SRCS:.idl=_p.c): $(WIDL)
$(IDL_SRCS:.idl=_s.c): $(WIDL)

$(IDL_TLB_SRCS:.idl=.tlb): $(WIDL)

$(SUBDIRS): dummy
	@cd $@ && $(MAKE)

dummy:

.PHONY: dummy $(SUBDIRS)

# End of global rules

makedep$(EXEEXT) $(EXEEXT:%=makedep): makedep.o
	$(CC) $(CFLAGS) -o $@ makedep.o $(LDFLAGS)

make_ctests$(EXEEXT): make_ctests.o
	$(CC) $(CFLAGS) -o $@ make_ctests.o $(LDFLAGS)

fnt2bdf$(EXEEXT): fnt2bdf.o
	$(CC) $(CFLAGS) -o $@ fnt2bdf.o $(LIBPORT) $(LDFLAGS)

fnt2fon$(EXEEXT): fnt2fon.o
	$(CC) $(CFLAGS) -o $@ fnt2fon.o $(LIBPORT) $(LDFLAGS)

relpath$(EXEEXT): relpath.o
	$(CC) $(CFLAGS) -o $@ relpath.o $(LIBPORT) $(LDFLAGS)

sfnt2fnt$(EXEEXT): sfnt2fnt.o
	$(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(FREETYPELIBS)

bin2res$(EXEEXT): bin2res.o
	$(CC) $(CFLAGS) -o $@ bin2res.o $(LIBPORT) $(LDFLAGS)

wineprefixcreate: wineprefixcreate.in relpath$(EXEEXT)
	sed -e "s,@bintodlldir\@,`$(RELPATH) $(bindir) $(dlldir)`,g" -e "s,@bintodatadir\@,`$(RELPATH) $(bindir) $(datadir)/wine`,g" $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
	chmod +x wineprefixcreate

install install-lib:: wineprefixcreate $(INSTALLDIRS)
	$(INSTALL_SCRIPT) wineprefixcreate $(DESTDIR)$(bindir)/wineprefixcreate
	$(INSTALL_DATA) $(SRCDIR)/wine.inf $(DESTDIR)$(datadir)/wine/wine.inf
	$(INSTALL_DATA) $(SRCDIR)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop
	$(INSTALL_DATA) wineprefixcreate.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineprefixcreate.$(prog_manext)
	-$(UPDATE_DESKTOP_DATABASE)

install install-dev:: $(INSTALLSUBDIRS:%=%/__install__) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
	$(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(DESTDIR)$(bindir)/winemaker
	$(INSTALL_DATA) winemaker.man $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext)

uninstall::
	$(RM) $(DESTDIR)$(bindir)/winemaker $(DESTDIR)$(bindir)/wineprefixcreate $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext) $(DESTDIR)$(mandir)/man$(prog_manext)/wineprefixcreate.$(prog_manext) $(DESTDIR)$(datadir)/wine/wine.inf $(DESTDIR)$(datadir)/applications/wine.desktop
	-$(UPDATE_DESKTOP_DATABASE)

### Dependencies:

.INIT: Makefile
.BEGIN: Makefile
Makefile: dummy
	-$(MAKEDEP) -C$(SRCDIR) -S$(TOPSRCDIR) -T$(TOPOBJDIR) $(EXTRAINCL) $(DEPEND_SRCS)

$(ALL_OBJS): $(IDL_SRCS:.idl=.h)
$(LEX_SRCS:.l=.yy.o): $(LEX_SRCS:.l=.yy.c)
$(BISON_SRCS:.y=.tab.o): $(BISON_SRCS:.y=.tab.c)  # everything below this line is overwritten by make depend

Makefile: makedep$(EXEEXT)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-10-03 10:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-30 23:33 [gentoo-user] Gentoo's make - a problem? Michael [Plouj] Ploujnikov
2006-10-01  2:10 ` [gentoo-user] " Harm Geerts
2006-10-01 11:33   ` Michael [Plouj] Ploujnikov
2006-10-01 12:14     ` Michael [Plouj] Ploujnikov
2006-10-03 10:29       ` Michael [Plouj] Ploujnikov
  -- strict thread matches above, loose matches on Subject: below --
2006-10-01  0:15 [gentoo-user] " Michael [Plouj] Ploujnikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox