widl: Pass the right size to MIDL_memset in generated proxy code.
[wine/multimedia.git] / loader / Makefile.in
blobabf4a5f561e724534b09b96a36e7e8f053604655
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 MODULE = wine
7 C_SRCS = \
8 glibc.c \
9 kthread.c \
10 main.c \
11 preloader.c \
12 pthread.c
14 KTHREAD_OBJS = kthread.o main.o
15 PTHREAD_OBJS = pthread.o main.o
17 MAIN_BINARY = @MAIN_BINARY@
18 EXTRA_BINARIES = @EXTRA_BINARIES@
19 WINE_BINARIES = $(MAIN_BINARY) $(EXTRA_BINARIES)
21 MANPAGES = wine.man
23 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
25 all: $(WINE_BINARIES) $(MODULE) $(MANPAGES)
27 @MAKE_RULES@
29 LIBPTHREAD = @LIBPTHREAD@
30 LDEXECFLAGS = @LDEXECFLAGS@
31 LDRPATH = @LDEXERPATH@
33 wine-glibc: glibc.o Makefile.in
34 $(CC) -o $@ glibc.o $(LDRPATH) $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS)
36 wine-preloader: preloader.o Makefile.in
37 $(CC) -o $@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c000000 preloader.o $(LIBPORT) $(LDFLAGS)
39 wine-kthread: $(KTHREAD_OBJS) Makefile.in
40 $(CC) -o $@ $(LDEXECFLAGS) $(LDRPATH) $(KTHREAD_OBJS) $(LIBWINE) $(LIBPORT) $(EXTRALIBS) $(LDFLAGS)
42 wine-pthread: $(PTHREAD_OBJS) Makefile.in
43 $(CC) -o $@ $(LDEXECFLAGS) $(LDRPATH) $(PTHREAD_OBJS) $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS)
45 $(MODULE): $(MAIN_BINARY)
46 $(RM) $(MODULE) && $(LN_S) $(MAIN_BINARY) $(MODULE)
48 install:: $(WINE_BINARIES) $(MANPAGES) $(INSTALLDIRS)
49 for f in $(WINE_BINARIES); do \
50 if [ "$(MAIN_BINARY)" = "$$f" ]; \
51 then $(INSTALL_PROGRAM) $$f $(DESTDIR)$(bindir)/$(MODULE); \
52 else $(INSTALL_PROGRAM) $$f $(DESTDIR)$(bindir)/$$f; \
53 fi; \
54 done
55 $(INSTALL_DATA) wine.man $(DESTDIR)$(mandir)/man$(prog_manext)/wine.$(prog_manext)
57 uninstall::
58 -cd $(DESTDIR)$(bindir) && $(RM) $(WINE_BINARIES) $(MODULE)
59 $(RM) $(DESTDIR)$(mandir)/man$(prog_manext)/wine.$(prog_manext)
61 clean::
62 $(RM) $(WINE_BINARIES) $(MODULE)
64 ### Dependencies: