summaryrefslogtreecommitdiff
path: root/frontends/kolibrios/Makefile
diff options
context:
space:
mode:
authorAshish Gupta <ashmew2@gmail.com>2017-04-21 23:18:15 +0200
committerAshish Gupta <ashmew2@gmail.com>2017-06-10 08:25:29 +0200
commitdbe64238302aab07de75d520f9a85fa2856e8ce7 (patch)
tree7380272e351b5f146c9331a712978c95502434f6 /frontends/kolibrios/Makefile
parentefdd93541042bcae19fb09d56d2a0a61252d0fd2 (diff)
downloadnetsurf-dbe64238302aab07de75d520f9a85fa2856e8ce7.tar.gz
netsurf-dbe64238302aab07de75d520f9a85fa2856e8ce7.tar.bz2
Move port for kolibrios ahead.
Look at diff from master and reconcile.
Diffstat (limited to 'frontends/kolibrios/Makefile')
-rw-r--r--frontends/kolibrios/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/frontends/kolibrios/Makefile b/frontends/kolibrios/Makefile
index 1cf0698a6..cec54d287 100644
--- a/frontends/kolibrios/Makefile
+++ b/frontends/kolibrios/Makefile
@@ -7,11 +7,14 @@ CFLAGS += $(KOL_OTHER_INCLUDES) $(DMACROS) -std=c99 -g
CFLAGS += '-DNETSURF_KOLIBRI_FONTPATH="$(NETSURF_KOLIBRI_FONTPATH)"'
CFLAGS += '-DKOLIBRIOS_RESPATH="$(NETSURF_KOLIBRI_RESPATH)"'
-
+CFLAGS += '-DNETSURF_USE_KOLIBRI_HTTPLIB'
##########################################################################
# Only for FB compat with kolibri. Get rid soon.
CFLAGS += '-DKOLIBRI_RUNTIME_RESPATH="$(NETSURF_KOLIBRI_RESPATH)"'
+# Enable PNG and others from here (no pkg config for now)
+CFLAGS += '-DWITH_PNG'
+
# compile time font locations
CFLAGS += '-DNETSURF_FB_FONTPATH="$(NETSURF_KOLIBRI_FONTPATH)"'
CFLAGS += '-DKOLIBRI_FONT_FREETYPE_SANS_SERIF="$(NETSURF_KOLIBRI_FONT_SANS_SERIF)"'
@@ -146,6 +149,7 @@ DESTDIR := $(PREFIX)/bin
DESTRESDIR := $(PREFIX)/res
KOLIBRI_RES_DIR := $(HOME)/NETSURFLIBS/netsurf/frontends/kolibrios/res
+# make install is buggy with -jN when it cannot find the EXETARGET as it tries to install it before it is created.
install-kolibrios:
$(Q)$(MKDIR) -p $(DESTDIR)
$(Q)install $(EXETARGET) $(DESTDIR)/netsurf-kolibrios