diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2006-01-31 22:22:05 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2006-01-31 22:22:05 +0000 |
commit | c8dd927e0c6dd23f065c965f08e4921ed2635fda (patch) | |
tree | 2c4b99a172f89f5f443d783e7e2cd448eec1019d /Makefile.am | |
parent | 42bf48fa74032b40af0c750daf9e0daca6c23d68 (diff) | |
download | wireshark-c8dd927e0c6dd23f065c965f08e4921ed2635fda.tar.gz wireshark-c8dd927e0c6dd23f065c965f08e4921ed2635fda.tar.bz2 wireshark-c8dd927e0c6dd23f065c965f08e4921ed2635fda.zip |
It was hard.. but at the end I won (or at least i believe so...).
After install hello_world.lua works.
svn path=/trunk/; revision=17137
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index f0eb98b2fd..6b8960ba52 100644 --- a/Makefile.am +++ b/Makefile.am @@ -178,6 +178,13 @@ PLATFORM_SRC = capture-pcap-util-unix.c include Makefile.common if HAVE_PLUGINS + +if HAVE_LIBLUA +lua_lib = plugins/lua/lua.la +else # HAVE_LIBLUA +lua_lib = +endif # HAVE_LIBLUA + plugin_libs = \ plugins/acn/acn.la \ plugins/agentx/agentx.la \ @@ -190,7 +197,9 @@ plugin_libs = \ plugins/giop/coseventcomm.la \ plugins/gryphon/gryphon.la \ plugins/irda/irda.la \ + $(lua_lib) \ plugins/lwres/lwres.la \ + plugins/mate/mate.la \ plugins/megaco/megaco.la \ plugins/mgcp/mgcp.la \ plugins/opsi/opsi.la \ @@ -200,12 +209,20 @@ plugin_libs = \ plugins/rlm/rlm.la \ plugins/rtnet/rtnet.la \ plugins/rudp/rudp.la \ + plugins/stats_tree/stats_tree.la \ plugins/v5ua/v5ua.la if ENABLE_STATIC plugin_ldadd = $(plugin_libs) else # ENABLE_STATIC + +if HAVE_LIBLUA +lua_ldadd = "-dlopen" plugins/lua/lua.la +else # HAVE_LIBLUA +lua_ldadd = +endif # HAVE_LIBLUA + plugin_ldadd = \ "-dlopen" self \ "-dlopen" plugins/acn/acn.la \ @@ -218,8 +235,11 @@ plugin_ldadd = \ "-dlopen" plugins/giop/cosnaming.la \ "-dlopen" plugins/giop/coseventcomm.la \ "-dlopen" plugins/gryphon/gryphon.la \ + "-dlopen" plugins/h223/h223.la \ "-dlopen" plugins/irda/irda.la \ + $(lua_ldadd) \ "-dlopen" plugins/lwres/lwres.la \ + "-dlopen" plugins/mate/mate.la \ "-dlopen" plugins/megaco/megaco.la \ "-dlopen" plugins/mgcp/mgcp.la \ "-dlopen" plugins/opsi/opsi.la \ @@ -229,6 +249,7 @@ plugin_ldadd = \ "-dlopen" plugins/rlm/rlm.la \ "-dlopen" plugins/rtnet/rtnet.la \ "-dlopen" plugins/rudp/rudp.la \ + "-dlopen" plugins/stats_tree/stats_tree.la \ "-dlopen" plugins/v5ua/v5ua.la endif # ENABLE_STATIC |