-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
38 lines (29 loc) · 1.22 KB
/
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
33
34
35
36
37
38
ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS=-D DEBUG
AM_CFLAGS+=-D WARNING
AM_CFLAGS+=-D BIG_ENDIAN_SIMULATOR
# Uncomment if performance when running with -DDEBUG is an issue
# Warning, if uncommented, issuing calls to debug functions during options
# parsing might result in debug flag incorrectly set to 0 for some files
#AM_CFLAGS+=-D CACHE_DEBUG_FLAG
LDADD=-lpthread
if HAVE_ARM_COMPILER
SUBDIRS=. Examples
endif
bin_PROGRAMS=arm_simulator send_irq memory_test
COMMON=csapp.h csapp.c scanner.h scanner.l debug.h debug.c \
gdb_protocol.h gdb_protocol.c util.h util.c trace.h trace.c \
memory.h memory.c trace_location.h no_trace_location.h \
registers.h registers.c \
arm.h arm.c \
arm_constants.h arm_constants.c \
arm_core.h arm_core.c \
arm_exception.h arm_exception.c \
arm_instruction.h arm_instruction.c \
arm_data_processing.h arm_data_processing.c \
arm_load_store.h arm_load_store.c \
arm_branch_other.h arm_branch_other.c
arm_simulator_SOURCES=$(COMMON) arm_simulator.c
send_irq_SOURCES=send_irq.c csapp.h csapp.c arm_constants.h arm_constants.c
memory_test_SOURCES=memory_test.c memory.h memory.c util.h util.c
EXTRA_DIST=gdb_commands make_trace.sh License