# This file is part of Eclat # Copyright (C) 2012-2014 Sergey Poznyakoff # # Eclat is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # Eclat is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Eclat. If not, see . noinst_LIBRARIES=libeclat.a if COND_GDBM GDBMMAP=gdbmmap.c endif if COND_LDAP LDAPMAP=ldapmap.c endif maps = \ bidimap.c\ $(GDBMMAP)\ filemap.c\ nullmap.c\ $(LDAPMAP)\ seqmap.c libeclat_a_SOURCES=\ base64.c\ confirm.c\ diag.c\ expand.c\ forlan.c\ forlan.h\ forlangrm.h\ forlangrm.y\ forlanlex.l\ json.h\ jsongrm.h\ jsongrm.y\ jsonlex.l\ getans.c\ getyn.c\ hmac_sha1.c\ hmac_sha256.c\ libeclat.h\ map.c\ q2url.c\ qaddparm.c\ qcreat.c\ qencode.c\ qfree.c\ reqsign.c\ sha1.c\ sha1.h\ sha256.c\ sha256.h\ trace.c\ urlencode.c\ xmltree.c\ $(maps) AM_LDFLAGS = $(CURL_LIBS) AM_CPPFLAGS = -I$(top_srcdir)/grecs/src/ $(CURL_CFLAGS) forlanlex.c: forlangrm.h forlangrm.c forlangrm.h: forlangrm.y jsonlex.c: jsongrm.h jsongrm.c jsongrm.h: jsongrm.y AM_YFLAGS=-tdv AM_LFLAGS=-dp LEXCOMPILE = $(top_srcdir)/@GRECS_SUBDIR@/build-aux/yyrename '$(LEX) $(LFLAGS) $(AM_LFLAGS)' YACCCOMPILE = $(top_srcdir)/@GRECS_SUBDIR@/build-aux/yyrename '$(YACC) $(YFLAGS) $(AM_YFLAGS)'