Add.
[shishi.git] / db / Makefile.am
blobeafc172c117d1cc9a4c4ea3b36ce251e3278b4e7
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005 Simon Josefsson.
4 # This file is part of Shishi.
6 # Shishi is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2, or (at your option)
9 # any later version.
11 # Shishi is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with Shishi; see the file COPYING.  If not, write to the Free
18 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 # MA 02110-1301, USA.
21 # -I../lib is to get shishi-int.h and uint32_t.
22 AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl -I../lib
24 DEFS = -DLOCALEDIR=\"$(localedir)\" \
25         -DSYSTEMCFGFILE=\"$(CONFDIR)/shisa.conf\" \
26         -DDEFAULTDBPATH=\"$(DBDIR)\" \
27         @DEFS@
29 include_HEADERS = shisa.h
30 lib_LTLIBRARIES = libshisa.la
31 libshisa_la_SOURCES = shisa.h info.h \
32         setup.c config.c db.c err.c core.c \
33         file.c file.h fileutil.h fileutil.c
34 # XXX shisa doesn't need gettime nor libshishi, only to silent linker
35 # (well, shishi_xalloc_die is needed, from libshishi...)
36 libshisa_la_LIBADD = ../gl/libgnu.la \
37         @LIB_CLOCK_GETTIME@ ../lib/libshishi.la
38 # XXX use different libtool version for this library?
39 libshisa_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)