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
|
|
|
#
|
|
|
|
|
2010-08-26 21:29:02 +04:00
|
|
|
S_CONTENT := content.c dirlist.c fetch.c hlcache.c llcache.c urldb.c \
|
2010-09-10 01:45:59 +04:00
|
|
|
fetchers/fetch_curl.c fetchers/fetch_data.c fetchers/fetch_file.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
|
|
|
|
|
|
|
S_RENDER := box.c box_construct.c box_normalise.c favicon.c \
|
2010-06-04 13:35:08 +04:00
|
|
|
font.c form.c html.c html_interaction.c html_redraw.c \
|
|
|
|
hubbub_binding.c imagemap.c layout.c list.c table.c textplain.c
|
2010-10-29 04:54:27 +04:00
|
|
|
|
2010-07-28 19:22:44 +04:00
|
|
|
S_UTILS := base64.c filename.c hashtable.c http.c locale.c messages.c \
|
2010-10-17 04:08:35 +04:00
|
|
|
talloc.c url.c utf8.c utils.c useragent.c findresource.c log.c
|
2010-10-29 04:54:27 +04:00
|
|
|
|
2010-10-05 23:14:46 +04:00
|
|
|
S_DESKTOP := cookies.c history_global_core.c hotlist.c knockout.c \
|
|
|
|
options.c plot_style.c print.c search.c searchweb.c scroll.c \
|
|
|
|
sslcert.c textarea.c tree.c 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)) \
|
|
|
|
$(addprefix css/,$(S_CSS)) \
|
|
|
|
$(addprefix render/,$(S_RENDER)) \
|
|
|
|
$(addprefix utils/,$(S_UTILS)) \
|
|
|
|
$(addprefix desktop/,$(S_DESKTOP))
|
|
|
|
|
|
|
|
# S_IMAGE are sources related to image management
|
2010-10-04 00:41:31 +04:00
|
|
|
S_IMAGE := bmp.c gif.c ico.c jpeg.c mng.c nssprite.c png.c svg.c rsvg.c \
|
|
|
|
webp.c
|
2008-10-12 17:36:08 +04:00
|
|
|
S_IMAGE := $(addprefix image/,$(S_IMAGE))
|
|
|
|
|
|
|
|
# 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
|
2010-04-06 01:35:38 +04:00
|
|
|
S_BROWSER := browser.c download.c frames.c history_core.c netsurf.c \
|
|
|
|
save_complete.c save_text.c selection.c textinput.c
|
2008-10-12 17:36:08 +04:00
|
|
|
S_BROWSER := $(addprefix desktop/,$(S_BROWSER))
|
|
|
|
|
|
|
|
|
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
|