forked from enlightenment/enlightenment
make wayland-specific shot protocol files conditional on wayland build
This commit is contained in:
parent
4b4f28ac5e
commit
00b52c3951
|
@ -16,9 +16,13 @@ src_modules_shot_module_la_CPPFLAGS = \
|
||||||
$(MOD_CPPFLAGS) @WAYLAND_CFLAGS@
|
$(MOD_CPPFLAGS) @WAYLAND_CFLAGS@
|
||||||
src_modules_shot_module_la_LDFLAGS = $(MOD_LDFLAGS)
|
src_modules_shot_module_la_LDFLAGS = $(MOD_LDFLAGS)
|
||||||
src_modules_shot_module_la_SOURCES = \
|
src_modules_shot_module_la_SOURCES = \
|
||||||
src/modules/shot/e_mod_main.c \
|
src/modules/shot/e_mod_main.c
|
||||||
|
|
||||||
|
if HAVE_WAYLAND
|
||||||
|
src_modules_shot_module_la_SOURCES += \
|
||||||
src/modules/shot/screenshooter-client-protocol.c \
|
src/modules/shot/screenshooter-client-protocol.c \
|
||||||
src/modules/shot/screenshooter-client-protocol.h
|
src/modules/shot/screenshooter-client-protocol.h
|
||||||
|
endif
|
||||||
|
|
||||||
PHONIES += shot install-shot
|
PHONIES += shot install-shot
|
||||||
shot: $(shotpkg_LTLIBRARIES) $(shot_DATA)
|
shot: $(shotpkg_LTLIBRARIES) $(shot_DATA)
|
||||||
|
|
Loading…
Reference in New Issue