forked from VirusTotal/yara
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
33 lines (24 loc) · 991 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
AM_CFLAGS=-O3 -std=gnu99 -Wall -I$(srcdir)/libyara/include
# Build the library in the hand subdirectory first.
SUBDIRS = libyara
DIST_SUBDIRS = libyara
ACLOCAL_AMFLAGS=-I m4
bin_PROGRAMS = yara yarac
yara_SOURCES = args.c args.h threading.c threading.h yara.c
yara_LDADD = libyara/.libs/libyara.a
yarac_SOURCES = args.c args.h yarac.c
yarac_LDADD = libyara/.libs/libyara.a
TESTS = $(check_PROGRAMS)
check_PROGRAMS = test-alignment test-rules test-pe test-elf test-exception
test_alignment_SOURCES = tests/test-alignment.c
test_rules_SOURCES = tests/test-rules.c tests/util.c
test_rules_LDADD = libyara/.libs/libyara.a
test_pe_SOURCES = tests/test-pe.c tests/util.c
test_pe_LDADD = libyara/.libs/libyara.a
test_elf_SOURCES = tests/test-elf.c tests/util.c
test_elf_LDADD = libyara/.libs/libyara.a
test_exception_SOURCES = tests/test-exception.c tests/util.c
test_exception_LDADD = libyara/.libs/libyara.a
# man pages
man1_MANS = yara.man yarac.man
EXTRA_DIST = $(man1_MANS) README.md