shithub: riscv

ref: 8188b4f4f0e07b6669e6ae3c6c1099af917eaab4
dir: /sys/src/cmd/tcs/mkfile/

View raw version
</$objtype/mkfile

TARG=tcs
OFILES=tcs.$O\
	conv_jis.$O\
	conv_big5.$O\
	conv_gb.$O\
	conv_gbk.$O\
	conv_ksc.$O\
	utf.$O\
	html.$O\
	kuten208.$O\
	kuten212.$O\
	gb.$O\
	gbk.$O\
	ksc.$O\
	big5.$O\
	tune.$O

BIN=/$objtype/bin
</sys/src/cmd/mkone
CFLAGS= -DPLAN9 $CFLAGS

tcs.$O utf.$O:		hdr.h
tcs.$O:			jis.h
tcs.$O kuten208.$O:	kuten208.h
tcs.$O big5.$O:		big5.h
tcs.$O gb.$O:		gb.h
tcs.$O:			cyrillic.h
tcs.$O:			conv.h
tcs.$O:			8859.h
tcs.$O:			ms.h
tcs.$O:			misc.h
tcs.$O:			alias.h
conv%.$O:		conv.h
conv_ksc.$O:		ksc.h

charsets.xml:
	hget http://www.iana.org/assignments/character-sets/character-sets.xml >$target

alias.h: charsets.awk charsets.xml alias.txt
	./charsets.awk charsets.xml alias.txt >$target

clean:V:
	rm -f *.[$OS] [$OS].out y.tab.? y.debug y.output alias.h $TARG

nuke:V:
	rm -f *.[$OS] [$OS].out y.tab.? y.debug y.output alias.h $TARG