Source

blake / Makefile.am

# $Id: Makefile.am,v 1.3 2007/01/17 17:30:44 ddrp Exp $
#
# Copyright (C) 2001-2007 Daybo Logic.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. Neither the name of the project nor the names of its contributors
#    may be used to endorse or promote products derived from this software
#    without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.

AUTOMAKE_OPTIONS=foreign

CFLAGS= -g -Wall -W -Wcast-qual -Wcast-align -Waggregate-return -Wpointer-arith \
 -Wshadow -Wmissing-prototypes -Winline -Wstrict-prototypes \
 -Wredundant-decls -Wwrite-strings -Wformat=2 -Wformat-security \
 -Wformat-nonliteral -Wundef -Wredundant-decls -Wbad-function-cast \
 -Wnested-externs -Wmissing-declarations -Wunknown-pragmas

# Add any explicit flags here, or on the configure command line.
#CFLAGS=

SUBDIRS=configure_gui

TESTS = libclient
check_PROGRAMS = $(TESTS)

libclient_SOURCES = libclient.cpp
libclient_INCLUDES = blake.h
libclient_LDADD = $(RTTBLIB) $(DLINILIB) -lblake -ldpcrtlmm -ldaybocrypt $(DAYBOTHREADSLIB) $(THREADLIB) $(MYSQLLIB) $(ZLIB) $(POSTGRESQLLIB)

INCLUDES = \
  -I/usr/local/include \
  -I/usr/local/share/daybo_logic/stds/ \
  $(MYSQL_HEADERS)

lib_LTLIBRARIES = libblake.la
libblake_la_SOURCES  = blake.c
libblake_la_SOURCES += blake_ansi.c
libblake_la_SOURCES += blake_authorisedclients.c
libblake_la_SOURCES += blake_bench.c
libblake_la_SOURCES += blake_cb.c
libblake_la_SOURCES += blake_chksum.c
libblake_la_SOURCES += blake_chomp.c
libblake_la_SOURCES += blake_contact.c
libblake_la_SOURCES += blake_debugtables.c
libblake_la_SOURCES += blake_fastqueue.c
libblake_la_SOURCES += blake_fs.c
libblake_la_SOURCES += blake_hashes.c
libblake_la_SOURCES += blake_here.c
libblake_la_SOURCES += blake_lang.c
libblake_la_SOURCES += blake_ll.c
libblake_la_SOURCES += blake_logger.c
libblake_la_SOURCES += blake_main.c
libblake_la_SOURCES += blake_sockets.c
libblake_la_SOURCES += blake_nick.c
libblake_la_SOURCES += blake_options.c
libblake_la_SOURCES += blake_panic.c
libblake_la_SOURCES += blake_pendingloop.c
libblake_la_SOURCES += blake_protocol.c
libblake_la_SOURCES += blake_safeallocate.c
libblake_la_SOURCES += blake_strfunc.c
libblake_la_SOURCES += blake_trace.c
libblake_la_SOURCES += blake_version.c
libblake_la_SOURCES += blake_db.c
libblake_la_SOURCES += blake_db_legacy.c
libblake_la_SOURCES += blake_db_mysql.c
libblake_la_SOURCES += blake_db_postgresql.c
libblake_la_SOURCES += blake_time.c
libblake_la_SOURCES += FastQueueWrapper.cpp
libblake_la_SOURCES += blake_netbuffer.cpp
libblake_la_SOURCES += blake_netbuffer_wrapper.cpp

nobase_include_HEADERS = blake.h blake_netbuffer.hpp

EXTRA_DIST = blake_threads.h \
  blake_protocol.h \
  blake_ansi.h \
  blake_authorisedclients.h \
  blake_bench.h \
  blake_cb.h \
  blake_chksum.h \
  blake_chomp.h \
  blake_stopcodes.h \
  blake_debugtables.h \
  blake_fastqueue.h \
  blake_main.h \
  blake_fs.h \
  blake_hashes.h \
  blake_logger.h \
  blake_here.h \
  blake_lang.h \
  blake_ll.h \
  blake.rh \
  blake_sockets.h \
  blake_pendingloop.h \
  blake_db.h \
  blake_db_legacy.h \
  blake_db_mysql.h \
  blake_db_postgresql.h \
  blake_time.h \
  blake_netbuffer_wrapper.h \
  blake_nick.h \
  blake_trace.h \
  blake_strfunc.h \
  blake_panic.h \
  blake_safeallocate.h \
  blake_version.h \
  blake_options.h \
  blake_template.h \
  blake_template.c \
  FastQueueWrapper.hpp \
  blake_netbuffer.hpp \
  _blake_nulllang.c \
  _blake_rttblang.c