Commit b58c8c4b authored by winckel's avatar winckel

Modified makefile and main function for new ITTI definition.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4235 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent d7c8c99e
...@@ -17,8 +17,7 @@ AM_CFLAGS = @ADD_CFLAGS@ \ ...@@ -17,8 +17,7 @@ AM_CFLAGS = @ADD_CFLAGS@ \
-I$(top_srcdir)/SGW-LITE \ -I$(top_srcdir)/SGW-LITE \
-I$(top_srcdir)/UDP \ -I$(top_srcdir)/UDP \
-I$(top_srcdir)/UTILS \ -I$(top_srcdir)/UTILS \
-I$(top_srcdir)/UTILS/HASHTABLE \ -I$(top_srcdir)/UTILS/HASHTABLE
-I$(top_srcdir)/UTILS/TIMER
oaisim_mme_LDADD = \ oaisim_mme_LDADD = \
$(top_builddir)/INTERTASK_INTERFACE/libitti.la \ $(top_builddir)/INTERTASK_INTERFACE/libitti.la \
...@@ -27,7 +26,6 @@ oaisim_mme_LDADD = \ ...@@ -27,7 +26,6 @@ oaisim_mme_LDADD = \
$(top_builddir)/S1AP/libs1ap.la \ $(top_builddir)/S1AP/libs1ap.la \
$(top_builddir)/S6A/libs6a.la \ $(top_builddir)/S6A/libs6a.la \
$(top_builddir)/SCTP/libsctpserver.la \ $(top_builddir)/SCTP/libsctpserver.la \
$(top_builddir)/UTILS/TIMER/libtimer.la \
$(top_builddir)/UTILS/HASHTABLE/libhashtable.la \ $(top_builddir)/UTILS/HASHTABLE/libhashtable.la \
$(top_builddir)/UDP/libudpserver.la \ $(top_builddir)/UDP/libudpserver.la \
$(top_builddir)/MME_APP/libmmeapp.la \ $(top_builddir)/MME_APP/libmmeapp.la \
......
...@@ -73,11 +73,10 @@ int main(int argc, char *argv[]) ...@@ -73,11 +73,10 @@ int main(int argc, char *argv[])
/* Calling each layer init function */ /* Calling each layer init function */
CHECK_INIT_RETURN(log_init(&mme_config, oai_mme_log_specific)); CHECK_INIT_RETURN(log_init(&mme_config, oai_mme_log_specific));
CHECK_INIT_RETURN(intertask_interface_init(&mme_config, THREAD_MAX, CHECK_INIT_RETURN(intertask_interface_init(THREAD_MAX,
MESSAGES_ID_MAX, threads_name, MESSAGES_ID_MAX, threads_name,
messages_info, messages_info,
messages_definition_xml)); messages_definition_xml));
CHECK_INIT_RETURN(timer_init(&mme_config));
CHECK_INIT_RETURN(nas_init(&mme_config)); CHECK_INIT_RETURN(nas_init(&mme_config));
CHECK_INIT_RETURN(sctp_init(&mme_config)); CHECK_INIT_RETURN(sctp_init(&mme_config));
......
...@@ -10,8 +10,7 @@ AM_CFLAGS = @ADD_CFLAGS@ \ ...@@ -10,8 +10,7 @@ AM_CFLAGS = @ADD_CFLAGS@ \
-I$(top_srcdir)/SGW-LITE \ -I$(top_srcdir)/SGW-LITE \
-I$(top_srcdir)/UDP \ -I$(top_srcdir)/UDP \
-I$(top_srcdir)/UTILS \ -I$(top_srcdir)/UTILS \
-I$(top_srcdir)/UTILS/HASHTABLE \ -I$(top_srcdir)/UTILS/HASHTABLE
-I$(top_srcdir)/UTILS/TIMER
oai_sgw_LDADD = \ oai_sgw_LDADD = \
$(top_builddir)/GTPV1-U/libgtpv1u.la \ $(top_builddir)/GTPV1-U/libgtpv1u.la \
...@@ -20,7 +19,6 @@ oai_sgw_LDADD = \ ...@@ -20,7 +19,6 @@ oai_sgw_LDADD = \
$(top_builddir)/GTPV2-C/nwgtpv2c-0.11/src/libNwGtpv2c.a \ $(top_builddir)/GTPV2-C/nwgtpv2c-0.11/src/libNwGtpv2c.a \
$(top_builddir)/SGI/libsgi.la \ $(top_builddir)/SGI/libsgi.la \
$(top_builddir)/SGW-LITE/libsgw_lite.la \ $(top_builddir)/SGW-LITE/libsgw_lite.la \
$(top_builddir)/UTILS/TIMER/libtimer.la \
$(top_builddir)/UTILS/HASHTABLE/libhashtable.la \ $(top_builddir)/UTILS/HASHTABLE/libhashtable.la \
$(top_builddir)/UDP/libudpserver.la \ $(top_builddir)/UDP/libudpserver.la \
$(top_builddir)/SECU/libsecu.la \ $(top_builddir)/SECU/libsecu.la \
......
...@@ -39,6 +39,7 @@ noinst_LTLIBRARIES = libtest_util.la ...@@ -39,6 +39,7 @@ noinst_LTLIBRARIES = libtest_util.la
common_ldadd = $(top_builddir)/SECU/libsecu.la \ common_ldadd = $(top_builddir)/SECU/libsecu.la \
libtest_util.la \ libtest_util.la \
$(top_builddir)/UTILS/libutils.la \
@CHECK_LIBS@ @CHECK_LIBS@
check_PROGRAMS = \ check_PROGRAMS = \
......
...@@ -78,7 +78,7 @@ int main(int argc, char *argv[]) ...@@ -78,7 +78,7 @@ int main(int argc, char *argv[])
/* Calling each layer init function */ /* Calling each layer init function */
log_init(&mme_config); log_init(&mme_config);
intertask_interface_init(THREAD_MAX, MESSAGES_ID_MAX, threads_name, messages_info); intertask_interface_init(THREAD_MAX, MESSAGES_ID_MAX, threads_name, messages_info, messages_definition_xml);
sctp_init(&mme_config); sctp_init(&mme_config);
udp_init(&mme_config); udp_init(&mme_config);
s1ap_mme_init(&mme_config); s1ap_mme_init(&mme_config);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment