summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2013-03-11 17:50:12 +0000
committerVincent Sanders <vince@netsurf-browser.org>2013-03-11 17:53:52 +0000
commit95e726c7cc21c52829548340142d266cdb8f1123 (patch)
tree35242bf31d2e00858124f568b06c8ff51290416c /desktop
parent41e4928e25039119b97035640cf97b1949a129d4 (diff)
downloadnetsurf-95e726c7cc21c52829548340142d266cdb8f1123.tar.gz
netsurf-95e726c7cc21c52829548340142d266cdb8f1123.tar.bz2
split sources lists out to their subdirectories as first step towards using core buildsystem
Diffstat (limited to 'desktop')
-rw-r--r--desktop/Makefile19
-rw-r--r--desktop/save_pdf/Makefile6
2 files changed, 25 insertions, 0 deletions
diff --git a/desktop/Makefile b/desktop/Makefile
new file mode 100644
index 000000000..b587e679e
--- /dev/null
+++ b/desktop/Makefile
@@ -0,0 +1,19 @@
+# Sources for desktop
+
+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_DESKTOP := $(addprefix desktop/,$(S_DESKTOP))
+
+# version.c needs the testament
+desktop/version.c: testament utils/testament.h
+
+# 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))
+
diff --git a/desktop/save_pdf/Makefile b/desktop/save_pdf/Makefile
new file mode 100644
index 000000000..cf1f978e6
--- /dev/null
+++ b/desktop/save_pdf/Makefile
@@ -0,0 +1,6 @@
+# PDF saving sources
+
+# 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))