diff options
author | Thomas Hellstrom <[email protected]> | 2011-11-24 21:54:54 +0100 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2011-11-25 16:38:36 +0100 |
commit | 32b1641a59610d94c0b56bf0494b2fc1cf400e3e (patch) | |
tree | d03c7c7eac1cd4eb0d0b917b3225d3a63acf5896 /src | |
parent | 4d04367eca66a85e26f7c0f5d6392823d13880f6 (diff) |
st/xa, xa/vmwgfx: Generate exported symbol list from the st/xa symbols.
Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/xa/xa_symbols | 30 | ||||
-rw-r--r-- | src/gallium/targets/xa-vmwgfx/Makefile | 10 |
2 files changed, 7 insertions, 33 deletions
diff --git a/src/gallium/state_trackers/xa/xa_symbols b/src/gallium/state_trackers/xa/xa_symbols deleted file mode 100644 index 6da701f9702..00000000000 --- a/src/gallium/state_trackers/xa/xa_symbols +++ /dev/null @@ -1,30 +0,0 @@ -xa_tracker_version -xa_tracker_create -xa_tracker_destroy -xa_surface_create -xa_surface_destroy -xa_surface_redefine -xa_surface_dma -xa_surface_map -xa_surface_unmap -xa_surface_format -xa_surface_handle -xa_format_check_supported -xa_context_default -xa_context_create -xa_context_destroy -xa_fence_get -xa_fence_wait -xa_fence_destroy -xa_copy_prepare -xa_copy -xa_copy_done -xa_solid_prepare -xa_solid -xa_solid_done -xa_composite_allocation -xa_composite_check_accelerated -xa_composite_prepare -xa_composite_rect -xa_composite_done -xa_yuv_planar_blit diff --git a/src/gallium/targets/xa-vmwgfx/Makefile b/src/gallium/targets/xa-vmwgfx/Makefile index a4c02d1bca0..6ca446a15dc 100644 --- a/src/gallium/targets/xa-vmwgfx/Makefile +++ b/src/gallium/targets/xa-vmwgfx/Makefile @@ -52,13 +52,17 @@ endif default: $(TOP)/$(LIB_DIR)/gallium/$(XA_LIB_NAME) +# Generate list of library visible symbols +xa_symbols: $(TOP)/src/gallium/state_trackers/xa/libxatracker.o + $(NM) $< | $(GREP) ' T ' | $(AWK) '{print $$3}' > $@ # Make the library -$(TOP)/$(LIB_DIR)/gallium/$(XA_LIB_NAME): depend $(OBJECTS) $(XA_LIB_DEPS) +$(TOP)/$(LIB_DIR)/gallium/$(XA_LIB_NAME): depend $(OBJECTS) $(XA_LIB_DEPS) \ + xa_symbols $(MKLIB) -o $(XA_LIB) -linker $(LD) -ldflags '$(LDFLAGS)' \ -major $(XA_MAJOR) -minor $(XA_MINOR) -patch $(XA_TINY) \ $(MKLIB_OPTIONS) \ - -exports $(TOP)/src/gallium/state_trackers/xa/xa_symbols\ + -exports xa_symbols \ -install $(TOP)/$(LIB_DIR)/gallium \ $(OBJECTS) $(XA_LIB_DEPS) $(GALLIUM_AUXILIARIES) @@ -91,7 +95,7 @@ clean: -rm -f *.la -rm -f *.pc -rm -rf .libs - -rm -f depend depend.bak exptmp + -rm -f depend depend.bak exptmp xa_symbols depend: $(SOURCES) |