2009-01-14 15:05:00 -07:00
|
|
|
# Copyright 2009 The Go Authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style
|
|
|
|
# license that can be found in the LICENSE file.
|
|
|
|
|
2010-08-18 08:08:49 -06:00
|
|
|
include ../../Make.inc
|
2009-01-14 15:05:00 -07:00
|
|
|
|
2009-08-12 14:19:17 -06:00
|
|
|
TARG=unicode
|
|
|
|
GOFILES=\
|
2010-03-30 18:51:03 -06:00
|
|
|
casetables.go\
|
2009-08-26 17:53:07 -06:00
|
|
|
digit.go\
|
2011-06-03 15:46:22 -06:00
|
|
|
graphic.go\
|
2009-08-12 14:19:17 -06:00
|
|
|
letter.go\
|
2009-08-27 10:14:32 -06:00
|
|
|
tables.go\
|
2009-01-14 15:05:00 -07:00
|
|
|
|
2009-11-23 18:32:51 -07:00
|
|
|
include ../../Make.pkg
|
2009-08-26 17:01:31 -06:00
|
|
|
|
2011-01-31 09:50:04 -07:00
|
|
|
CLEANFILES+=maketables
|
|
|
|
|
2009-08-27 10:14:32 -06:00
|
|
|
maketables: maketables.go
|
2009-08-26 17:01:31 -06:00
|
|
|
$(GC) maketables.go
|
|
|
|
$(LD) -o maketables maketables.$O
|
2009-08-27 10:14:32 -06:00
|
|
|
|
|
|
|
tables: maketables
|
|
|
|
./maketables --tables=all > tables.go
|
2009-12-01 17:22:21 -07:00
|
|
|
gofmt -w tables.go
|
2009-08-27 10:14:32 -06:00
|
|
|
|
2011-01-31 09:50:04 -07:00
|
|
|
# Build (but do not run) maketables during testing,
|
|
|
|
# just to make sure it still compiles.
|
|
|
|
test: maketables
|
2011-05-14 17:54:49 -06:00
|
|
|
testshort: maketables
|
2011-01-31 09:50:04 -07:00
|
|
|
|
|
|
|
# Downloads from www.unicode.org, so not part
|
|
|
|
# of standard test scripts.
|
2009-08-27 10:14:32 -06:00
|
|
|
testtables: maketables
|
2011-01-30 14:09:16 -07:00
|
|
|
@echo '***' Be sure to make tables and make install first
|
2009-08-27 10:14:32 -06:00
|
|
|
./maketables -test
|