diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2021-04-06 22:55:54 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2021-04-06 22:55:54 (GMT) |
commit | c12d6a5d11bf9a2436ff78e393173ca59b6c9c46 (patch) | |
tree | b579b642e301f5d6e6d88fb0213a54db6bf6fd38 /plugins/bhash/Makefile.am | |
parent | c4d2e0fa48eab453d5c43a3c0938427617449a6a (diff) |
Provide several kinds of hashes for binary files.
Diffstat (limited to 'plugins/bhash/Makefile.am')
-rw-r--r-- | plugins/bhash/Makefile.am | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/plugins/bhash/Makefile.am b/plugins/bhash/Makefile.am new file mode 100644 index 0000000..44d1c21 --- /dev/null +++ b/plugins/bhash/Makefile.am @@ -0,0 +1,52 @@ + +lib_LTLIBRARIES = libbhash.la + +libdir = $(pluginslibdir) + + +if BUILD_PYTHON3_BINDINGS + +PYTHON3_LIBADD = \ + python/libbhashpython.la + +if BUILD_DISCARD_LOCAL + +PYTHON3_LDFLAGS = -Wl,-rpath,$(pluginslibdir) \ + -L$(top_srcdir)/plugins/pychrysalide/.libs -l:pychrysalide.so + +else + +PYTHON3_LDFLAGS = -Wl,-rpath,$(abs_top_srcdir)/plugins/pychrysalide/.libs \ + -L$(top_srcdir)/plugins/pychrysalide/.libs -l:pychrysalide.so + +endif + +PYTHON3_SUBDIRS = python + +endif + + +libbhash_la_SOURCES = \ + core.h core.c \ + imphash.h imphash.c \ + tlsh.h tlsh.c \ + rich.h rich.c + +libbhash_la_LIBADD = \ + $(PYTHON3_LIBADD) + +libbhash_la_LDFLAGS = \ + -L$(top_srcdir)/src/.libs -lchrysacore \ + $(PYTHON3_LDFLAGS) + + +devdir = $(includedir)/chrysalide/$(subdir) + +dev_HEADERS = $(libbhash_la_SOURCES:%c=) + + +AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) -I$(top_srcdir)/src + +AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS) + +SUBDIRS = $(PYTHON3_SUBDIRS) |