Added -res option to specify resources on winebuild command-line.
[wine] / dlls / x11drv / Makefile.in
1 EXTRADEFS = -DBINDIR="\"$(bindir)\""
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 MODULE    = x11drv.dll
7 IMPORTS   = user32 gdi32 advapi32 kernel32 ntdll
8 EXTRALIBS = $(LIBTSX11) $(X_LIBS) $(XLIB)
9 LDIMPORTS = user32.dll gdi32.dll kernel32.dll
10
11 C_SRCS = \
12         desktop.c \
13         clipboard.c \
14         dga2.c \
15         event.c \
16         keyboard.c \
17         mouse.c \
18         scroll.c \
19         window.c \
20         winpos.c \
21         x11ddraw.c \
22         x11drv_main.c \
23         xrender.c \
24         xvidmode.c
25
26 PROGRAMS = wineclipsrv
27
28 EXTRA_OBJS = \
29         $(TOPOBJDIR)/graphics/x11drv/x11drv.o
30
31 SUBDIRS = \
32         $(TOPOBJDIR)/graphics/x11drv
33
34 @MAKE_DLL_RULES@
35
36 all: $(PROGRAMS)
37
38 wineclipsrv: wineclipsrv.c
39         $(CC) $(ALLCFLAGS) -o wineclipsrv $(SRCDIR)/wineclipsrv.c $(X_LIBS) $(XLIB) $(LIBS)
40
41 $(EXTRA_OBJS): dummy
42         @cd `dirname $@` && $(MAKE) `basename $@`
43
44 install:: $(PROGRAMS) install_libdir
45         $(MKINSTALLDIRS) $(bindir)
46         $(INSTALL_PROGRAM) wineclipsrv $(bindir)/wineclipsrv
47
48 uninstall:: uninstall_libdir
49         $(RM) $(bindir)/wineclipsrv
50
51 ### Dependencies: