aboutsummaryrefslogtreecommitdiff
path: root/platform/Makefile.inc
blob: 053bd12136d3c41d94205dcff4d2fc476c726fa8 (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
LIB   = $(top_builddir)/lib

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(top_builddir)/pkgconfig/libodp-linux.pc

.PHONY: pkgconfig/libodp-linux.pc

VPATH = $(srcdir) $(builddir)
lib_LTLIBRARIES = $(LIB)/libodp-linux.la

AM_LDFLAGS += -version-number '$(ODP_LIBSO_VERSION)'

GIT_DESC = `$(top_srcdir)/scripts/get_impl_str.sh $(top_srcdir)`
AM_CFLAGS += "-DGIT_HASH=$(GIT_DESC)"
AM_CFLAGS += $(VISIBILITY_CFLAGS)

#The implementation will need to retain the deprecated implementation
AM_CFLAGS += -Wno-deprecated-declarations

odpapispecincludedir= $(includedir)/odp/api/spec
odpapispecinclude_HEADERS = \
		  $(top_srcdir)/include/odp/api/spec/align.h \
		  $(top_srcdir)/include/odp/api/spec/atomic.h \
		  $(top_srcdir)/include/odp/api/spec/barrier.h \
		  $(top_srcdir)/include/odp/api/spec/buffer.h \
		  $(top_srcdir)/include/odp/api/spec/byteorder.h \
		  $(top_srcdir)/include/odp/api/spec/classification.h \
		  $(top_srcdir)/include/odp/api/spec/compiler.h \
		  $(top_srcdir)/include/odp/api/spec/cpu.h \
		  $(top_srcdir)/include/odp/api/spec/cpumask.h \
		  $(top_srcdir)/include/odp/api/spec/crypto.h \
		  $(top_srcdir)/include/odp/api/spec/debug.h \
		  $(top_srcdir)/include/odp/api/spec/errno.h \
		  $(top_srcdir)/include/odp/api/spec/event.h \
		  $(top_srcdir)/include/odp/api/spec/hash.h \
		  $(top_srcdir)/include/odp/api/spec/hints.h \
		  $(top_srcdir)/include/odp/api/spec/init.h \
		  $(top_srcdir)/include/odp/api/spec/packet.h \
		  $(top_srcdir)/include/odp/api/spec/packet_flags.h \
		  $(top_srcdir)/include/odp/api/spec/packet_io.h \
		  $(top_srcdir)/include/odp/api/spec/packet_io_stats.h \
		  $(top_srcdir)/include/odp/api/spec/pool.h \
		  $(top_srcdir)/include/odp/api/spec/queue.h \
		  $(top_srcdir)/include/odp/api/spec/random.h \
		  $(top_srcdir)/include/odp/api/spec/rwlock.h \
		  $(top_srcdir)/include/odp/api/spec/rwlock_recursive.h \
		  $(top_srcdir)/include/odp/api/spec/schedule.h \
		  $(top_srcdir)/include/odp/api/spec/schedule_types.h \
		  $(top_srcdir)/include/odp/api/spec/shared_memory.h \
		  $(top_srcdir)/include/odp/api/spec/spinlock.h \
		  $(top_srcdir)/include/odp/api/spec/spinlock_recursive.h \
		  $(top_srcdir)/include/odp/api/spec/std_clib.h \
		  $(top_srcdir)/include/odp/api/spec/std_types.h \
		  $(top_srcdir)/include/odp/api/spec/sync.h \
		  $(top_srcdir)/include/odp/api/spec/system_info.h \
		  $(top_srcdir)/include/odp/api/spec/thread.h \
		  $(top_srcdir)/include/odp/api/spec/thrmask.h \
		  $(top_srcdir)/include/odp/api/spec/ticketlock.h \
		  $(top_srcdir)/include/odp/api/spec/time.h \
		  $(top_srcdir)/include/odp/api/spec/timer.h \
		  $(top_srcdir)/include/odp/api/spec/traffic_mngr.h \
		  $(top_srcdir)/include/odp/api/spec/version.h