server: Check that the prefix type can support the client architecture.
[wine] / server / Makefile.in
1 DEFS      = -D__WINESRC__
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 MODULE    = none
7 EXTRALIBS = @LIBPOLL@
8
9 C_SRCS = \
10         async.c \
11         atom.c \
12         change.c \
13         class.c \
14         clipboard.c \
15         completion.c \
16         console.c \
17         debugger.c \
18         device.c \
19         directory.c \
20         event.c \
21         fd.c \
22         file.c \
23         handle.c \
24         hook.c \
25         mach.c \
26         mailslot.c \
27         main.c \
28         mapping.c \
29         mutex.c \
30         named_pipe.c \
31         object.c \
32         process.c \
33         procfs.c \
34         ptrace.c \
35         queue.c \
36         region.c \
37         registry.c \
38         request.c \
39         semaphore.c \
40         serial.c \
41         signal.c \
42         snapshot.c \
43         sock.c \
44         symlink.c \
45         thread.c \
46         timer.c \
47         token.c \
48         trace.c \
49         unicode.c \
50         user.c \
51         window.c \
52         winstation.c
53
54 PROGRAMS = wineserver wineserver-installed
55 MANPAGES = wineserver.man wineserver.de.man wineserver.fr.man
56
57 INSTALLDIRS = \
58         $(DESTDIR)$(bindir) \
59         $(DESTDIR)$(mandir)/man$(prog_manext) \
60         $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \
61         $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)
62
63 all: $(PROGRAMS) $(MANPAGES)
64
65 @MAKE_RULES@
66
67 wineserver: $(OBJS)
68         $(CC) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LIBS) $(LDRPATH_LOCAL)
69
70 wineserver-installed: $(OBJS)
71         $(CC) -o $@ $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LIBS) $(LDRPATH_INSTALL)
72
73 install install-lib:: wineserver-installed $(MANPAGES) $(INSTALLDIRS)
74         $(INSTALL_PROGRAM) wineserver-installed $(DESTDIR)$(bindir)/wineserver
75         $(INSTALL_DATA) wineserver.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineserver.$(prog_manext)
76         $(INSTALL_DATA) wineserver.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wineserver.$(prog_manext)
77         $(INSTALL_DATA) wineserver.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wineserver.$(prog_manext)
78
79 uninstall::
80         $(RM) $(DESTDIR)$(bindir)/wineserver $(DESTDIR)$(mandir)/man$(prog_manext)/wineserver.$(prog_manext)
81         $(RM) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/wineserver.$(prog_manext)
82         $(RM) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wineserver.$(prog_manext)