Browse Source

Rename default plugin to clish

Serj Kalichev 11 years ago
parent
commit
11fd6a7bb2

+ 0 - 0
plugins/default/builtin_init.c → plugins/clish/builtin_init.c


+ 0 - 0
plugins/default/hook_access.c → plugins/clish/hook_access.c


+ 0 - 0
plugins/default/hook_config.c → plugins/clish/hook_config.c


+ 0 - 0
plugins/default/hook_log.c → plugins/clish/hook_log.c


+ 23 - 0
plugins/clish/module.am

@@ -0,0 +1,23 @@
+lib_LTLIBRARIES+= clish_plugin_clish.la
+clish_plugin_clish_la_SOURCES =
+clish_plugin_clish_la_DEPENDENCIES = \
+	libclish.la \
+	libkonf.la \
+	liblub.la
+clish_plugin_clish_la_LIBADD = \
+	$(clish_plugin_clish_la_DEPENDENCIES)
+
+clish_plugin_clish_la_LDFLAGS	 = -avoid-version -module
+#clish_plugin_clish_la_LDFLAGS	 = -avoid-version -module -shared
+#clish_plugin_clish_la_LDFLAGS	+= -export-symbols-regex "^clish_plugin_lua_"
+
+nobase_include_HEADERS += \
+	plugins/clish/private.h
+
+clish_plugin_clish_la_SOURCES += \
+	plugins/clish/builtin_init.c \
+	plugins/clish/hook_access.c \
+	plugins/clish/hook_config.c \
+	plugins/clish/hook_log.c \
+	plugins/clish/sym_misc.c \
+	plugins/clish/sym_script.c

+ 0 - 0
plugins/default/private.h → plugins/clish/private.h


+ 0 - 0
plugins/default/sym_misc.c → plugins/clish/sym_misc.c


+ 0 - 0
plugins/default/sym_script.c → plugins/clish/sym_script.c


+ 0 - 24
plugins/default/module.am

@@ -1,24 +0,0 @@
-lib_LTLIBRARIES+= clish_plugin_default.la
-clish_plugin_default_la_SOURCES =
-clish_plugin_default_la_LIBADD = \
-	libclish.la \
-	libkonf.la \
-	liblub.la
-clish_plugin_default_la_DEPENDENCIES = \
-	libclish.la \
-	libkonf.la \
-	liblub.la
-
-clish_plugin_default_la_LDFLAGS	 = -avoid-version -module -shared
-#clish_plugin_default_la_LDFLAGS	+= -export-symbols-regex "^clish_plugin_lua_"
-
-nobase_include_HEADERS += \
-	plugins/default/private.h
-
-clish_plugin_default_la_SOURCES += \
-	plugins/default/builtin_init.c \
-	plugins/default/hook_access.c \
-	plugins/default/hook_config.c \
-	plugins/default/hook_log.c \
-	plugins/default/sym_misc.c \
-	plugins/default/sym_script.c

+ 1 - 1
plugins/lua/module.am

@@ -1,7 +1,7 @@
 lib_LTLIBRARIES			+= clish_plugin_lua.la
 clish_plugin_lua_la_SOURCES	 = 
 clish_plugin_lua_la_LIBADD	 = @LUA_LIB@
-clish_plugin_lua_la_LDFLAGS	 = -avoid-version -module -shared
+clish_plugin_lua_la_LDFLAGS	 = -avoid-version -module
 if HAVE_LD_VERSION_SCRIPT
 clish_plugin_lua_la_LDFLAGS	+= -Wl,--version-script=plugins/lua/version.map
 else

+ 2 - 2
plugins/module.am

@@ -2,9 +2,9 @@
 
 EXTRA_DIST += \
 	plugins/lua/module.am \
-	plugins/default/module.am
+	plugins/clish/module.am
 
-include $(top_srcdir)/plugins/default/module.am
+include $(top_srcdir)/plugins/clish/module.am
 if WITH_LUA
 include $(top_srcdir)/plugins/lua/module.am
 endif