-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add more languages detection functions from https://bitbucket.org/med…
…oc/uchardet-enhanced ; add test cases; add language extention generate tool
- Loading branch information
Showing
109 changed files
with
986,663 additions
and
395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
|
||
EXTRA_DIST = mkpairmodel.py README.txt | ||
EXTRA_DIST += \ | ||
french/french_WINDOWS-1252.txt \ | ||
french/charstats_french_WINDOWS-1252.txt \ | ||
$(NULL) | ||
|
||
noinst_PROGRAMS=mkcharstats | ||
#bin_PROGRAMS=mkcharstats | ||
|
||
noinst_HEADERS = \ | ||
$(NULL) | ||
|
||
mkcharstats_SOURCES= \ | ||
mkcharstats.cpp \ | ||
$(NULL) | ||
|
||
# force the autoconf use g++ to link the c program with c++ lib | ||
#dummy.cpp: | ||
# touch $@ | ||
|
||
mkcharstats_LDADD= | ||
|
||
# add the required lib to the end of link command line | ||
#mkcharstats_LDADD+=$(LIBUCD_CFLAGS) $(LIBUCD_LIBS) | ||
|
||
#mkcharstats_CPPFLAGS = $(LIBUCD_CFLAGS) $(AM_CPPFLAGS) | ||
#mkcharstats_LDFLAGS = $(LIBUCD_LIBS) $(AM_LDFLAGS) | ||
|
||
AM_LDFLAGS=$(OPTS) | ||
AM_CPPFLAGS=$(OPTS) | ||
|
||
DEFS+= \ | ||
`getconf LFS_CFLAGS` \ | ||
`getconf LFS64_CFLAGS` \ | ||
-D_GNU_SOURCE \ | ||
-D_FILE_OFFSET_BITS=64 \ | ||
-DHAVE_MMAP64=1 \ | ||
-DUSE_FINDHTML=1 \ | ||
$(NULL) | ||
|
||
#AM_CPPFLAGS+= \ | ||
-I$(top_srcdir)/src \ | ||
-I$(top_builddir)/include/ \ | ||
$(NULL) | ||
|
||
#AM_LDFLAGS += \ | ||
-L$(top_builddir)/src/ \ | ||
`getconf LFS_LDFLAGS` \ | ||
`getconf LFS64_LDFLAGS` \ | ||
$(NULL) | ||
|
||
if DEBUG | ||
# use "valgrind --tool=memcheck --leak-check=yes" to check memory leak, MemWatch will drag the program. | ||
#DEFS+=-DMEMWATCH | ||
DEFS+= -DDEBUG=1 | ||
AM_LDFLAGS += -lbfd | ||
AM_CPPFLAGS+=-g -Wall | ||
|
||
else | ||
AM_CPPFLAGS+=-O3 -Wall | ||
endif | ||
|
Binary file not shown.
Oops, something went wrong.