# Copyright (c) 2014, Linaro Limited # Copyright (c) 2014, Texas Instruments Incorporated # All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause include $(top_srcdir)/platform/Makefile.inc include Makefile.inc AM_CFLAGS += -I$(srcdir)/include AM_CFLAGS += -I$(top_srcdir)/include AM_CFLAGS += -I$(top_srcdir)/platform/linux-generic/include AM_CFLAGS += -I$(top_srcdir)/helper/include KS2_LIBS = -lopenem -lopenem_osal KS2_LIBS += -lnwalsa_$(KS2_DEVICE) -lpktlib -lpa -lsa KS2_LIBS += -lcppi_$(KS2_DEVICE) -lqmss_$(KS2_DEVICE) -lrm -lhplib_$(KS2_DEVICE) LIBS += $(KS2_LIBS) linux_generic_srcdir = $(top_srcdir)/platform/linux-generic include_HEADERS = \ $(top_srcdir)/include/odp.h odpincludedir= $(includedir)/odp odpinclude_HEADERS = \ $(srcdir)/include/odp/buffer.h \ $(srcdir)/include/odp/classification.h \ $(srcdir)/include/odp/config.h \ $(srcdir)/include/odp/crypto.h \ $(srcdir)/include/odp/event.h \ $(srcdir)/include/odp/packet_flags.h \ $(srcdir)/include/odp/packet_io.h \ $(srcdir)/include/odp/packet.h \ $(srcdir)/include/odp/pool.h \ $(srcdir)/include/odp/queue.h \ $(srcdir)/include/odp/schedule.h \ $(srcdir)/include/odp/time.h \ $(linux_generic_srcdir)/include/odp/align.h \ $(linux_generic_srcdir)/include/odp/atomic.h \ $(linux_generic_srcdir)/include/odp/barrier.h \ $(linux_generic_srcdir)/include/odp/byteorder.h \ $(linux_generic_srcdir)/include/odp/compiler.h \ $(linux_generic_srcdir)/include/odp/cpu.h \ $(linux_generic_srcdir)/include/odp/cpumask.h \ $(linux_generic_srcdir)/include/odp/debug.h \ $(linux_generic_srcdir)/include/odp/errno.h \ $(linux_generic_srcdir)/include/odp/hints.h \ $(linux_generic_srcdir)/include/odp/init.h \ $(linux_generic_srcdir)/include/odp/random.h \ $(linux_generic_srcdir)/include/odp/rwlock.h \ $(linux_generic_srcdir)/include/odp/rwlock_recursive.h \ $(linux_generic_srcdir)/include/odp/shared_memory.h \ $(linux_generic_srcdir)/include/odp/spinlock.h \ $(linux_generic_srcdir)/include/odp/spinlock_recursive.h \ $(linux_generic_srcdir)/include/odp/std_types.h \ $(linux_generic_srcdir)/include/odp/sync.h \ $(linux_generic_srcdir)/include/odp/system_info.h \ $(linux_generic_srcdir)/include/odp/thread.h \ $(linux_generic_srcdir)/include/odp/thrmask.h \ $(linux_generic_srcdir)/include/odp/ticketlock.h \ $(linux_generic_srcdir)/include/odp/timer.h \ $(linux_generic_srcdir)/include/odp/version.h odpplatincludedir = $(includedir)/odp/plat odpplatinclude_HEADERS = \ $(srcdir)/include/odp/plat/align.h \ $(srcdir)/include/odp/plat/buffer_types.h \ $(srcdir)/include/odp/plat/classification_types.h \ $(srcdir)/include/odp/plat/crypto_types.h \ $(srcdir)/include/odp/plat/debug.h \ $(srcdir)/include/odp/plat/event_types.h \ $(srcdir)/include/odp/plat/mcsdk_tune.h \ $(srcdir)/include/odp/plat/osal.h \ $(srcdir)/include/odp/plat/packet_io_types.h \ $(srcdir)/include/odp/plat/packet_types.h \ $(srcdir)/include/odp/plat/pool_types.h \ $(srcdir)/include/odp/plat/schedule_types.h \ $(srcdir)/include/odp/plat/queue_types.h \ $(srcdir)/include/odp/plat/shared_resource.h \ $(srcdir)/include/odp/plat/state.h \ $(srcdir)/include/odp/plat/ti_mcsdk.h \ $(srcdir)/include/odp/plat/ti_openem.h \ $(srcdir)/include/odp/plat/time_types.h \ $(linux_generic_srcdir)/include/odp/plat/atomic_types.h \ $(linux_generic_srcdir)/include/odp/plat/byteorder_types.h \ $(linux_generic_srcdir)/include/odp/plat/cpumask_types.h \ $(linux_generic_srcdir)/include/odp/plat/shared_memory_types.h \ $(linux_generic_srcdir)/include/odp/plat/strong_types.h \ $(linux_generic_srcdir)/include/odp/plat/thrmask_types.h \ $(linux_generic_srcdir)/include/odp/plat/timer_types.h \ $(linux_generic_srcdir)/include/odp/plat/rwlock_types.h \ $(linux_generic_srcdir)/include/odp/plat/rwlock_recursive_types.h \ $(linux_generic_srcdir)/include/odp/plat/spinlock_types.h \ $(linux_generic_srcdir)/include/odp/plat/spinlock_recursive_types.h \ $(linux_generic_srcdir)/include/odp/plat/version_types.h odpapiincludedir= $(includedir)/odp/api odpapiinclude_HEADERS = \ $(top_srcdir)/include/odp/api/align.h \ $(top_srcdir)/include/odp/api/atomic.h \ $(top_srcdir)/include/odp/api/barrier.h \ $(top_srcdir)/include/odp/api/buffer.h \ $(top_srcdir)/include/odp/api/byteorder.h \ $(top_srcdir)/include/odp/api/classification.h \ $(top_srcdir)/include/odp/api/compiler.h \ $(top_srcdir)/include/odp/api/config.h \ $(top_srcdir)/include/odp/api/cpu.h \ $(top_srcdir)/include/odp/api/cpumask.h \ $(top_srcdir)/include/odp/api/crypto.h \ $(top_srcdir)/include/odp/api/debug.h \ $(top_srcdir)/include/odp/api/errno.h \ $(top_srcdir)/include/odp/api/event.h \ $(top_srcdir)/include/odp/api/hints.h \ $(top_srcdir)/include/odp/api/init.h \ $(top_srcdir)/include/odp/api/packet.h \ $(top_srcdir)/include/odp/api/packet_flags.h \ $(top_srcdir)/include/odp/api/packet_io.h \ $(top_srcdir)/include/odp/api/pool.h \ $(top_srcdir)/include/odp/api/queue.h \ $(top_srcdir)/include/odp/api/random.h \ $(top_srcdir)/include/odp/api/rwlock.h \ $(top_srcdir)/include/odp/api/schedule.h \ $(top_srcdir)/include/odp/api/shared_memory.h \ $(top_srcdir)/include/odp/api/spinlock.h \ $(top_srcdir)/include/odp/api/std_types.h \ $(top_srcdir)/include/odp/api/sync.h \ $(top_srcdir)/include/odp/api/system_info.h \ $(top_srcdir)/include/odp/api/thread.h \ $(top_srcdir)/include/odp/api/thrmask.h \ $(top_srcdir)/include/odp/api/ticketlock.h \ $(top_srcdir)/include/odp/api/time.h \ $(top_srcdir)/include/odp/api/timer.h \ $(top_srcdir)/include/odp/api/hash.h\ $(top_srcdir)/include/odp/api/version.h subdirheadersdir = $(includedir)/odp/helper subdirheaders_HEADERS = \ $(top_srcdir)/helper/include/odp/helper/chksum.h \ $(top_srcdir)/helper/include/odp/helper/eth.h \ $(top_srcdir)/helper/include/odp/helper/icmp.h \ $(top_srcdir)/helper/include/odp/helper/ip.h \ $(top_srcdir)/helper/include/odp/helper/ipsec.h \ $(top_srcdir)/helper/include/odp/helper/linux.h \ $(top_srcdir)/helper/include/odp/helper/ring.h \ $(top_srcdir)/helper/include/odp/helper/tcp.h \ $(top_srcdir)/helper/include/odp/helper/udp.h __LIB__libodp_la_SOURCES = \ odp_init.c \ odp_pool.c \ odp_buffer.c \ odp_classification.c \ odp_packet.c \ odp_queue.c \ odp_packet_io.c \ odp_schedule.c \ odp_crypto.c \ odp_time.c \ odp_cpu_cycles.c \ odp_event.c \ mcsdk/cppi_flow.c \ mcsdk/mcsdk_init.c \ mcsdk/mcsdk_navig.c \ mcsdk/mcsdk_rmclient.c \ mcsdk/pa_lut_entry.c \ mcsdk/sockutils.c \ openem_init.c \ shared_resource.c \ ../linux-generic/odp_barrier.c \ ../linux-generic/odp_cpumask.c \ ../linux-generic/odp_cpumask_task.c \ ../linux-generic/odp_errno.c \ ../linux-generic/odp_impl.c \ ../../helper/linux.c \ ../../helper/ring.c \ ../linux-generic/odp_rwlock.c \ ../linux-generic/odp_rwlock_recursive.c \ ../linux-generic/odp_shared_memory.c \ ../linux-generic/odp_spinlock.c \ ../linux-generic/odp_spinlock_recursive.c \ ../linux-generic/odp_system_info.c \ ../linux-generic/odp_thread.c \ ../linux-generic/odp_thrmask.c \ ../linux-generic/odp_ticketlock.c \ ../linux-generic/odp_timer.c \ ../linux-generic/odp_version.c \ ../linux-generic/odp_weak.c \ ../linux-generic/odp_hash.c