diff options
author | Vincent Sanders <vince@kyllikki.org> | 2021-01-17 20:06:24 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2021-01-17 20:06:24 +0000 |
commit | 5db541a6d7e1d6ae7792e392f8e7dd5d5b07345f (patch) | |
tree | b50d63dae50a85a7d3095a77bb2bb84c021f6a3e /frontends/gtk | |
parent | 25c21e5fefc554c1941aa1a99b5b7a6c6ca67589 (diff) | |
download | netsurf-5db541a6d7e1d6ae7792e392f8e7dd5d5b07345f.tar.gz netsurf-5db541a6d7e1d6ae7792e392f8e7dd5d5b07345f.tar.bz2 |
Improve target setup in makefiles
split out HOST TARGET and SUBTARGET generation into separate file.
split out target(frontend) specific tool settings into separate files.
Diffstat (limited to 'frontends/gtk')
-rw-r--r-- | frontends/gtk/Makefile.tools | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/frontends/gtk/Makefile.tools b/frontends/gtk/Makefile.tools new file mode 100644 index 000000000..5331dcc71 --- /dev/null +++ b/frontends/gtk/Makefile.tools @@ -0,0 +1,16 @@ +# -*- mode: makefile-gmake -*- +## +## tool setup for the gtk target +## + +# use native package config +PKG_CONFIG := pkg-config + +# gtk target processing +ifeq ($(SUBTARGET),3) + override NETSURF_GTK_MAJOR := 3 +endif + +ifeq ($(SUBTARGET),2) + override NETSURF_GTK_MAJOR := 2 +endif |