|
Revision 1955, 0.6 kB
(checked in by karpet, 1 year ago)
|
doc tweek; come config work
|
| Line | |
|---|
| 1 |
SUBDIRS = libswish3 |
|---|
| 2 |
|
|---|
| 3 |
xml2_CFLAGS=`xml2-config --cflags` |
|---|
| 4 |
xml2_ld=`xml2-config --libs` |
|---|
| 5 |
myheaders=libswish3/libswish3.h |
|---|
| 6 |
INCLUDES=-I$(top_srcdir)/src -I. -I$(top_srcdir)/src/libswish3 |
|---|
| 7 |
LDFLAGS=$(xml2_ld) -I$(top_srcdir)/src -L$(top_srcdir)/src/libswish3 -lswish3 |
|---|
| 8 |
CFLAGS= -Wall $(xml2_CFLAGS) -g -pg |
|---|
| 9 |
# -pg is for profiling -- don't use in production |
|---|
| 10 |
|
|---|
| 11 |
bin_PROGRAMS = swish_lint swish_words swish_isw utf8test |
|---|
| 12 |
check_PROGRAMS = swish_lint |
|---|
| 13 |
swish_lint_SOURCES = swish_lint.c $(myheaders) |
|---|
| 14 |
swish_words_SOURCES = swish_words.c $(myheaders) |
|---|
| 15 |
swish_isw_SOURCES = swish_isw.c |
|---|
| 16 |
utf8test_SOURCES = utf8test.c $(myheaders) |
|---|
| 17 |
|
|---|
| 18 |
TESTS = $(check_PROGRAMS) test.pl |
|---|
| 19 |
|
|---|
| 20 |
test: check |
|---|