aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-keystone2/Makefile.am
blob: bd52f2d74f38ccebdf81ae7adc29faba078caf99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# 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