summaryrefslogtreecommitdiff
path: root/Source/DirectFB/systems/x11/Makefile.am
blob: 23c0b882b0f853cf60604ec43e8f739ef3c9fcb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Makefile.am for DirectFB/systems/x11

INCLUDES = \
	-I$(top_srcdir)/include		\
	-I$(top_builddir)/include	\
	-I$(top_builddir)/lib		\
	-I$(top_srcdir)/lib		\
	-I$(top_srcdir)/src		\
	-I$(top_srcdir)/gfxdrivers	\
	$(X11_CFLAGS)


systemsdir = $(MODULEDIR)/systems

if BUILD_STATIC
systems_DATA = libdirectfb_x11.o
endif

systems_LTLIBRARIES = libdirectfb_x11.la

libdirectfb_x11_la_LDFLAGS = \
	$(X11_LIBS)	\
	-avoid-version	\
	-module

if GFX_GLX
libdirectfb_x11_la_LDFLAGS += -lGL
endif

libdirectfb_x11_la_SOURCES = \
	primary.c		\
	primary.h		\
	surfacemanager.c	\
	surfacemanager.h	\
	vpsmem_surface_pool.c	\
	vpsmem_surface_pool.h	\
	x11.c			\
	x11.h			\
	x11image.c		\
	x11image.h		\
	x11input.c		\
	x11_surface_pool.c	\
	x11_surface_pool.h	\
	x11types.h		\
	xwindow.h		\
	xwindow.c

if GFX_GLX
libdirectfb_x11_la_SOURCES += \
	glx_surface_pool.c	\
	glx_surface_pool.h	\
	x11_surface_pool_bridge.c	\
	x11_surface_pool_bridge.h
endif

libdirectfb_x11_la_LIBADD = \
	$(top_builddir)/lib/direct/libdirect.la \
	$(top_builddir)/lib/fusion/libfusion.la \
	$(top_builddir)/src/libdirectfb.la


include $(top_srcdir)/rules/libobject.make