weston/clients/Makefile.am

94 lines
1.9 KiB
Makefile
Raw Normal View History

noinst_PROGRAMS = $(clients_programs) \
$(poppler_programs) \
$(simple_clients_programs)
if BUILD_SIMPLE_CLIENTS
simple_clients_programs = simple-egl simple-shm
simple_egl_SOURCES = simple-egl.c
simple_egl_LDADD = $(SIMPLE_CLIENT_LIBS) -lm
simple_shm_SOURCES = simple-shm.c
simple_shm_LDADD = $(SIMPLE_CLIENT_LIBS)
endif
if BUILD_CLIENTS
clients_programs = \
gears \
flower \
screenshot \
terminal \
image \
dnd \
smoke \
2011-01-15 02:40:17 +03:00
resizor \
eventdemo \
desktop-shell
noinst_LIBRARIES = libtoytoolkit.a
2010-10-13 01:24:20 +04:00
AM_CFLAGS = $(GCC_CFLAGS)
AM_CPPFLAGS = \
-DDATADIR='"$(datadir)"' \
$(CLIENT_CFLAGS)
2010-10-13 01:24:20 +04:00
libtoytoolkit_a_SOURCES = \
2010-10-13 01:24:20 +04:00
window.c \
window.h \
cairo-util.c \
cairo-util.h
toolkit_libs = \
libtoytoolkit.a \
$(CLIENT_LIBS) -lrt -lm
2010-10-13 01:24:20 +04:00
gears_SOURCES = gears.c
gears_LDADD = $(toolkit_libs)
flower_SOURCES = flower.c
flower_LDADD = $(toolkit_libs)
2010-10-13 01:24:20 +04:00
screenshot_SOURCES = screenshot.c screenshooter-protocol.c
screenshot_LDADD = $(toolkit_libs)
2010-10-13 01:24:20 +04:00
terminal_SOURCES = terminal.c
terminal_LDADD = $(toolkit_libs) -lutil
2010-10-13 01:24:20 +04:00
image_SOURCES = image.c
image_LDADD = $(toolkit_libs)
2010-10-13 01:24:20 +04:00
dnd_SOURCES = dnd.c
dnd_LDADD = $(toolkit_libs)
smoke_SOURCES = smoke.c
smoke_LDADD = $(toolkit_libs)
resizor_SOURCES = resizor.c
resizor_LDADD = $(toolkit_libs)
eventdemo_SOURCES = eventdemo.c
eventdemo_LDADD = $(toolkit_libs)
desktop_shell_SOURCES = \
desktop-shell.c \
desktop-shell-client-protocol.h \
desktop-shell-protocol.c
desktop_shell_LDADD = $(toolkit_libs)
2010-10-13 01:24:20 +04:00
BUILT_SOURCES = \
screenshooter-client-protocol.h \
screenshooter-protocol.c \
desktop-shell-client-protocol.h \
desktop-shell-protocol.c
2010-10-13 01:24:20 +04:00
CLEANFILES = $(BUILT_SOURCES)
endif
2010-10-13 01:24:20 +04:00
@wayland_scanner_rules@
2010-10-13 01:24:20 +04:00
if HAVE_POPPLER
poppler_programs = view
view_SOURCES = view.c
view_LDADD = $(toolkit_libs) $(POPPLER_LIBS)
view_CPPFLAGS = $(AM_CPPFLAGS) $(POPPLER_CFLAGS)
endif