2007-04-14 22:03:41 -04:00
|
|
|
# common Makefile targets for libsofia-sip-ua(-glib) modules
|
|
|
|
# ----------------------------------------------------------
|
|
|
|
|
|
|
|
AM_CFLAGS = $(CWFLAG) $(SOFIA_COVERAGE) $(SOFIA_CFLAGS) $(openssl_CFLAGS)
|
|
|
|
|
2007-05-08 15:14:10 -04:00
|
|
|
SOFIA_COVERAGE = $(COVERAGE_FLAGS)
|
|
|
|
|
2007-04-14 22:03:41 -04:00
|
|
|
# Use with --enable-ndebug
|
|
|
|
if NDEBUG
|
|
|
|
AM_CFLAGS += -DNDEBUG
|
|
|
|
endif
|
|
|
|
|
|
|
|
built-sources: $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
DISTCLEANFILES = $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
clean-built-sources:
|
|
|
|
-rm -rf $(BUILT_SOURCES) $(BUILT_SOURCES:%=$(srcdir)/%)
|
|
|
|
|
|
|
|
# rules for building tag files
|
|
|
|
|
|
|
|
TAG_AWK=$(top_srcdir)/libsofia-sip-ua/su/tag_dll.awk
|
|
|
|
|
|
|
|
*_tag_ref.c: $(TAG_AWK)
|
|
|
|
|
|
|
|
SUFFIXES = _tag_ref.c _tag.c
|
|
|
|
|
|
|
|
_tag.c_tag_ref.c:
|
|
|
|
$(AWK) -f $(TAG_AWK) NODLL=1 $(TAG_DLL_FLAGS) REF=$@ $<
|
|
|
|
|
|
|
|
../bnf/libbnf.la ../http/libhttp.la ../ipt/libipt.la ../iptsec/libiptsec.la \
|
|
|
|
../msg/libmsg.la ../nea/libnea.la ../nta/libnta.la ../nth/libnth.la \
|
|
|
|
../nua/libnua.la ../sdp/libsdp.la ../sip/libsip.la ../soa/libsoa.la \
|
|
|
|
../sresolv/libsresolv.la ../stun/libstun.la ../su/libsu.la \
|
|
|
|
../tport/libtport.la ../url/liburl.la:
|
|
|
|
$(MAKE) -C $(@D) $(@F)
|
|
|
|
|
|
|
|
INTERNAL_INCLUDES = \
|
|
|
|
-I$(srcdir)/../features -I../features \
|
|
|
|
-I$(srcdir)/../ipt -I../ipt \
|
|
|
|
-I$(srcdir)/../iptsec -I../iptsec \
|
|
|
|
-I$(srcdir)/../bnf -I../bnf \
|
|
|
|
-I$(srcdir)/../http -I../http \
|
|
|
|
-I$(srcdir)/../msg -I../msg \
|
|
|
|
-I$(srcdir)/../nth -I../nth \
|
|
|
|
-I$(srcdir)/../nta -I../nta \
|
|
|
|
-I$(srcdir)/../nea -I../nea \
|
|
|
|
-I$(srcdir)/../nua -I../nua \
|
|
|
|
-I$(srcdir)/../soa -I../soa \
|
|
|
|
-I$(srcdir)/../sdp -I../sdp \
|
|
|
|
-I$(srcdir)/../sip -I../sip \
|
|
|
|
-I$(srcdir)/../soa -I../soa \
|
|
|
|
-I$(srcdir)/../sresolv -I../sresolv \
|
|
|
|
-I$(srcdir)/../tport -I../tport \
|
|
|
|
-I$(srcdir)/../stun -I../stun \
|
|
|
|
-I$(srcdir)/../url -I../url \
|
|
|
|
-I$(srcdir)/../su -I../su
|
|
|
|
|
2007-05-08 15:14:10 -04:00
|
|
|
PHONY = built-sources clean-built-sources
|
|
|
|
|
|
|
|
include $(top_srcdir)/rules/valcheck.am
|
|
|
|
|
|
|
|
if HAVE_LCOV
|
|
|
|
include $(top_srcdir)/rules/lcov.am
|
|
|
|
endif
|
|
|
|
|