mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 07:19:37 +03:00
8679a18e28
svn path=/trunk/netsurf/; revision=12674
85 lines
2.7 KiB
Makefile
85 lines
2.7 KiB
Makefile
#
|
|
# NetSurf source file inclusion
|
|
#
|
|
# Included by main makefile -- indicates generic sources for every build.
|
|
#
|
|
|
|
S_CONTENT := content.c content_factory.c dirlist.c fetch.c hlcache.c \
|
|
llcache.c urldb.c
|
|
|
|
S_FETCHERS := curl.c data.c file.c about.c resource.c
|
|
|
|
S_CSS := css.c dump.c internal.c select.c utils.c
|
|
|
|
S_RENDER := box.c box_construct.c box_normalise.c \
|
|
font.c form.c html.c html_interaction.c html_redraw.c \
|
|
hubbub_binding.c imagemap.c layout.c list.c search.c table.c \
|
|
textinput.c textplain.c
|
|
|
|
S_UTILS := base64.c filename.c hashtable.c locale.c messages.c \
|
|
talloc.c url.c utf8.c utils.c useragent.c filepath.c log.c
|
|
|
|
S_HTTP := challenge.c generics.c primitives.c parameter.c \
|
|
content-disposition.c content-type.c www-authenticate.c
|
|
|
|
S_DESKTOP := cookies.c history_global_core.c hotlist.c knockout.c \
|
|
mouse.c options.c plot_style.c print.c search.c searchweb.c \
|
|
scrollbar.c sslcert.c textarea.c thumbnail.c tree.c \
|
|
tree_url_node.c version.c
|
|
|
|
# S_COMMON are sources common to all builds
|
|
S_COMMON := $(addprefix content/,$(S_CONTENT)) \
|
|
$(addprefix content/fetchers/,$(S_FETCHERS)) \
|
|
$(addprefix css/,$(S_CSS)) \
|
|
$(addprefix render/,$(S_RENDER)) \
|
|
$(addprefix utils/,$(S_UTILS)) \
|
|
$(addprefix utils/http/,$(S_HTTP)) \
|
|
$(addprefix desktop/,$(S_DESKTOP))
|
|
|
|
# S_IMAGE are sources related to image management
|
|
S_IMAGE_YES := image.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 := $(addprefix image/,$(S_IMAGE_YES))
|
|
|
|
# S_PDF are sources of the pdf plotter + the ones for paged-printing
|
|
S_PDF := pdf_plotters.c font_haru.c
|
|
S_PDF := $(addprefix desktop/save_pdf/,$(S_PDF))
|
|
|
|
# S_BROWSER are sources related to full browsers but are common
|
|
# between RISC OS, GTK, BeOS and AmigaOS builds
|
|
S_BROWSER := browser.c download.c frames.c history_core.c netsurf.c \
|
|
save_complete.c save_text.c selection.c textinput.c
|
|
S_BROWSER := $(addprefix desktop/,$(S_BROWSER))
|
|
|
|
# The following files depend on the testament
|
|
content/fetchers/about.c: testament utils/testament.h
|
|
|
|
# Some extra rules for building the transliteration table.
|
|
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"
|
|
$(Q)$(RM) utils/translit.c
|
|
|
|
CLEANS += clean-intermediates
|