fnt2bdf: Remove spaces before '\n's.
[wine/multimedia.git] / loader / Makefile.in
blob23bf99e8c9c7ff74c4d5ac8794625497a724fbcb
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 MODULE = wine
7 C_SRCS = \
8 freebsd.c \
9 glibc.c \
10 main.c \
11 preloader.c \
12 pthread.c
14 PTHREAD_OBJS = pthread.o main.o
16 MAIN_BINARY = @MAIN_BINARY@
17 EXTRA_BINARIES = @EXTRA_BINARIES@
18 WINE_BINARIES = $(MAIN_BINARY) $(EXTRA_BINARIES)
20 PROGRAMS = \
21 wine \
22 wine-freebsd \
23 wine-freebsd-installed \
24 wine-glibc \
25 wine-glibc-installed \
26 wine-preloader \
27 wine-preloader-installed \
28 wine-pthread \
29 wine-pthread-installed
31 MANPAGES = \
32 wine.man \
33 wine.de.man \
34 wine.fr.man
36 INSTALLDIRS = \
37 $(DESTDIR)$(bindir) \
38 $(DESTDIR)$(mandir)/man$(prog_manext) \
39 $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \
40 $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)
42 all: $(WINE_BINARIES) $(WINE_BINARIES:%=%-installed) $(MODULE) $(MANPAGES)
44 @MAKE_RULES@
46 LIBPTHREAD = @LIBPTHREAD@
47 LDEXECFLAGS = @LDEXECFLAGS@
49 wine-freebsd: freebsd.o Makefile.in
50 $(CC) -o $@ freebsd.o $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS) $(LDRPATH_LOCAL)
52 wine-freebsd-installed: freebsd.o Makefile.in
53 $(CC) -o $@ freebsd.o $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS) $(LDRPATH_INSTALL)
55 wine-glibc: glibc.o Makefile.in
56 $(CC) -o $@ glibc.o $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS) $(LDRPATH_LOCAL)
58 wine-glibc-installed: glibc.o Makefile.in
59 $(CC) -o $@ glibc.o $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS) $(LDRPATH_INSTALL)
61 wine-preloader wine-preloader-installed: preloader.o Makefile.in
62 $(CC) -o $@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c000000 preloader.o $(LIBPORT) $(LDFLAGS)
64 wine-pthread: $(PTHREAD_OBJS) Makefile.in
65 $(CC) -o $@ $(LDEXECFLAGS) $(PTHREAD_OBJS) $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS) $(LDRPATH_LOCAL)
67 wine-pthread-installed: $(PTHREAD_OBJS) Makefile.in
68 $(CC) -o $@ $(LDEXECFLAGS) $(PTHREAD_OBJS) $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS) $(LDRPATH_INSTALL)
70 $(MODULE): $(MAIN_BINARY)
71 $(RM) $(MODULE) && $(LN_S) $(MAIN_BINARY) $(MODULE)
73 install install-lib:: $(WINE_BINARIES:%=%-installed) $(MANPAGES) $(INSTALLDIRS)
74 for f in $(WINE_BINARIES); do \
75 if [ "$(MAIN_BINARY)" = "$$f" ]; \
76 then $(INSTALL_PROGRAM) $$f-installed $(DESTDIR)$(bindir)/$(MODULE); \
77 else $(INSTALL_PROGRAM) $$f-installed $(DESTDIR)$(bindir)/$$f; \
78 fi; \
79 done
80 $(INSTALL_DATA) wine.man $(DESTDIR)$(mandir)/man$(prog_manext)/wine.$(prog_manext)
81 $(INSTALL_DATA) wine.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
82 $(INSTALL_DATA) wine.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
84 uninstall::
85 -cd $(DESTDIR)$(bindir) && $(RM) $(WINE_BINARIES) $(MODULE)
86 $(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/wine.$(prog_manext)
87 $(RM) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wine.$(prog_manext)
88 $(RM) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wine.$(prog_manext)
90 @DEPENDENCIES@ # everything below this line is overwritten by make depend