-export-symbols-regex '^XvMC' \
-no-undefined
+GALLIUM_OMX_LINKER_FLAGS = \
+ -shared \
+ -module \
+ -no-undefined \
+ -export-symbols-regex $(EXPORTS)
+
GALLIUM_VDPAU_LIB_DEPS = \
$(top_builddir)/src/gallium/auxiliary/libgallium.la \
$(top_builddir)/src/gallium/state_trackers/vdpau/libvdpautracker.la \
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
+EXPORTS = '^(omx_component_library_Setup|radeon_drm_winsys_create)$$'
+
include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
omxdir = $(OMX_LIB_INSTALL_DIR)
omx_LTLIBRARIES = libomx_r600.la
-EXPORTS = '^(omx_component_library_Setup|radeon_drm_winsys_create)$$'
-
libomx_r600_la_SOURCES = \
drm_target.c \
$(top_srcdir)/src/gallium/auxiliary/vl/vl_winsys_dri.c
-libomx_r600_la_LDFLAGS = \
- -module \
- -export-symbols-regex $(EXPORTS) \
- -shared \
- -no-undefined
+libomx_r600_la_LDFLAGS = $(GALLIUM_OMX_LINKER_FLAGS)
libomx_r600_la_LIBADD = \
$(top_builddir)/src/gallium/drivers/r600/libr600.la \
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
+EXPORTS = '^(omx_component_library_Setup|radeon_drm_winsys_create)$$'
+
include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
omxdir = $(OMX_LIB_INSTALL_DIR)
omx_LTLIBRARIES = libomx_radeonsi.la
-EXPORTS = '^(omx_component_library_Setup|radeon_drm_winsys_create)$$'
-
libomx_radeonsi_la_SOURCES = \
drm_target.c \
$(top_srcdir)/src/gallium/auxiliary/vl/vl_winsys_dri.c
-libomx_radeonsi_la_LDFLAGS = \
- -module \
- -export-symbols-regex $(EXPORTS) \
- -shared \
- -no-undefined
+libomx_radeonsi_la_LDFLAGS = $(GALLIUM_OMX_LINKER_FLAGS)
libomx_radeonsi_la_LIBADD = \
$(top_builddir)/src/gallium/drivers/radeonsi/libradeonsi.la \