##
## packages we need for i18n, used by 'make check'
##
ifeq ($(USE_LANGUAGE_CHOOSER), true)
depends_checks += libpng2-dev slang1a-utf8 slang1-utf8-pic \
		  libnewt-utf8-0 \
		  bogl-bterm libbogl-dev locales
# i386 i18n is wierd in that we is it mixed i18n and non-i18n, thus
# cannot do libnewt reduction right with the -pic libraries
#   for i386-only LANG_CHOOSER stuff see also the file 'i386.vars'
ifneq ($(architecture),i386)
depends_checks += libnewt-utf8-pic
endif

else
# not i18n, force non-i18n slang/newt
depends_checks += slang1 slang1-pic libnewt0 libnewt-pic
endif

##
## fonts for certain languages
##   (doesn't apply to LC I think)
##
ifneq ($(strip $(findstring $(LINGUA),$(LATIN1))),)
	export FONT=lat1u-16.psf
endif
ifneq ($(strip $(findstring $(LINGUA),$(LATIN2))),)
	export FONT=iso02g.psf
endif
ifneq ($(strip $(findstring $(LINGUA),$(LATIN3))),)
	export FONT=iso03g.psf
endif
ifneq ($(strip $(findstring $(LINGUA),$(LATIN5))),)
        export FONT=lat5u-16.psf
endif
ifneq ($(strip $(findstring $(LINGUA),$(KOI8-R))),)
	export FONT=koi8-r.psf
endif

ifeq ($(FONT), iso02g.psf)
	export SFONT=iso02g.psf
endif
ifeq ($(FONT), iso03g.psf)
	export SFONT=iso03.f16
endif
ifeq ($(FONT), koi8-r.psf)
	export SFONT=koi8-r
endif
ifeq ($(FONT), lat5u-16.psf)
        export SFONT=lat5u-16
endif





#Local variables:
#mode: Makefile
#End:
