Makefile.am 1.93 KB
Newer Older
Cedric Roux's avatar
 
Cedric Roux committed
1 2
ACLOCAL_AMFLAGS = -I m4

3 4 5 6
AM_CFLAGS = @ADD_CFLAGS@ 					\
	-I$(top_srcdir)/COMMON					\
	-I$(top_srcdir)/UTILS					\
	-I$(top_srcdir)/NAS/EURECOM-NAS/src/api/network		\
7
	-I$(top_srcdir)/NAS/EURECOM-NAS/src/include		\
Cedric Roux's avatar
 
Cedric Roux committed
8 9 10 11 12 13 14
	-I$(top_srcdir)/INTERTASK_INTERFACE

if HAVE_GCCXML
BUILT_SOURCES =		\
	messages.xml	\
	messages_xml.h

15
messages_hdr =	 							\
16 17 18
	$(top_srcdir)/INTERTASK_INTERFACE/intertask_messages_def.h	\
	$(top_srcdir)/INTERTASK_INTERFACE/timer_messages_def.h		\
	$(top_srcdir)/INTERTASK_INTERFACE/timer_messages_types.h	\
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
	$(top_srcdir)/COMMON/tasks_def.h				\
	$(top_srcdir)/COMMON/messages_def.h				\
	$(top_srcdir)/COMMON/messages_types.h				\
	$(top_srcdir)/COMMON/gtpv1_u_messages_def.h			\
	$(top_srcdir)/COMMON/gtpv1_u_messages_types.h			\
	$(top_srcdir)/COMMON/nas_messages_def.h				\
	$(top_srcdir)/COMMON/nas_messages_types.h			\
	$(top_srcdir)/COMMON/s11_messages_def.h				\
	$(top_srcdir)/COMMON/s11_messages_types.h			\
	$(top_srcdir)/COMMON/s1ap_messages_def.h			\
	$(top_srcdir)/COMMON/s1ap_messages_types.h			\
	$(top_srcdir)/COMMON/s6a_messages_def.h				\
	$(top_srcdir)/COMMON/s6a_messages_types.h			\
	$(top_srcdir)/COMMON/sgw_lite_def.h				\
	$(top_srcdir)/COMMON/sgw_lite_messages_types.h			\
	$(top_srcdir)/COMMON/sctp_messages_def.h			\
	$(top_srcdir)/COMMON/sctp_messages_types.h			\
	$(top_srcdir)/COMMON/udp_messages_def.h				\
Cedric Roux's avatar
 
Cedric Roux committed
37 38 39
	$(top_srcdir)/COMMON/udp_messages_types.h

messages.xml:	$(top_srcdir)/INTERTASK_INTERFACE/intertask_interface_types.h $(messages_hdr)
40 41
	@echo "Generating $<"
	@gccxml $(AM_CFLAGS) $< -fxml=$(top_builddir)/$@
Cedric Roux's avatar
 
Cedric Roux committed
42 43

messages_xml.h: messages.xml
44 45
	@echo "Generating $<"
	@sed -e 's/[ ]*//' -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/"/' messages.xml > messages_xml.h
Cedric Roux's avatar
 
Cedric Roux committed
46 47
endif

48
SUBDIRS = 				\
49
	.				\
50 51
	GTPV1-U				\
	GTPV2-C				\
52 53 54
	INTERTASK_INTERFACE		\
	SGI				\
	NAS				\
55
	SCTP				\
56
	S11				\
57 58 59 60 61
	S1AP				\
	S6A		        	\
	SECU				\
	SGW-LITE			\
	UTILS				\
62
	UDP				\
63 64 65 66
	MME_APP				\
	TEST				\
	OAISIM_MME			\
	OAI_EPC				\
Cedric Roux's avatar
 
Cedric Roux committed
67
	OAI_SGW