2015-08-24 15:21:57 +03:00
|
|
|
CFLAGS += -I../include
|
2015-09-24 09:18:02 +03:00
|
|
|
LDFLAGS += ../../libunicorn.a $(shell pkg-config --libs glib-2.0) -lpthread -lm
|
2015-08-24 14:00:54 +03:00
|
|
|
|
2015-08-27 01:19:12 +03:00
|
|
|
TESTS = map_crash map_write
|
|
|
|
TESTS += sigill sigill2
|
|
|
|
TESTS += block_test
|
2015-08-28 17:23:26 +03:00
|
|
|
TESTS += ro_mem_test nr_mem_test
|
2015-08-29 22:51:35 +03:00
|
|
|
TESTS += timeout_segfault
|
2015-09-01 15:05:33 +03:00
|
|
|
TESTS += rep_movsb
|
2015-09-04 10:48:24 +03:00
|
|
|
TESTS += mem_unmap
|
2015-10-21 23:25:49 +03:00
|
|
|
TESTS += mem_double_unmap
|
2015-09-04 10:48:24 +03:00
|
|
|
TESTS += mem_protect
|
|
|
|
TESTS += mem_exec
|
2015-10-27 06:25:34 +03:00
|
|
|
TESTS += mips_kseg0_1
|
2015-11-04 10:38:57 +03:00
|
|
|
TESTS += eflags_nosync
|
2015-11-05 15:41:15 +03:00
|
|
|
TESTS += 00opcode_uc_crash
|
2015-11-10 01:49:01 +03:00
|
|
|
TESTS += eflags_noset
|
2015-08-24 14:00:54 +03:00
|
|
|
|
|
|
|
all: $(TESTS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(TESTS)
|
|
|
|
|
2015-09-04 14:56:35 +03:00
|
|
|
%: %.c
|
|
|
|
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
|
|
|
|
|
2015-08-24 14:00:54 +03:00
|
|
|
.PHONY: all clean
|