Makefile.am 1.12 KB
Newer Older
Pekka Pessi's avatar
Pekka Pessi committed
1 2 3
#
# Makefile.am for bnf module
#
4 5 6
# Copyright (C) 2005,2006 Nokia Corporation
# Contact: Pekka Pessi <pekka.pessi@nokia.com>
# Licensed under LGPL. See file COPYING.
Pekka Pessi's avatar
Pekka Pessi committed
7 8 9 10

# ----------------------------------------------------------------------
# Header paths

Pekka Pessi's avatar
Pekka Pessi committed
11
INCLUDES = 		-I$(srcdir)/../su -I../su
Pekka Pessi's avatar
Pekka Pessi committed
12 13 14 15

# ----------------------------------------------------------------------
# Build targets

16
noinst_LTLIBRARIES = 	libbnf.la
Pekka Pessi's avatar
Pekka Pessi committed
17 18 19 20 21 22

check_PROGRAMS = 	torture_bnf

# ----------------------------------------------------------------------
# Rules for building the targets

23
nobase_include_sofia_HEADERS = sofia-sip/bnf.h sofia-sip/hostdomain.h
Pekka Pessi's avatar
Pekka Pessi committed
24

25
libbnf_la_SOURCES = 	bnf.c
Pekka Pessi's avatar
Pekka Pessi committed
26

27
COVERAGE_INPUT = 	$(libbnf_la_SOURCES) $(include_sofia_HEADERS)
28

29
LDADD =			libbnf.la
Pekka Pessi's avatar
Pekka Pessi committed
30

31
torture_bnf_LDFLAGS = 	-static
Pekka Pessi's avatar
Pekka Pessi committed
32 33 34 35

# ----------------------------------------------------------------------
# Install and distribution rules

36
EXTRA_DIST =		bnf.docs
Pekka Pessi's avatar
Pekka Pessi committed
37 38 39 40 41 42 43 44 45

# ----------------------------------------------------------------------
# Tests

TESTS = torture_bnf

# ----------------------------------------------------------------------
# Sofia specific rules

46 47
include $(top_srcdir)/rules/sofia.am