server: Make struct async into a real object, to keep it around while the APC is...
[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         console.c \
16         context_alpha.c \
17         context_i386.c \
18         context_powerpc.c \
19         context_sparc.c \
20         context_x86_64.c \
21         debugger.c \
22         directory.c \
23         event.c \
24         fd.c \
25         file.c \
26         handle.c \
27         hook.c \
28         mach.c \
29         mailslot.c \
30         main.c \
31         mapping.c \
32         mutex.c \
33         named_pipe.c \
34         object.c \
35         process.c \
36         procfs.c \
37         ptrace.c \
38         queue.c \
39         region.c \
40         registry.c \
41         request.c \
42         semaphore.c \
43         serial.c \
44         signal.c \
45         snapshot.c \
46         sock.c \
47         symlink.c \
48         thread.c \
49         timer.c \
50         token.c \
51         trace.c \
52         unicode.c \
53         user.c \
54         window.c \
55         winstation.c
56
57 PROGRAMS = wineserver
58 MANPAGES = wineserver.man
59
60 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
61
62 all: $(PROGRAMS) $(MANPAGES)
63
64 @MAKE_RULES@
65
66 wineserver: $(OBJS)
67         $(CC) -o $@ $(OBJS) $(LIBWINE_LDFLAGS) $(LIBPORT) $(LDFLAGS) $(LIBS)
68
69 install:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS)
70         $(INSTALL_PROGRAM) wineserver $(DESTDIR)$(bindir)/wineserver
71         $(INSTALL_DATA) wineserver.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineserver.$(prog_manext)
72
73 uninstall::
74         $(RM) $(DESTDIR)$(bindir)/wineserver $(DESTDIR)$(mandir)/man$(prog_manext)/wineserver.$(prog_manext)
75
76 @DEPENDENCIES@  # everything below this line is overwritten by make depend