diff options
author | Vincent Sanders <vincent.sanders@collabora.co.uk> | 2013-03-20 11:49:00 +0000 |
---|---|---|
committer | Vincent Sanders <vincent.sanders@collabora.co.uk> | 2013-04-09 17:27:41 +0100 |
commit | 08f5d6e00ff12502cea62e7410da3df0cc18ab3b (patch) | |
tree | df0ab7a1f4c7a46a0743f186b022219be630b676 /src/surface/Makefile | |
parent | ab47efdb2ee3e0199fbfc3fa42aa1ac77794cf94 (diff) | |
download | libnsfb-08f5d6e00ff12502cea62e7410da3df0cc18ab3b.tar.gz libnsfb-08f5d6e00ff12502cea62e7410da3df0cc18ab3b.tar.bz2 |
Wayland surface handler with mouse input based on X surface handler
Diffstat (limited to 'src/surface/Makefile')
-rw-r--r-- | src/surface/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/surface/Makefile b/src/surface/Makefile index 012d9cd..ad23cc4 100644 --- a/src/surface/Makefile +++ b/src/surface/Makefile @@ -1,16 +1,16 @@ # Sources -DIR_SOURCES := surface.c able.c ram.c linux.c -ifeq ($(NSFB_SDL_AVAILABLE),yes) - DIR_SOURCES := $(DIR_SOURCES) sdl.c -endif +# Common surface code and heap based surface handler +SURFACE_HANDLER_yes := surface.c ram.c -ifeq ($(NSFB_XCB_AVAILABLE),yes) - DIR_SOURCES := $(DIR_SOURCES) x.c -endif +# optional surface handlers +SURFACE_HANDLER_$(NSFB_ABLE_AVAILABLE) += able.c +SURFACE_HANDLER_$(NSFB_LINUX_AVAILABLE) += linux.c +SURFACE_HANDLER_$(NSFB_SDL_AVAILABLE) += sdl.c +SURFACE_HANDLER_$(NSFB_XCB_AVAILABLE) += x.c +SURFACE_HANDLER_$(NSFB_VNC_AVAILABLE) += vnc.c +SURFACE_HANDLER_$(NSFB_WLD_AVAILABLE) += wld.c -ifeq ($(NSFB_VNC_AVAILABLE),yes) - DIR_SOURCES := $(DIR_SOURCES) vnc.c -endif +DIR_SOURCES := $(SURFACE_HANDLER_yes) include $(NSBUILD)/Makefile.subdir |