diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-04 18:10:35 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-04 18:10:35 +0000 |
commit | af49f5cbf103afc3878cb13b70b6549db752c73b (patch) | |
tree | 1770832de3c7e74018e5ade45702d474d2c0b35b /src/surface/Makefile | |
parent | 7f7898eb7d743eb5741cfa31a25b0c5c68653568 (diff) | |
download | libnsfb-af49f5cbf103afc3878cb13b70b6549db752c73b.tar.gz |
Make libnsfb dynamically detect the available surface libraries
svn path=/trunk/libnsfb/; revision=10972
Diffstat (limited to 'src/surface/Makefile')
-rw-r--r-- | src/surface/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/surface/Makefile b/src/surface/Makefile index 3abbfb6..6eddcb6 100644 --- a/src/surface/Makefile +++ b/src/surface/Makefile @@ -1,4 +1,12 @@ # Sources -DIR_SOURCES := surface.c sdl.c vnc.c able.c ram.c linux.c x.c +DIR_SOURCES := surface.c vnc.c able.c ram.c linux.c + +ifeq ($(NSFB_SDL_AVAILABLE),yes) + DIR_SOURCES := $(DIR_SOURCES) sdl.c +endif + +ifeq ($(NSFB_XCB_AVAILABLE),yes) + DIR_SOURCES := $(DIR_SOURCES) x.c +endif include build/makefiles/Makefile.subdir |