59 lines
1.4 KiB
Makefile
59 lines
1.4 KiB
Makefile
EXTRADEFS = -DBINDIR="\"$(bindir)\""
|
|
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = x11drv.dll
|
|
IMPORTS = user32 gdi32 advapi32 kernel32
|
|
EXTRALIBS = $(LIBTSX11) $(X_LIBS) $(XLIB)
|
|
LDIMPORTS = user32.dll gdi32.dll kernel32.dll
|
|
|
|
C_SRCS = \
|
|
$(TOPOBJDIR)/graphics/x11drv/bitblt.c \
|
|
$(TOPOBJDIR)/graphics/x11drv/bitmap.c \
|
|
$(TOPOBJDIR)/graphics/x11drv/brush.c \
|
|
$(TOPOBJDIR)/graphics/x11drv/clipping.c \
|
|
$(TOPOBJDIR)/graphics/x11drv/codepage.c \
|
|
$(TOPOBJDIR)/graphics/x11drv/dib.c \
|
|
$(TOPOBJDIR)/graphics/x11drv/graphics.c \
|
|
$(TOPOBJDIR)/graphics/x11drv/init.c \
|
|
$(TOPOBJDIR)/graphics/x11drv/opengl.c \
|
|
$(TOPOBJDIR)/graphics/x11drv/palette.c \
|
|
$(TOPOBJDIR)/graphics/x11drv/pen.c \
|
|
$(TOPOBJDIR)/graphics/x11drv/text.c \
|
|
$(TOPOBJDIR)/graphics/x11drv/xfont.c \
|
|
desktop.c \
|
|
clipboard.c \
|
|
dga2.c \
|
|
event.c \
|
|
keyboard.c \
|
|
mouse.c \
|
|
scroll.c \
|
|
window.c \
|
|
winpos.c \
|
|
x11ddraw.c \
|
|
x11drv_main.c \
|
|
xrender.c \
|
|
xvidmode.c
|
|
|
|
PROGRAMS = wineclipsrv
|
|
|
|
EXTRASUBDIRS = \
|
|
$(TOPOBJDIR)/graphics/x11drv
|
|
|
|
@MAKE_DLL_RULES@
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
wineclipsrv: wineclipsrv.c
|
|
$(CC) $(ALLCFLAGS) -o wineclipsrv $(SRCDIR)/wineclipsrv.c $(X_LIBS) $(XLIB) $(LIBS)
|
|
|
|
install:: $(PROGRAMS) install_libdir
|
|
$(MKINSTALLDIRS) $(bindir)
|
|
$(INSTALL_PROGRAM) wineclipsrv $(bindir)/wineclipsrv
|
|
|
|
uninstall:: uninstall_libdir
|
|
$(RM) $(bindir)/wineclipsrv
|
|
|
|
### Dependencies:
|