sofia.am 1.52 KB
Newer Older
Pekka Pessi's avatar
Pekka Pessi committed
1 2 3
# common Makefile targets for libsofia-sip-ua modules
# ---------------------------------------------------

4 5
AM_CFLAGS = $(SOFIA_CFLAGS)

Pekka Pessi's avatar
Pekka Pessi committed
6 7
built-sources: $(BUILT_SOURCES)

8 9
DISTCLEANFILES = $(BUILT_SOURCES)

10
clean-built-sources:
11
	-rm -rf $(BUILT_SOURCES) $(BUILT_SOURCES:%=$(srcdir)/%)
12

Pekka Pessi's avatar
Pekka Pessi committed
13 14 15 16
# rules for building tag files

TAG_AWK=$(top_srcdir)/libsofia-sip-ua/su/tag_dll.awk

17
*_tag_ref.c: $(TAG_AWK)
Pekka Pessi's avatar
Pekka Pessi committed
18

19
%_tag_ref.c: %_tag.c
20
	$(AWK) -f $(TAG_AWK) NODLL=1 $(TAG_DLL_FLAGS) $<
21 22

if ENABLE_COVERAGE
23
coverage:
24
	@$(top_srcdir)/scripts/coverage $(COVERAGE_FLAGS) $(COVERAGE_INPUT)
25
endif
26 27 28 29 30 31

../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:
32
	$(MAKE) -C $(@D) $(@F)
Pekka Pessi's avatar
Pekka Pessi committed
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52

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 \
53
	-I$(srcdir)/../su -I../su