summaryrefslogtreecommitdiff
path: root/content/handlers/image/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'content/handlers/image/Makefile')
-rw-r--r--content/handlers/image/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/content/handlers/image/Makefile b/content/handlers/image/Makefile
new file mode 100644
index 000000000..5851a1c43
--- /dev/null
+++ b/content/handlers/image/Makefile
@@ -0,0 +1,15 @@
+# Image content handlers sources
+
+# S_IMAGE are sources related to image management
+S_IMAGE_YES := image.c image_cache.c
+S_IMAGE_NO :=
+S_IMAGE_$(NETSURF_USE_BMP) += bmp.c ico.c
+S_IMAGE_$(NETSURF_USE_GIF) += gif.c
+S_IMAGE_$(NETSURF_USE_JPEG) += jpeg.c
+S_IMAGE_$(NETSURF_USE_ROSPRITE) += nssprite.c
+S_IMAGE_$(NETSURF_USE_PNG) += png.c
+S_IMAGE_$(NETSURF_USE_NSSVG) += svg.c
+S_IMAGE_$(NETSURF_USE_RSVG) += rsvg.c
+S_IMAGE_$(NETSURF_USE_VIDEO) += video.c
+
+S_IMAGE := $(addprefix image/,$(S_IMAGE_YES))