Not logged in

Artifact 90ee5e15f2977a4a4af9d092c7bea30ec1e5aa12:


# Makefile.am

# Copyright (C) 2013, 2016 Brandon Invergo <brandon@invergo.net>

# Author: Brandon Invergo <brandon@invergo.net>

# This program 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
# of the License, or (at your option) any later version.

# This program 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 this program. If not, see <http://www.gnu.org/licenses/>.


LDADD = $(LIBINTL) $(LIBGDBM) $(top_srcdir)/lib/libzeptodb.a
zdbc_LDADD = $(LDADD)
zdbf_LDADD = $(LDADD)
zdbr_LDADD = $(LDADD)
zdbs_LDADD = $(LDADD)
zdbi_LDADD = $(LDADD)

AM_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib -I$(srcdir)
bin_PROGRAMS = zdbc zdbf zdbr zdbs zdbi

zdbc_SOURCES = zdbc.c zdb.c zdb.h
zdbf_SOURCES = zdbf.c zdb.c zdb.h
zdbr_SOURCES = zdbr.c zdb.c zdb.h
zdbs_SOURCES = zdbs.c zdb.c zdb.h
zdbi_SOURCES = zdbi.c zdb.c zdb.h

check-syntax:
	$(CC) $(CFLAGS) $(LIBS) -I. -I.. -Wall -Wextra -pedantic -std=c99 -fsyntax-only $(CHK_SOURCES)