freeswitch/libs/sofia-sip/libsofia-sip-ua/sresolv/Makefile.am

66 lines
1.6 KiB
Makefile

#
# Makefile.am for sresolv module
#
# Copyright (C) 2005,2006 Nokia Corporation
# Contact: Pekka Pessi <pekka.pessi@nokia.com>
# Licensed under LGPL. See file COPYING.
# ----------------------------------------------------------------------
# Header paths
INCLUDES = -I$(srcdir)/../url -I../url \
-I$(srcdir)/../bnf -I../bnf \
-I$(srcdir)/../su -I../su
# ----------------------------------------------------------------------
# Build targets
noinst_LTLIBRARIES = libsresolv.la
check_PROGRAMS = test_sresolv
TESTS = run_test_sresolv
TESTS_ENVIRONMENT = $(SHELL)
CLEANFILES = resolv.conf error.conf named.conf.tmp \
.test_sresolv.api.conf.?????? \
named.run
LDADD = ../url/liburl.la ../bnf/libbnf.la \
libsresolv.la \
../su/libsu.la
test_sresolv_LDFLAGS = -static
# ----------------------------------------------------------------------
# Rules for building the targets
nobase_include_sofia_HEADERS = \
sofia-sip/sresolv.h \
sofia-resolv/sres.h \
sofia-resolv/sres_config.h \
sofia-resolv/sres_async.h \
sofia-resolv/sres_cache.h \
sofia-resolv/sres_record.h
libsresolv_la_SOURCES = sres.c sres_cache.c sres_blocking.c sresolv.c
COVERAGE_INPUT = $(libsresolv_la_SOURCES) $(include_sofia_HEADERS)
# ----------------------------------------------------------------------
# Distribution
EXTRA_DIST = sresolv.docs
dist_noinst_DATA = run_test_sresolv \
root.zone rndc.conf \
127.zone 194.2.188 3.f.f.e.1.2.0.0.3.0.1.2.c.0.0.0 example.com \
3.f.f.e.1.2.0.0.3.0.1.2.c.0.0.0.arpa
# ----------------------------------------------------------------------
# Sofia specific rules
include $(top_srcdir)/rules/sofia.am