2010-10-12 17:24:20 -04:00
|
|
|
lib_LTLIBRARIES = libwayland-server.la libwayland-client.la
|
|
|
|
|
noinst_LTLIBRARIES = libwayland-util.la
|
|
|
|
|
|
|
|
|
|
include_HEADERS = \
|
|
|
|
|
wayland-util.h \
|
|
|
|
|
wayland-server-protocol.h \
|
|
|
|
|
wayland-server.h \
|
|
|
|
|
wayland-client-protocol.h \
|
2011-02-04 11:22:35 +01:00
|
|
|
wayland-client.h \
|
|
|
|
|
wayland-egl.h
|
2010-10-12 17:24:20 -04:00
|
|
|
|
|
|
|
|
libwayland_util_la_SOURCES = \
|
|
|
|
|
connection.c \
|
|
|
|
|
wayland-util.c \
|
|
|
|
|
wayland-util.h \
|
2011-12-27 13:53:59 -05:00
|
|
|
wayland-private.h
|
2010-10-12 17:24:20 -04:00
|
|
|
|
2011-07-18 13:35:18 -04:00
|
|
|
libwayland_server_la_LIBADD = $(FFI_LIBS) libwayland-util.la -lrt
|
2010-10-12 17:24:20 -04:00
|
|
|
libwayland_server_la_SOURCES = \
|
|
|
|
|
wayland-protocol.c \
|
|
|
|
|
wayland-server.c \
|
2011-03-08 11:32:24 +01:00
|
|
|
wayland-shm.c \
|
2012-01-04 21:40:21 -05:00
|
|
|
data-device.c \
|
2010-10-12 17:24:20 -04:00
|
|
|
event-loop.c
|
|
|
|
|
|
2011-07-18 13:35:18 -04:00
|
|
|
libwayland_client_la_LIBADD = $(FFI_LIBS) libwayland-util.la -lrt
|
2010-10-12 17:24:20 -04:00
|
|
|
libwayland_client_la_SOURCES = \
|
|
|
|
|
wayland-protocol.c \
|
|
|
|
|
wayland-client.c
|
|
|
|
|
|
2011-01-01 10:55:45 -05:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
|
pkgconfig_DATA = wayland-client.pc wayland-server.pc
|
|
|
|
|
|
2011-01-24 16:27:27 +00:00
|
|
|
AM_CPPFLAGS = $(FFI_CFLAGS)
|
2010-12-01 09:46:10 -05:00
|
|
|
AM_CFLAGS = $(GCC_CFLAGS)
|
2010-10-12 17:24:20 -04:00
|
|
|
|
2011-02-14 22:17:41 -05:00
|
|
|
protocoldir = $(top_srcdir)/protocol
|
2011-05-06 06:13:36 +00:00
|
|
|
|
|
|
|
|
if ENABLE_SCANNER
|
2011-08-12 15:09:00 -04:00
|
|
|
wayland_scanner = $(top_builddir)/src/wayland-scanner
|
2011-05-06 06:13:36 +00:00
|
|
|
else
|
|
|
|
|
wayland_scanner = wayland-scanner
|
|
|
|
|
endif
|
|
|
|
|
|
2011-08-12 15:09:00 -04:00
|
|
|
include $(top_srcdir)/src/scanner.mk
|
2010-10-12 17:24:20 -04:00
|
|
|
|
2011-05-06 06:13:36 +00:00
|
|
|
if ENABLE_SCANNER
|
2011-02-14 22:17:41 -05:00
|
|
|
bin_PROGRAMS = wayland-scanner
|
2010-10-12 17:24:20 -04:00
|
|
|
|
2011-02-14 22:17:41 -05:00
|
|
|
wayland_scanner_SOURCES = \
|
2010-10-12 17:24:20 -04:00
|
|
|
scanner.c
|
|
|
|
|
|
2011-02-14 22:17:41 -05:00
|
|
|
wayland_scanner_LDADD = $(EXPAT_LIBS) libwayland-util.la
|
2010-10-12 17:24:20 -04:00
|
|
|
|
2011-02-14 22:17:41 -05:00
|
|
|
$(BUILT_SOURCES) : wayland-scanner
|
2011-05-06 06:13:36 +00:00
|
|
|
endif
|
2010-10-12 17:24:20 -04:00
|
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
|
|
|
|
wayland-server-protocol.h \
|
|
|
|
|
wayland-client-protocol.h \
|
|
|
|
|
wayland-protocol.c
|
|
|
|
|
|
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|