Automake conditional to control perlread.c. Perl disabled by default.
[idzebra-moved-to-github.git] / recctrl / Makefile.am
1 ## $Id: Makefile.am,v 1.6 2002-11-26 21:45:29 adam Exp $
2
3 noinst_LIBRARIES = librecctrl.a
4
5 if perl
6 PERLREAD=perlread.c
7 else
8 PERLREAD=
9 endif   
10
11 librecctrl_a_SOURCES = recctrl.c recgrs.c sgmlread.c regxread.c \
12         marcread.c rectext.c grsread.h recgrs.h rectext.h xmlread.c \
13         $(PERLREAD)
14
15 INCLUDES = -I$(srcdir)/../include @YAZINC@ $(TCL_INCLUDE)