Fixed some issues found by winapi_check.
[wine] / dlls / x11drv / Makefile.in
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ../..
3 SRCDIR    = @srcdir@
4 VPATH     = @srcdir@
5 MODULE    = x11drv
6 EXTRALIBS = $(LIBTSX11) $(X_LIBS) $(XLIB)
7 IMPORTS   = user32 gdi32 kernel32
8
9 C_SRCS = \
10         desktop.c \
11         dga2.c \
12         mouse.c \
13         scroll.c \
14         window.c \
15         winpos.c \
16         x11ddraw.c \
17         x11drv_main.c \
18         xrender.c \
19         xvidmode.c
20
21 PROGRAMS = \
22         $(TOPOBJDIR)/windows/x11drv/wineclipsrv
23
24 EXTRA_OBJS = \
25         $(TOPOBJDIR)/graphics/x11drv/x11drv.o \
26         $(TOPOBJDIR)/windows/x11drv/x11drv.o
27
28 SUBDIRS = \
29         $(TOPOBJDIR)/graphics/x11drv \
30         $(TOPOBJDIR)/windows/x11drv
31
32 @MAKE_DLL_RULES@
33
34 all: $(PROGRAMS)
35
36 $(EXTRA_OBJS) $(PROGRAMS): dummy
37         @cd `dirname $@` && $(MAKE) `basename $@`
38
39 install:: $(PROGRAMS)
40         [ -d $(bindir) ] || $(MKDIR) $(bindir)
41         $(INSTALL_PROGRAM) $(TOPOBJDIR)/windows/x11drv/wineclipsrv $(bindir)/wineclipsrv
42
43 uninstall::
44         cd $(bindir) && $(RM) wineclipsrv
45
46 ### Dependencies: