Source

daybothreads / Makefile.am

Full commit
# $Id: Makefile.am,v 0.3 2006/03/28 00:00:00 ddrp Exp $
#
# Daybo Logic Threads Abstraction Library
# Copyright (C) 2001-2006 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.
#
#  Daybo Logic,
#  Flat 2 Barker Court,
#  Victoria Avenue,
#  Redfield,
#  Bristol
#  England.
#  UK
#  BS5 9NW

#  +44 117 954 2306
#  David Duncan Ross Palmer <http://www.daybologic.co.uk/mailddrp/>
#  http://www.daybologic.co.uk/dev/daybothreads

AUTOMAKE_OPTIONS=
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

TESTS = dtinfo
check_PROGRAMS = $(TESTS)
dtinfo_SOURCES = dtinfo.c
dtinfo_INCLUDES = daybothreads.h
dtinfo_LDADD = $(LIBPTHDIR) -ldaybothreads $(LIBPTHREAD) $(LIBPTH)

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

lib_LTLIBRARIES = libdaybothreads.la
libdaybothreads_la_SOURCES  = daybothreads.c
libdaybothreads_la_SOURCES += portthread.c
libdaybothreads_la_SOURCES += atomscalar.c

nobase_include_HEADERS  = daybothreads.h
nobase_include_HEADERS += daybothreads-config.h