blob: f62bd1d0100c5266bc824a73c49078cdf94be954 [file] [log] [blame]
Michael Stefaniuc5664b8e2006-09-29 21:32:32 +02001DEFS = -D__WINESRC__
Alexandre Julliard642d3131998-07-12 19:29:36 +00002TOPSRCDIR = @top_srcdir@
3TOPOBJDIR = ..
4SRCDIR = @srcdir@
5VPATH = @srcdir@
Alexandre Julliard2fe57772000-01-25 01:40:27 +00006MODULE = none
Alexandre Julliard10892602006-08-15 11:41:59 +02007EXTRALIBS = @LIBPOLL@
Alexandre Julliard642d3131998-07-12 19:29:36 +00008
9C_SRCS = \
Alexandre Julliardb849d792000-02-13 13:56:13 +000010 atom.c \
Alexandre Julliard63cb0f81998-12-31 15:43:48 +000011 change.c \
Alexandre Julliardbfce1512003-12-10 04:08:06 +000012 class.c \
Ulrich Czekallab2df5f92003-06-23 23:02:02 +000013 clipboard.c \
Alexandre Julliardaa0ebd01998-12-30 12:06:45 +000014 console.c \
Vincent BĂ©ron1d9df9f2004-10-14 03:05:09 +000015 context_alpha.c \
Alexandre Julliard3e2517c2000-01-20 18:59:03 +000016 context_i386.c \
Marcus Meissner9fc17ee2002-08-17 01:19:06 +000017 context_powerpc.c \
Ulrich Weigandafd6a4b2000-06-04 01:48:05 +000018 context_sparc.c \
Alexandre Julliard5a12dd12005-09-16 18:59:23 +000019 context_x86_64.c \
Alexandre Julliarde712e071999-05-23 19:53:30 +000020 debugger.c \
Vitaliy Margolen3c6bdcc2005-11-29 17:21:05 +010021 directory.c \
Alexandre Julliardd30dfd21998-09-27 18:28:36 +000022 event.c \
Alexandre Julliard863637b2003-01-30 00:26:44 +000023 fd.c \
Alexandre Julliard338e7571998-12-27 15:28:54 +000024 file.c \
Alexandre Julliard43c190e1999-05-15 10:48:19 +000025 handle.c \
Alexandre Julliard02861352002-10-29 00:41:42 +000026 hook.c \
Mike McCormack2ab6a772005-03-30 19:02:15 +000027 mailslot.c \
Alexandre Julliard2fe57772000-01-25 01:40:27 +000028 main.c \
Alexandre Julliarda8b8d9c1999-01-01 16:59:27 +000029 mapping.c \
Alexandre Julliardd30dfd21998-09-27 18:28:36 +000030 mutex.c \
Mike McCormackde7c3002001-07-10 19:16:49 +000031 named_pipe.c \
Alexandre Julliard642d3131998-07-12 19:29:36 +000032 object.c \
33 process.c \
Alexandre Julliard578c1001999-11-14 21:23:21 +000034 ptrace.c \
Alexandre Julliardc5e433a2000-05-30 19:48:18 +000035 queue.c \
Alexandre Julliarde8d86b72004-06-23 20:44:58 +000036 region.c \
Alexandre Julliardd7e85d61999-11-23 19:39:11 +000037 registry.c \
Alexandre Julliard767e6f61998-08-09 12:47:43 +000038 request.c \
Alexandre Julliardd30dfd21998-09-27 18:28:36 +000039 semaphore.c \
Mike McCormack44b5bf52000-09-07 18:39:51 +000040 serial.c \
Alexandre Julliard9037f4b2003-03-26 01:32:18 +000041 signal.c \
Alexandre Julliardd7e85d61999-11-23 19:39:11 +000042 snapshot.c \
Ove Kaaven019211f1999-10-13 16:05:37 +000043 sock.c \
Vitaliy Margolen80444df2005-11-30 19:22:57 +010044 symlink.c \
Alexandre Julliard767e6f61998-08-09 12:47:43 +000045 thread.c \
Alexandre Julliardad47a301999-11-29 01:58:35 +000046 timer.c \
Mike McCormack36cd6f52003-07-24 00:07:00 +000047 token.c \
Alexandre Julliardd16319c1999-11-25 21:30:24 +000048 trace.c \
Alexandre Julliard1a66d222001-08-28 18:44:52 +000049 unicode.c \
50 user.c \
Alexandre Julliard1bf96e02005-06-08 18:44:50 +000051 window.c \
52 winstation.c
Alexandre Julliard642d3131998-07-12 19:29:36 +000053
Alexandre Julliard642d3131998-07-12 19:29:36 +000054PROGRAMS = wineserver
Alexandre Julliard79b387d2005-09-27 10:56:47 +000055MANPAGES = wineserver.man
Alexandre Julliard642d3131998-07-12 19:29:36 +000056
Alexandre Julliard2886e9b2006-08-07 17:48:18 +020057INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
58
Alexandre Julliard79b387d2005-09-27 10:56:47 +000059all: $(PROGRAMS) $(MANPAGES)
Alexandre Julliard642d3131998-07-12 19:29:36 +000060
61@MAKE_RULES@
62
Alexandre Julliard2fe57772000-01-25 01:40:27 +000063wineserver: $(OBJS)
Alexandre Julliard13a93b42006-08-25 17:23:44 +020064 $(CC) -o $@ $(OBJS) $(LIBWINE_LDFLAGS) $(LIBPORT) $(LDFLAGS) $(LIBS)
Alexandre Julliard642d3131998-07-12 19:29:36 +000065
Alexandre Julliard2886e9b2006-08-07 17:48:18 +020066install:: $(PROGRAMS) $(MANPAGES) $(INSTALLDIRS)
Mike Frysinger53928442006-02-14 13:51:38 +010067 $(INSTALL_PROGRAM) wineserver $(DESTDIR)$(bindir)/wineserver
68 $(INSTALL_DATA) wineserver.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineserver.$(prog_manext)
Alexandre Julliard2f158c22000-06-14 21:45:38 +000069
70uninstall::
Mike Frysinger53928442006-02-14 13:51:38 +010071 $(RM) $(DESTDIR)$(bindir)/wineserver $(DESTDIR)$(mandir)/man$(prog_manext)/wineserver.$(prog_manext)
Alexandre Julliard79b387d2005-09-27 10:56:47 +000072
Alexandre Julliard32ab8952006-09-14 09:38:16 +020073@DEPENDENCIES@ # everything below this line is overwritten by make depend