Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 5_02_02_60
Fetching contributors…

Cannot retrieve contributors at this time

file 40 lines (33 sloc) 1.434 kb
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
include @EZSDKDIR@/Rules.make

lib_LTLIBRARIES = libOMX_Core.la
libOMX_Core_la_SOURCES= dummy.c
libOMX_Core_la_LIBADD= -lstdc++ -lm -lrt
libOMX_Core_la_LDFLAGS = -version-info 1:0:0 \
-Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-u,OMX_Init -Wl,-u,OMX_Deinit \
-Wl,-u,OMX_ComponentNameEnum -Wl,-u,OMX_GetHandle -Wl,-u,OMX_FreeHandle \
-Wl,-u,OMX_GetRolesOfComponent -pthread -Wl,linker.script

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libOMX_Core.pc

EXTRA_DIST = libOMX_Core.pc.in linker.script.in

BUILT_SOURCES = linker.script libOMX_Core.pc

linker.script: $(srcdir)/linker.script.in
sed -e "s?@OMX_INSTALL_DIR@?$(OMX_INSTALL_DIR)?" \
-e "s?@OSAL_INSTALL_DIR@?$(OSAL_INSTALL_DIR)?" \
-e "s?@SYSLINK_INSTALL_DIR@?$(SYSLINK_INSTALL_DIR)?" \
-e "s?@FC_INSTALL_DIR@?$(FC_INSTALL_DIR)?" \
-e "s?@UIA_INSTALL_DIR@?$(UIA_INSTALL_DIR)?" \
-e "s?@LINUXUTILS_INSTALL_DIR@?$(LINUXUTILS_INSTALL_DIR)?" \
-e "s?@PLATFORM@?$(TARGETPLATFORM)?" \
$< > $@

libOMX_Core.pc: $(srcdir)/libOMX_Core.pc.in
sed -e "s?@&prefix@?@prefix@?" \
-e "s?@&exec_prefix@?@exec_prefix@?" \
-e "s?@&libdir@?@libdir@?" \
-e "s?@&VERSION@?@VERSION@?" \
-e "s?@&OMXVERSION@?@OMXVERSION@?" \
-e "s?@OMX_INSTALL_DIR@?$(OMX_INSTALL_DIR)?" \
-e "s?@XDC_INSTALL_DIR@?$(XDC_INSTALL_DIR)?" \
-e "s?@KERNEL_INSTALL_DIR@?$(KERNEL_INSTALL_DIR)?g" \
$< > $@

clean-local:
rm -f linker.script
Something went wrong with that request. Please try again.