[Forensics-changes] [yara] 55/135: Rename modules/list to modules/module_list
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:27:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag v3.1.0
in repository yara.
commit 86b09b48b40c564b47facb3c12c89cdeb5330e6e
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Tue Jul 15 12:07:58 2014 +0200
Rename modules/list to modules/module_list
---
libyara/Makefile.am | 23 ++++++++++++++++-------
libyara/modules.c | 4 ++--
libyara/modules/{list => module_list} | 3 +--
3 files changed, 19 insertions(+), 11 deletions(-)
diff --git a/libyara/Makefile.am b/libyara/Makefile.am
index c79916e..c8aebc5 100644
--- a/libyara/Makefile.am
+++ b/libyara/Makefile.am
@@ -1,3 +1,19 @@
+
+MODULES = modules/tests.c
+MODULES += modules/pe.c
+
+if CUCKOO
+MODULES += modules/cuckoo.c
+endif
+
+#
+# Add your modules here:
+#
+# MODULES += modules/yourmodule.c
+#
+
+MODULES += modules/demo.c
+
AM_YFLAGS=-d
AM_CFLAGS=-g -O0 -Wall -std=gnu99 -I./include
@@ -20,13 +36,6 @@ lib_LTLIBRARIES = libyara.la
libyara_la_LDFLAGS = -export-symbols libyara.sym -version-number 2:1
-
-MODULES = modules/tests.c modules/pe.c
-
-if CUCKOO
-MODULES += modules/cuckoo.c
-endif
-
libyara_la_SOURCES = \
$(MODULES) \
grammar.y \
diff --git a/libyara/modules.c b/libyara/modules.c
index 5266ef8..4ab8c6c 100644
--- a/libyara/modules.c
+++ b/libyara/modules.c
@@ -31,7 +31,7 @@ limitations under the License.
int name ## _unload(YR_OBJECT* main_structure);
-#include <modules/list>
+#include <modules/module_list>
#undef MODULE
@@ -41,7 +41,7 @@ limitations under the License.
YR_MODULE yr_modules_table[] =
{
- #include <modules/list>
+ #include <modules/module_list>
};
#undef MODULE
diff --git a/libyara/modules/list b/libyara/modules/module_list
similarity index 87%
rename from libyara/modules/list
rename to libyara/modules/module_list
index 7cbccab..0d67e28 100644
--- a/libyara/modules/list
+++ b/libyara/modules/module_list
@@ -3,5 +3,4 @@ MODULE(pe)
#ifdef CUCKOO
MODULE(cuckoo)
-#endif
-
+#endif
\ No newline at end of file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git
More information about the forensics-changes
mailing list