Build tsx11 layer as a separate shared library.
[wine/multimedia.git] / dlls / x11drv / Makefile.in
blob3aff7283d4b634cdadf4563d40e726a70cfb9009
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
9 C_SRCS = \
10 x11drv_main.c
12 PROGRAMS = \
13 $(TOPOBJDIR)/windows/x11drv/wineclipsrv
15 EXTRA_OBJS = \
16 $(TOPOBJDIR)/graphics/x11drv/x11drv.o \
17 $(TOPOBJDIR)/windows/x11drv/x11drv.o
19 SUBDIRS = \
20 $(TOPOBJDIR)/graphics/x11drv \
21 $(TOPOBJDIR)/windows/x11drv
23 @MAKE_DLL_RULES@
25 all: $(PROGRAMS)
27 $(EXTRA_OBJS) $(PROGRAMS): dummy
28 @cd `dirname $@` && $(MAKE) `basename $@`
30 install:: $(PROGRAMS)
31 [ -d $(bindir) ] || $(MKDIR) $(bindir)
32 $(INSTALL_PROGRAM) $(TOPOBJDIR)/windows/x11drv/wineclipsrv $(bindir)/wineclipsrv
34 uninstall::
35 cd $(bindir) && $(RM) wineclipsrv
37 ### Dependencies: