2008-10-12 17:36:08 +04:00
|
|
|
#
|
|
|
|
# NetSurf source file inclusion
|
|
|
|
#
|
2010-10-29 04:54:27 +04:00
|
|
|
# Included by main makefile -- indicates generic sources for every build.
|
2008-10-12 17:36:08 +04:00
|
|
|
#
|
|
|
|
|
2011-05-07 00:40:09 +04:00
|
|
|
S_CONTENT := content.c content_factory.c dirlist.c fetch.c hlcache.c \
|
2011-09-04 10:28:09 +04:00
|
|
|
llcache.c mimesniff.c urldb.c
|
2011-02-16 02:18:10 +03:00
|
|
|
|
2011-05-16 23:28:40 +04:00
|
|
|
S_FETCHERS := curl.c data.c file.c about.c resource.c
|
2010-10-29 04:54:27 +04:00
|
|
|
|
2009-07-24 03:05:34 +04:00
|
|
|
S_CSS := css.c dump.c internal.c select.c utils.c
|
2010-10-29 04:54:27 +04:00
|
|
|
|
2011-05-07 00:40:09 +04:00
|
|
|
S_RENDER := box.c box_construct.c box_normalise.c \
|
2010-06-04 13:35:08 +04:00
|
|
|
font.c form.c html.c html_interaction.c html_redraw.c \
|
2011-08-24 16:29:30 +04:00
|
|
|
hubbub_binding.c imagemap.c layout.c list.c search.c table.c \
|
|
|
|
textinput.c textplain.c
|
2010-10-29 04:54:27 +04:00
|
|
|
|
2011-09-27 15:07:32 +04:00
|
|
|
S_UTILS := base64.c filename.c hashtable.c locale.c messages.c nsurl.c \
|
2011-03-17 14:26:30 +03:00
|
|
|
talloc.c url.c utf8.c utils.c useragent.c filepath.c log.c
|
2010-10-29 04:54:27 +04:00
|
|
|
|
2011-07-08 12:38:17 +04:00
|
|
|
S_HTTP := challenge.c generics.c primitives.c parameter.c \
|
|
|
|
content-disposition.c content-type.c www-authenticate.c
|
|
|
|
|
2010-10-05 23:14:46 +04:00
|
|
|
S_DESKTOP := cookies.c history_global_core.c hotlist.c knockout.c \
|
2010-12-15 21:05:25 +03:00
|
|
|
mouse.c options.c plot_style.c print.c search.c searchweb.c \
|
2011-05-10 02:49:17 +04:00
|
|
|
scrollbar.c sslcert.c textarea.c thumbnail.c tree.c \
|
2011-02-20 01:17:54 +03:00
|
|
|
tree_url_node.c version.c
|
2008-10-12 17:36:08 +04:00
|
|
|
|
|
|
|
# S_COMMON are sources common to all builds
|
|
|
|
S_COMMON := $(addprefix content/,$(S_CONTENT)) \
|
2011-02-16 02:18:10 +03:00
|
|
|
$(addprefix content/fetchers/,$(S_FETCHERS)) \
|
2008-10-12 17:36:08 +04:00
|
|
|
$(addprefix css/,$(S_CSS)) \
|
|
|
|
$(addprefix render/,$(S_RENDER)) \
|
|
|
|
$(addprefix utils/,$(S_UTILS)) \
|
2011-07-08 12:38:17 +04:00
|
|
|
$(addprefix utils/http/,$(S_HTTP)) \
|
2008-10-12 17:36:08 +04:00
|
|
|
$(addprefix desktop/,$(S_DESKTOP))
|
|
|
|
|
|
|
|
# S_IMAGE are sources related to image management
|
2011-09-05 03:50:14 +04:00
|
|
|
S_IMAGE_YES := image.c image_cache.c
|
2011-08-28 18:29:15 +04:00
|
|
|
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
|
2011-08-29 02:05:11 +04:00
|
|
|
S_IMAGE_$(NETSURF_USE_ROSPRITE) += nssprite.c
|
2011-08-28 18:29:15 +04:00
|
|
|
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
|
2011-12-06 02:33:02 +04:00
|
|
|
S_IMAGE_$(NETSURF_USE_VIDEO) += video.c
|
2011-08-28 18:29:15 +04:00
|
|
|
|
|
|
|
S_IMAGE := $(addprefix image/,$(S_IMAGE_YES))
|
2008-10-12 17:36:08 +04:00
|
|
|
|
|
|
|
# S_PDF are sources of the pdf plotter + the ones for paged-printing
|
|
|
|
S_PDF := pdf_plotters.c font_haru.c
|
2009-02-17 22:29:38 +03:00
|
|
|
S_PDF := $(addprefix desktop/save_pdf/,$(S_PDF))
|
2008-10-12 17:36:08 +04:00
|
|
|
|
|
|
|
# S_BROWSER are sources related to full browsers but are common
|
|
|
|
# between RISC OS, GTK, BeOS and AmigaOS builds
|
2012-01-02 01:42:38 +04:00
|
|
|
S_BROWSER := browser.c download.c frames.c history_core.c netsurf.c \
|
2010-04-06 01:35:38 +04:00
|
|
|
save_complete.c save_text.c selection.c textinput.c
|
2012-01-02 01:42:38 +04:00
|
|
|
|
|
|
|
ifeq ($(NETSURF_USE_JS),YES)
|
|
|
|
S_BROWSER += js.c
|
|
|
|
else
|
|
|
|
S_BROWSER += nojs.c
|
|
|
|
endif
|
|
|
|
|
2008-10-12 17:36:08 +04:00
|
|
|
S_BROWSER := $(addprefix desktop/,$(S_BROWSER))
|
|
|
|
|
2011-03-13 14:59:20 +03:00
|
|
|
# The following files depend on the testament
|
2011-03-22 15:04:02 +03:00
|
|
|
content/fetchers/about.c: testament utils/testament.h
|
2008-10-12 17:36:08 +04:00
|
|
|
|
2009-07-24 03:05:34 +04:00
|
|
|
# Some extra rules for building the transliteration table.
|
2008-10-12 17:36:08 +04:00
|
|
|
ifeq ($(HOST),riscos)
|
|
|
|
utils/translit.c: transtab
|
|
|
|
$(VQ)echo "TRANSTAB: utils/translit.c"
|
|
|
|
$(Q)dir utils
|
|
|
|
$(Q)$(PERL) tt2code < transtab > translit.c
|
|
|
|
$(Q)dir ^
|
|
|
|
else
|
|
|
|
utils/translit.c: transtab
|
|
|
|
$(VQ)echo "TRANSTAB: utils/translit.c"
|
|
|
|
$(Q)cd utils; $(PERL) tt2code < transtab > translit.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
clean-intermediates:
|
|
|
|
$(VQ)echo " CLEAN: intermediates"
|
2009-07-24 03:05:34 +04:00
|
|
|
$(Q)$(RM) utils/translit.c
|
2008-10-12 17:36:08 +04:00
|
|
|
|
|
|
|
CLEANS += clean-intermediates
|