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