46 lines
854 B
Makefile
46 lines
854 B
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = x11drv
|
|
EXTRALIBS = $(LIBTSX11) $(X_LIBS) $(XLIB)
|
|
IMPORTS = user32 gdi32 kernel32
|
|
|
|
C_SRCS = \
|
|
desktop.c \
|
|
dga2.c \
|
|
mouse.c \
|
|
scroll.c \
|
|
window.c \
|
|
winpos.c \
|
|
x11ddraw.c \
|
|
x11drv_main.c \
|
|
xvidmode.c
|
|
|
|
PROGRAMS = \
|
|
$(TOPOBJDIR)/windows/x11drv/wineclipsrv
|
|
|
|
EXTRA_OBJS = \
|
|
$(TOPOBJDIR)/graphics/x11drv/x11drv.o \
|
|
$(TOPOBJDIR)/windows/x11drv/x11drv.o
|
|
|
|
SUBDIRS = \
|
|
$(TOPOBJDIR)/graphics/x11drv \
|
|
$(TOPOBJDIR)/windows/x11drv
|
|
|
|
@MAKE_DLL_RULES@
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
$(EXTRA_OBJS) $(PROGRAMS): dummy
|
|
@cd `dirname $@` && $(MAKE) `basename $@`
|
|
|
|
install:: $(PROGRAMS)
|
|
[ -d $(bindir) ] || $(MKDIR) $(bindir)
|
|
$(INSTALL_PROGRAM) $(TOPOBJDIR)/windows/x11drv/wineclipsrv $(bindir)/wineclipsrv
|
|
|
|
uninstall::
|
|
cd $(bindir) && $(RM) wineclipsrv
|
|
|
|
### Dependencies:
|