Commit f4776262 authored by Pekka Pessi's avatar Pekka Pessi

rules.am, sofia.am various Makefile.ams: added checklib target

make all now builds only the library, not the (nua) test libraries.

darcs-hash:20080306174323-65a35-4da2a66d9a6ad4be9b6e78df276657d4d933e34f.gz
parent 7e63daa6
......@@ -64,6 +64,8 @@ PHONY = doxygen built-sources
include $(top_srcdir)/rules/recursive.am
checklib: checklib-recursive $(lib_LTLIBRARIES)
doxygen: built-sources
@echo Generating empty doxytags
mkdir -p docs/html ; \
......
......@@ -11,7 +11,9 @@
# ----------------------------------------------------------------------
# Build targets
noinst_LTLIBRARIES = libnua.la libtestnua.la libtestproxy.la libtestnat.la
noinst_LTLIBRARIES = libnua.la
check_LTLIBRARIES = libtestnua.la libtestproxy.la libtestnat.la
check_PROGRAMS = test_nua
......
......@@ -7,7 +7,8 @@ clean-built-sources: clean-built-sources-recursive
valcheck: valcheck-recursive
SOFIA_RECURSIVE = \
valcheck-recursive
valcheck-recursive \
checklib-recursive
SOFIA_DIST_RECURSIVE = \
built-sources-recursive \
......
......@@ -38,6 +38,8 @@ _tag.c_tag_ref.c:
../tport/libtport.la ../url/liburl.la:
cd $(@D) && $(MAKE) $(@F)
checklib: $(noinst_LTLIBRARIES) $(check_LTLIBRARIES)
INTERNAL_INCLUDES = \
-I${sofiasrcdir}/features -I${sofiabuilddir}/features \
-I${sofiasrcdir}/ipt -I${sofiabuilddir}/ipt \
......
......@@ -20,6 +20,11 @@ check_PROGRAMS += check_sofia
check_sofia_SOURCES = check_sofia.c check_sofia.h \
suite_for_nua.c
${sofiabuilddir}/nua/libtestnua.la \
${sofiabuilddir}/nua/libtestproxy.la \
${sofiabuilddir}/nua/libtestnat.la:
cd ${sofiabuilddir}/nua && make checklib
check_sofia_LDADD = \
${sofiabuilddir}/nua/libtestnua.la \
${sofiabuilddir}/nua/libtestproxy.la \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment