2
0

sofia.am 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # common Makefile targets for libsofia-sip-ua modules
  2. # ---------------------------------------------------
  3. AM_CFLAGS = $(CWFLAG) $(SOFIA_CFLAGS) $(SOFIA_COVERAGE) $(SOFIA_PLAT_CFLAGS)
  4. # Use with --enable-ndebug
  5. if NDEBUG
  6. AM_CFLAGS += -DNDEBUG
  7. endif
  8. built-sources: $(BUILT_SOURCES)
  9. DISTCLEANFILES = $(BUILT_SOURCES)
  10. clean-built-sources:
  11. -rm -rf $(BUILT_SOURCES) $(BUILT_SOURCES:%=$(srcdir)/%)
  12. # rules for building tag files
  13. TAG_AWK=$(top_srcdir)/libsofia-sip-ua/su/tag_dll.awk
  14. *_tag_ref.c: $(TAG_AWK)
  15. %_tag_ref.c: %_tag.c
  16. $(AWK) -f $(TAG_AWK) NODLL=1 $(TAG_DLL_FLAGS) $<
  17. if ENABLE_COVERAGE
  18. coverage:
  19. @$(top_srcdir)/scripts/coverage $(COVERAGE_FLAGS) $(COVERAGE_INPUT)
  20. endif
  21. ../bnf/libbnf.la ../http/libhttp.la ../ipt/libipt.la ../iptsec/libiptsec.la \
  22. ../msg/libmsg.la ../nea/libnea.la ../nta/libnta.la ../nth/libnth.la \
  23. ../nua/libnua.la ../sdp/libsdp.la ../sip/libsip.la ../soa/libsoa.la \
  24. ../sresolv/libsresolv.la ../stun/libstun.la ../su/libsu.la \
  25. ../tport/libtport.la ../url/liburl.la:
  26. $(MAKE) -C $(@D) $(@F)
  27. INTERNAL_INCLUDES = \
  28. -I$(srcdir)/../features -I../features \
  29. -I$(srcdir)/../ipt -I../ipt \
  30. -I$(srcdir)/../iptsec -I../iptsec \
  31. -I$(srcdir)/../bnf -I../bnf \
  32. -I$(srcdir)/../http -I../http \
  33. -I$(srcdir)/../msg -I../msg \
  34. -I$(srcdir)/../nth -I../nth \
  35. -I$(srcdir)/../nta -I../nta \
  36. -I$(srcdir)/../nea -I../nea \
  37. -I$(srcdir)/../nua -I../nua \
  38. -I$(srcdir)/../soa -I../soa \
  39. -I$(srcdir)/../sdp -I../sdp \
  40. -I$(srcdir)/../sip -I../sip \
  41. -I$(srcdir)/../soa -I../soa \
  42. -I$(srcdir)/../sresolv -I../sresolv \
  43. -I$(srcdir)/../tport -I../tport \
  44. -I$(srcdir)/../stun -I../stun \
  45. -I$(srcdir)/../url -I../url \
  46. -I$(srcdir)/../su -I../su