# Makefile for the UNICON

unikey-objs := xl_fm.o xl_hzfb.o xl_keyhooks.o xl_keymasks.o xl_unikey.o
                  
obj-m				:= unikey.o
obj-$(CONFIG_UNICON_GB)		+= encode-gb.o
obj-$(CONFIG_UNICON_GBK)	+= encode-gbk.o
obj-$(CONFIG_UNICON_BIG5)	+= encode-big5.o
obj-$(CONFIG_UNICON_EUCJP)	+= encode-eucjp.o
obj-$(CONFIG_UNICON_JIS)	+= encode-jis.o
obj-$(CONFIG_UNICON_SJIS)	+= encode-sjis.o
obj-$(CONFIG_UNICON_KSCM)	+= encode-kscm.o

unikey.o: $(unikey-objs)
	$(LD) -r -o $@ $(unikey-objs)

ifneq ($(PATCHLEVEL),6)
include $(TOPDIR)/Rules.make
endif
