Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3584 sourcerer 1
#
2
# NetSurf source file inclusion
3
#
4
# Included by main makefile -- indicates generic sources for every build.
5
#
6
 
7
S_CONTENT := content.c content_factory.c dirlist.c fetch.c hlcache.c	\
8
	llcache.c mimesniff.c urldb.c
9
 
10
S_FETCHERS := curl.c data.c file.c about.c resource.c
11
 
12
S_CSS := css.c dump.c internal.c select.c utils.c
13
 
14
S_RENDER := box.c box_construct.c box_normalise.c			\
15
	font.c form.c							\
16
	html.c html_script.c html_interaction.c html_redraw.c		\
17
	html_forms.c imagemap.c layout.c list.c search.c table.c	\
18
	textinput.c textplain.c
19
 
20
S_UTILS := base64.c corestrings.c filename.c filepath.c hashtable.c	\
21
	libdom.c locale.c log.c messages.c nsurl.c talloc.c url.c	\
22
	utf8.c utils.c useragent.c
23
 
24
S_HTTP := challenge.c generics.c primitives.c parameter.c		\
25
	content-disposition.c content-type.c www-authenticate.c
26
 
27
S_DESKTOP := cookies.c history_global_core.c hotlist.c knockout.c	\
28
	mouse.c options.c plot_style.c print.c search.c searchweb.c	\
29
	scrollbar.c sslcert.c textarea.c thumbnail.c tree.c 		\
30
	tree_url_node.c version.c
31
 
32
# Javascript source
33
include Makefile.sources.javascript
34
 
35
# S_COMMON are sources common to all builds
36
S_COMMON := $(addprefix content/,$(S_CONTENT))				\
37
	$(addprefix content/fetchers/,$(S_FETCHERS))			\
38
	$(addprefix css/,$(S_CSS))					\
39
	$(addprefix render/,$(S_RENDER))				\
40
	$(addprefix utils/,$(S_UTILS))					\
41
	$(addprefix utils/http/,$(S_HTTP))				\
42
	$(addprefix desktop/,$(S_DESKTOP))				\
43
	$(addprefix javascript/,$(S_JAVASCRIPT))			\
44
	$(S_JSAPI_BINDING)
45
 
46
# S_IMAGE are sources related to image management
47
S_IMAGE_YES := image.c image_cache.c
48
S_IMAGE_NO :=
49
S_IMAGE_$(NETSURF_USE_BMP) += bmp.c ico.c
50
S_IMAGE_$(NETSURF_USE_GIF) += gif.c
51
S_IMAGE_$(NETSURF_USE_JPEG) += jpeg.c
52
S_IMAGE_$(NETSURF_USE_MNG) += mng.c
53
S_IMAGE_$(NETSURF_USE_ROSPRITE) += nssprite.c
54
S_IMAGE_$(NETSURF_USE_PNG) += png.c
55
S_IMAGE_$(NETSURF_USE_NSSVG) += svg.c
56
S_IMAGE_$(NETSURF_USE_RSVG) += rsvg.c
57
S_IMAGE_$(NETSURF_USE_WEBP) += webp.c
58
S_IMAGE_$(NETSURF_USE_VIDEO) += video.c
59
 
60
S_IMAGE := $(addprefix image/,$(S_IMAGE_YES))
61
 
62
# S_PDF are sources of the pdf plotter + the ones for paged-printing
63
S_PDF := pdf_plotters.c font_haru.c
64
S_PDF := $(addprefix desktop/save_pdf/,$(S_PDF))
65
 
66
# S_BROWSER are sources related to full browsers but are common
67
# between RISC OS, GTK, BeOS and AmigaOS builds
68
S_BROWSER := browser.c download.c frames.c history_core.c netsurf.c \
69
	save_complete.c save_text.c selection.c textinput.c
70
 
71
S_BROWSER := $(addprefix desktop/,$(S_BROWSER))
72
 
73
# The following files depend on the testament
74
content/fetchers/about.c: testament utils/testament.h
75
desktop/version.c: testament utils/testament.h
76