2011-07-21 17:35:40 +04:00
|
|
|
noinst_PROGRAMS = $(clients_programs) \
|
|
|
|
$(poppler_programs) \
|
|
|
|
$(simple_clients_programs)
|
|
|
|
|
|
|
|
if BUILD_SIMPLE_CLIENTS
|
2011-07-21 19:41:24 +04:00
|
|
|
simple_clients_programs = simple-egl simple-shm
|
|
|
|
simple_egl_SOURCES = simple-egl.c
|
|
|
|
simple_egl_LDADD = $(SIMPLE_CLIENT_LIBS) -lm
|
2011-07-21 17:35:40 +04:00
|
|
|
|
|
|
|
simple_shm_SOURCES = simple-shm.c
|
|
|
|
simple_shm_LDADD = $(SIMPLE_CLIENT_LIBS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_CLIENTS
|
2011-09-07 02:02:34 +04:00
|
|
|
clients_programs = \
|
|
|
|
gears \
|
2011-01-11 21:48:03 +03:00
|
|
|
flower \
|
|
|
|
screenshot \
|
|
|
|
terminal \
|
|
|
|
image \
|
|
|
|
dnd \
|
|
|
|
smoke \
|
2011-01-15 02:40:17 +03:00
|
|
|
resizor \
|
2011-09-07 02:02:34 +04:00
|
|
|
eventdemo \
|
|
|
|
desktop-shell
|
2011-01-11 21:48:03 +03:00
|
|
|
|
2011-02-15 06:13:33 +03:00
|
|
|
noinst_LIBRARIES = libtoytoolkit.a
|
2010-10-13 01:24:20 +04:00
|
|
|
|
2011-01-15 04:38:35 +03:00
|
|
|
AM_CFLAGS = $(GCC_CFLAGS)
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DDATADIR='"$(datadir)"' \
|
2011-01-11 21:48:03 +03:00
|
|
|
$(CLIENT_CFLAGS)
|
2010-10-13 01:24:20 +04:00
|
|
|
|
2011-02-15 06:13:33 +03:00
|
|
|
libtoytoolkit_a_SOURCES = \
|
2010-10-13 01:24:20 +04:00
|
|
|
window.c \
|
|
|
|
window.h \
|
|
|
|
cairo-util.c \
|
|
|
|
cairo-util.h
|
|
|
|
|
2011-02-15 06:13:33 +03:00
|
|
|
toolkit_libs = \
|
|
|
|
libtoytoolkit.a \
|
|
|
|
$(CLIENT_LIBS) -lrt -lm
|
2011-01-15 04:38:35 +03:00
|
|
|
|
2010-10-13 01:24:20 +04:00
|
|
|
gears_SOURCES = gears.c
|
2011-01-15 04:38:35 +03:00
|
|
|
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
|
2011-01-15 04:38:35 +03:00
|
|
|
screenshot_LDADD = $(toolkit_libs)
|
|
|
|
|
2010-10-13 01:24:20 +04:00
|
|
|
terminal_SOURCES = terminal.c
|
2011-01-15 04:38:35 +03:00
|
|
|
terminal_LDADD = $(toolkit_libs) -lutil
|
|
|
|
|
2010-10-13 01:24:20 +04:00
|
|
|
image_SOURCES = image.c
|
2011-01-15 04:38:35 +03:00
|
|
|
image_LDADD = $(toolkit_libs)
|
|
|
|
|
2010-10-13 01:24:20 +04:00
|
|
|
dnd_SOURCES = dnd.c
|
2011-01-15 04:38:35 +03:00
|
|
|
dnd_LDADD = $(toolkit_libs)
|
|
|
|
|
|
|
|
smoke_SOURCES = smoke.c
|
|
|
|
smoke_LDADD = $(toolkit_libs)
|
|
|
|
|
2010-12-16 21:35:23 +03:00
|
|
|
resizor_SOURCES = resizor.c
|
2011-01-15 04:38:35 +03:00
|
|
|
resizor_LDADD = $(toolkit_libs)
|
|
|
|
|
2011-01-21 18:56:07 +03:00
|
|
|
eventdemo_SOURCES = eventdemo.c
|
|
|
|
eventdemo_LDADD = $(toolkit_libs)
|
|
|
|
|
2011-09-07 02:02:34 +04:00
|
|
|
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 \
|
2011-09-07 02:02:34 +04:00
|
|
|
screenshooter-protocol.c \
|
|
|
|
desktop-shell-client-protocol.h \
|
|
|
|
desktop-shell-protocol.c
|
2010-10-13 01:24:20 +04:00
|
|
|
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
2011-07-21 17:35:40 +04:00
|
|
|
endif
|
2010-10-13 01:24:20 +04:00
|
|
|
|
2011-02-15 06:13:33 +03:00
|
|
|
@wayland_scanner_rules@
|
2010-10-13 01:24:20 +04:00
|
|
|
|
2011-01-11 21:48:03 +03:00
|
|
|
if HAVE_POPPLER
|
|
|
|
poppler_programs = view
|
|
|
|
view_SOURCES = view.c
|
2011-01-15 04:38:35 +03:00
|
|
|
view_LDADD = $(toolkit_libs) $(POPPLER_LIBS)
|
2011-01-15 17:06:37 +03:00
|
|
|
view_CPPFLAGS = $(AM_CPPFLAGS) $(POPPLER_CFLAGS)
|
2011-01-11 21:48:03 +03:00
|
|
|
endif
|