Thu Mar 6 12:43:23 EST 2008 Pekka.Pessi@nokia.com

* rules.am, sofia.am various Makefile.ams: added checklib target
  
  make all now builds only the library, not the (nua) test libraries.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7812 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-03-07 17:38:16 +00:00
parent 67e1d2c45a
commit a7be7d7156
5 changed files with 14 additions and 2 deletions

View File

@ -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 ; \

View File

@ -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

View File

@ -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 \

View File

@ -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 \

View File

@ -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 \