Implemented RpcIsProtSeqValid.
[wine.git] / loader / Makefile.in
blob356da1792276ea4e99aa26ba5bfbc6f21ba6e2a1
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 pthread.c
13 KTHREAD_OBJS = kthread.o main.o
14 PTHREAD_OBJS = pthread.o main.o
16 WINE_BINARIES = @WINE_BINARIES@
17 MAIN_BINARY = @MAIN_BINARY@
19 all: $(WINE_BINARIES) $(MODULE)
21 @MAKE_RULES@
23 LIBPTHREAD = @LIBPTHREAD@
24 LDEXECFLAGS = @LDEXECFLAGS@
26 wine-glibc: glibc.o Makefile.in
27 $(CC) -o $@ $(LDEXECFLAGS) glibc.o $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS)
29 wine-kthread: $(KTHREAD_OBJS) Makefile.in
30 $(CC) -o $@ $(LDEXECFLAGS) $(KTHREAD_OBJS) $(LIBWINE) $(LIBPORT) $(EXTRALIBS) $(LDFLAGS)
32 wine-pthread: $(PTHREAD_OBJS) Makefile.in
33 $(CC) -o $@ $(LDEXECFLAGS) $(PTHREAD_OBJS) $(LIBWINE) $(LIBPORT) $(LIBPTHREAD) $(EXTRALIBS) $(LDFLAGS)
35 $(MODULE): $(MAIN_BINARY)
36 $(RM) $(MODULE) && $(LN_S) $(MAIN_BINARY) $(MODULE)
38 install:: $(WINE_BINARIES)
39 $(MKINSTALLDIRS) $(bindir)
40 for f in $(WINE_BINARIES); do \
41 if [ "$(MAIN_BINARY)" = "$$f" ]; \
42 then $(INSTALL_PROGRAM) $$f $(bindir)/$(MODULE); \
43 else $(INSTALL_PROGRAM) $$f $(bindir)/$$f; \
44 fi; \
45 done
47 uninstall::
48 $(RM) $(WINE_BINARIES:%=$(bindir)/%) $(bindir)/$(MODULE)
50 clean::
51 $(RM) $(WINE_BINARIES) $(MODULE)
53 ### Dependencies: