# -*-mode: Makefile -*-
# Copyright 2002-2003 by Eric House (fixin@peak.org).  All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

LANG=Turkish
LANGCODE=tk_TK
TARGET_TYPE ?= FRANK

ifeq ($(TARGET_TYPE),PALM)
PBITMS = ./bmps/palm
else
ifeq ($(TARGET_TYPE),FRANK)
PBITMS = ./bmps/franklin
endif
endif

LANG_SPECIAL_INFO = \
		"G+" $(PBITMS)/large_gsaucer.pbitm $(PBITMS)/small_gsaucer.pbitm \
		"I+" $(PBITMS)/large_idot.pbitm $(PBITMS)/small_idot.pbitm \
		"S+" $(PBITMS)/large_stail.pbitm $(PBITMS)/small_stail.pbitm \

$(LANG)Main.dict.gz: turkish_mod.dict.gz
	zcat $< \
	| grep '^[A-PR-VYZ1-3ÇÖÜ]*$$' \
	| sort -u \
	| tr '123' '\001\002\003' \
	| gzip - > $@

include ../Makefile.2to8

include ../Makefile.langcommon

# This represents the default -- for now
COMMAND = -f Makefile TARGET_TYPE=FRANK


clean: clean_common
	rm -rf *.saved