summaryrefslogtreecommitdiff
path: root/image/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'image/Makefile')
-rw-r--r--image/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/image/Makefile b/image/Makefile
new file mode 100644
index 000000000..becd944cd
--- /dev/null
+++ b/image/Makefile
@@ -0,0 +1,17 @@
+# 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_MNG) += mng.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_WEBP) += webp.c
+S_IMAGE_$(NETSURF_USE_VIDEO) += video.c
+
+S_IMAGE := $(addprefix image/,$(S_IMAGE_YES))