]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/plr/server/src/Makefile
update
[l4.git] / l4 / pkg / plr / server / src / Makefile
1 PKGDIR      ?= ../..
2 L4DIR       ?= $(PKGDIR)/../..
3
4 TARGET      = romain
5
6 SYSTEMS     = x86-l4f
7
8 OBSERVERS = $(addprefix fault_handlers/, \
9               debugger.cc \
10               kiptime.cc \
11                           lock_observer.cc \
12               observer.cc \
13               pagefault.cc \
14               print_vcpu_state.cc \
15               replicalog.cc \
16               syscalls.cc \
17               swifi.cc \
18               trap_limit.cc \
19               trap_observer.cc )
20
21 OBSERVERS += $(addprefix redundancy/, \
22                dmr.cc)
23
24 ASMJIT = $(addprefix asmjit/, \
25          Assembler.cc \
26          AssemblerX86X64.cc \
27          CodeGenerator.cc \
28          Compiler.cc \
29          CompilerX86X64.cc \
30          CpuInfo.cc \
31          Defs.cc \
32          DefsX86X64.cc \
33          Logger.cc \
34          MemoryManager.cc \
35          Operand.cc \
36          OperandX86X64.cc \
37          Platform.cc \
38          Util.cc)
39
40 # list your .c or .cc files here
41 SRC_C       =
42 SRC_S       = instruction_length.S
43 SRC_CC      = main.cc \
44               manager.cc \
45               memory.cc \
46               app_loading.cc \
47               app_thread.cc \
48               handler.cc \
49               emulation.cc \
50               logging.cc \
51               $(OBSERVERS) \
52               $(ASMJIT)
53
54 #SRC_CC += gdb_stub/gdb.cc \
55 #          gdb_stub/tcp_connection.cc \
56 #          gdb_stub/serial_connection.cc
57
58
59 # list requirements of your program here
60 REQUIRES_LIBS = libvcpu libstdc++ libloader libudis86 libiniparser libpthread \
61                 cxx_io libio-vbus libuu
62 #REQUIRES_LIBS += lwip liblwip_netif_ankh
63
64 include $(L4DIR)/mk/prog.mk
65
66 DEFINES += -D__L4
67 CXXFLAGS += -Wno-parentheses -Wno-unused -Wno-reorder -Wno-missing-field-initializers \
68             -Wno-sequence-point -Wno-sign-compare -Wno-missing-braces -Wno-uninitialized \
69             -Wno-missing-declarations -Wno-format -Wno-write-strings
70 CXXFLAGS += $(call checkcxx,-std=c++11)