oleaut32/tests: Add test for tlibattr->lcid.
[wine/multimedia.git] / loader / Makefile.in
blob8f4d2a262c59849fb960ea156531b63bc20102f4
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
6 C_SRCS = \
7 main.c \
8 preloader.c
10 MAIN_BINARY = @MAIN_BINARY@
11 EXTRA_BINARIES = @EXTRA_BINARIES@
13 PROGRAMS = \
14 wine \
15 wine-installed \
16 wine-preloader
18 MANPAGES = \
19 wine.man \
20 wine.de.man \
21 wine.fr.man
23 INSTALLDIRS = \
24 $(DESTDIR)$(bindir) \
25 $(DESTDIR)$(mandir)/man$(prog_manext) \
26 $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \
27 $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)
29 all: wine wine-installed $(EXTRA_BINARIES) $(MANPAGES)
31 @MAKE_RULES@
33 LIBPTHREAD = @LIBPTHREAD@
34 LDEXECFLAGS = @LDEXECFLAGS@
36 wine-preloader: preloader.o Makefile.in
37 $(CC) -o $@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c000000 preloader.o $(LIBPORT) $(LDFLAGS)
39 wine: main.o Makefile.in
40 $(CC) -o $@ $(LDEXECFLAGS) main.o $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS) $(LDRPATH_LOCAL)
42 wine-installed: main.o Makefile.in
43 $(CC) -o $@ $(LDEXECFLAGS) main.o $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS) $(LDRPATH_INSTALL)
45 $(EXTRA_BINARIES:%=__install__%): $(EXTRA_BINARIES) $(DESTDIR)$(bindir) dummy
46 f=`expr $@ : '__install__\(.*\)'` && $(INSTALL_PROGRAM) $$f $(DESTDIR)$(bindir)/$$f
48 .PHONY: install-man-pages $(EXTRA_BINARIES:%=__install__%)
50 install install-lib:: wine-installed $(DESTDIR)$(bindir) $(EXTRA_BINARIES:%=__install__%)
51 $(INSTALL_PROGRAM) wine-installed $(DESTDIR)$(bindir)/$(MAIN_BINARY)
53 @WOW64_DISABLE@ install install-lib:: install-man-pages
55 install-man-pages: $(MANPAGES) $(INSTALLDIRS) dummy
56 $(INSTALL_DATA) wine.man $(DESTDIR)$(mandir)/man$(prog_manext)/wine.$(prog_manext)
57 $(INSTALL_DATA) wine.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
58 $(INSTALL_DATA) wine.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
60 uninstall::
61 -cd $(DESTDIR)$(bindir) && $(RM) $(MAIN_BINARY) $(EXTRA_BINARIES)
62 $(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/wine.$(prog_manext)
63 $(RM) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
64 $(RM) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
66 @DEPENDENCIES@ # everything below this line is overwritten by make depend