root/libswish3/trunk/src/Makefile.am

Revision 2158, 0.8 kB (checked in by karpet, 2 months ago)

yank words.c in favor of tokenizer.c -- benchmarking shows tokenizer.c is 20% faster for ascii and about the same for utf-8

Line 
1 SUBDIRS = libswish3
2
3 # do not list xapian as a SUBDIR because it is optional to build xapian/*
4
5 xml2_CFLAGS=`xml2-config --cflags`
6 xml2_ld=`xml2-config --libs`
7 myheaders=libswish3/libswish3.h
8 INCLUDES=-I$(top_srcdir)/src -I. -I$(top_srcdir)/src/libswish3
9 LDFLAGS=$(xml2_ld) -I$(top_srcdir)/src -L$(top_srcdir)/src/libswish3 -lswish3
10 CFLAGS= -Wall $(xml2_CFLAGS) -g -pg
11 # -pg is for profiling -- don't use in production
12
13 bin_PROGRAMS = swish_lint swish_tokenize swish_isw utf8test swish_header
14 check_PROGRAMS = swish_lint swish_header
15 swish_lint_SOURCES = swish_lint.c $(myheaders)
16 swish_tokenize_SOURCES = swish_tokenize.c $(myheaders)
17 swish_isw_SOURCES = swish_isw.c
18 swish_header_SOURCES = swish_header.c $(myheaders)
19 utf8test_SOURCES = utf8test.c $(myheaders)
20
21 TESTS = $(check_PROGRAMS) test.sh
22
23 test: check
Note: See TracBrowser for help on using the browser.