Makefile.in 1.3 KB
Newer Older
1
DEFS      = -D__WINESRC__
Alexandre Julliard's avatar
Alexandre Julliard committed
2 3 4 5
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR    = @srcdir@
VPATH     = @srcdir@
6
MODULE    = none
Alexandre Julliard's avatar
Alexandre Julliard committed
7 8

C_SRCS = \
9
	atom.c \
10
	change.c \
11
	class.c \
12
	clipboard.c \
13
	console.c \
14
	context_alpha.c \
15
	context_i386.c \
16
	context_powerpc.c \
17
	context_sparc.c \
18
	context_x86_64.c \
19
	debugger.c \
20
	directory.c \
Alexandre Julliard's avatar
Alexandre Julliard committed
21
	event.c \
22
	fd.c \
23
	file.c \
24
	handle.c \
25
	hook.c \
Mike McCormack's avatar
Mike McCormack committed
26
	mailslot.c \
27
	main.c \
28
	mapping.c \
Alexandre Julliard's avatar
Alexandre Julliard committed
29
	mutex.c \
30
	named_pipe.c \
Alexandre Julliard's avatar
Alexandre Julliard committed
31 32
	object.c \
	process.c \
33
	ptrace.c \
34
	queue.c \
35
	region.c \
36
	registry.c \
Alexandre Julliard's avatar
Alexandre Julliard committed
37
	request.c \
Alexandre Julliard's avatar
Alexandre Julliard committed
38
	semaphore.c \
39
	serial.c \
40
	signal.c \
41
	snapshot.c \
42
	sock.c \
43
	symlink.c \
Alexandre Julliard's avatar
Alexandre Julliard committed
44
	thread.c \
45
	timer.c \
46
	token.c \
47
	trace.c \
48 49
	unicode.c \
	user.c \
50 51
	window.c \
	winstation.c
Alexandre Julliard's avatar
Alexandre Julliard committed
52 53

PROGRAMS = wineserver
54
MANPAGES = wineserver.man
Alexandre Julliard's avatar
Alexandre Julliard committed
55

56
all: $(PROGRAMS) $(MANPAGES)
Alexandre Julliard's avatar
Alexandre Julliard committed
57 58 59

@MAKE_RULES@

60 61
LDEXERPATH = @LDEXERPATH@

62
wineserver: $(OBJS)
63
	$(CC) -o $@ $(LDEXERPATH) $(OBJS) $(LIBWINE) $(LIBUNICODE) $(LIBPORT) $(LDFLAGS) $(LIBS)
Alexandre Julliard's avatar
Alexandre Julliard committed
64

65
install:: $(PROGRAMS) $(MANPAGES)
66 67 68
	$(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
	$(INSTALL_PROGRAM) wineserver $(DESTDIR)$(bindir)/wineserver
	$(INSTALL_DATA) wineserver.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineserver.$(prog_manext)
69 70

uninstall::
71
	$(RM) $(DESTDIR)$(bindir)/wineserver $(DESTDIR)$(mandir)/man$(prog_manext)/wineserver.$(prog_manext)
72

Alexandre Julliard's avatar
Alexandre Julliard committed
73
### Dependencies: