diff options
author | David Schleef <ds@schleef.org> | 2004-04-20 22:21:59 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2004-04-20 22:21:59 +0000 |
commit | 63d93f01177745ba864263f0b6f976212684cb87 (patch) | |
tree | 1ba269d58e3cf62993053c3868f8b6d3367b6024 | |
parent | e55182f6eece70ff99e33b9800b27a926670dbdd (diff) | |
download | gstreamer-common-63d93f01177745ba864263f0b6f976212684cb87.tar.gz |
common/as-libtool.mak: Fine-tune DLL building.
Original commit message from CVS:
* common/as-libtool.mak: Fine-tune DLL building.
* configure.ac: Link plugins against libgstreamer. Define plugindir
(like gst-plugins)
* examples/plugins/Makefile.am: remove plugindir
* gst/autoplug/Makefile.am: DLL building fixes
* gst/elements/Makefile.am: DLL building fixes. Disable pipefilter on
Windows.
* gst/elements/gstelements.c: Conditionally disable pipefilter.
* gst/indexers/Makefile.am: DLL building fixes
* gst/schedulers/Makefile.am: DLL building fixes.
* libs/gst/bytestream/Makefile.am: DLL building fixes.
* libs/gst/control/Makefile.am: same
* libs/gst/getbits/Makefile.am: same
* testsuite/Makefile.am: New dlopen directory
* testsuite/dlopen/Makefile.am: Tests to check if libgstreamer works
when dlopened.
* testsuite/dlopen/dlopen_gst.c: (main): same
* testsuite/dlopen/loadgst.c: (do_test): same
-rw-r--r-- | as-libtool.mak | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/as-libtool.mak b/as-libtool.mak index 1ddf1e3..dabbecf 100644 --- a/as-libtool.mak +++ b/as-libtool.mak @@ -14,18 +14,16 @@ if AS_LIBTOOL_WIN32 as_libtool_noinst_DATA_files = $(AS_LIBTOOL_LIB).lib -as_libtool_LDFLAGS = -no-undefined -export-symbols $(srcdir)/$(AS_LIBTOOL_LIB).def +as_libtool_LDFLAGS = -no-undefined # depend on this in install-data-local as-libtool-install-data-local: $(INSTALL) $(AS_LIBTOOL_LIB).lib $(DESTDIR)$(libdir) - $(INSTALL) .libs/$(AS_LIBTOOL_LIB).dll.a $(DESTDIR)$(libdir) - $(INSTALL) $(srcdir)/$(AS_LIBTOOL_LIB).def $(DESTDIR)$(libdir) + $(INSTALL) $(AS_LIBTOOL_LIB).def $(DESTDIR)$(libdir) # depend on this in uninstall-local as-libtool-uninstall-local: -rm $(DESTDIR)$(libdir)/$(AS_LIBTOOL_LIB).lib - -rm $(DESTDIR)$(libdir)/$(AS_LIBTOOL_LIB).dll.a -rm $(DESTDIR)$(libdir)/$(AS_LIBTOOL_LIB).def else @@ -41,9 +39,9 @@ $(AS_LIBTOOL_LIB).lib: $(AS_LIBTOOL_LIB).la $(AS_LIBTOOL_LIB).def $(AS_LIBTOOL_LIB).def: echo EXPORTS >$(AS_LIBTOOL_LIB).def.tmp - nm --defined-only -g .libs/$(AS_LIBTOOL_LIB).so | \ + nm --defined-only -g .libs/$(AS_LIBTOOL_LIB).a | \ + grep ^0 | \ awk '{ print $$3 }' | \ - grep -v '^{_DYNAMIC,_GLOBAL_OFFSET_TABLE_,__bss_start,_edata,_end,_fini,_init}$$' | \ sed 's/^/ /' >>$(AS_LIBTOOL_LIB).def.tmp mv $(AS_LIBTOOL_LIB).def.tmp $(AS_LIBTOOL_LIB).def |