RPM: store libs in %{_libdir}
[idzebra-moved-to-github.git] / util / Makefile.am
1
2 noinst_LTLIBRARIES = libidzebra-util.la
3
4 check_PROGRAMS = tstcharmap tstflock tstlockscope tstpass tstres test_strmap
5
6 TESTS = $(check_PROGRAMS)
7
8 bin_SCRIPTS = idzebra-config-2.0
9
10 EXTRA_DIST = zebrasrv.rh tstcharmap.chr emptycharmap.chr tstpass.txt tstres.cfg mk_version.tcl
11
12 DISTCLEANFILES = idzebra-config-2.0
13
14 AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC) -DDEFAULT_PROFILE_PATH=\"$(pkgdatadir)/tab\"
15 LDADD = libidzebra-util.la $(YAZLALIB)
16
17 libidzebra_util_la_SOURCES = version.c zint.c res.c charmap.c zebramap.c \
18  passwddb.c zebra-lock.c dirent.c xpath.c atoi_zn.c snippet.c flock.c \
19  attrfind.c exit.c it_key.c su_codec.c strmap.c
20
21 tstpass_SOURCES = tstpass.c
22
23 tstcharmap_SOURCES = tstcharmap.c
24
25 tstflock_SOURCES = tstflock.c
26
27 tstlockscope_SOURCES = tstlockscope.c
28
29 tstres_SOURCES = tstres.c
30
31 test_strmap_SOURCES = test_strmap.c
32
33 clean-local:
34         -rm -rf *.LCK 
35         -rm -rf *.log 
36         -rm -rf *.mf 
37         -rm -rf tstflock.out
38