]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/src/third_party/duktape-1.5.2/Makefile.dukdebug
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / third_party / prometheus-cpp / 3rdparty / civetweb / src / third_party / duktape-1.5.2 / Makefile.dukdebug
1 #
2 # Duktape command line tool with debugger support.
3 #
4
5 DUKTAPE_SOURCES = src/duktape.c
6
7 # Windows (MinGW): use examples/debug-trans-socket/duk_trans_socket_windows.c
8 # and link with -lws2_32.
9 DUKTAPE_CMDLINE_SOURCES = \
10 examples/cmdline/duk_cmdline.c \
11 examples/debug-trans-socket/duk_trans_socket_unix.c
12
13 CC = gcc
14 CCOPTS = -Os -pedantic -std=c99 -Wall -fstrict-aliasing -fomit-frame-pointer
15 CCOPTS += -I./src -I./examples/debug-trans-socket
16 CCOPTS += -DDUK_CMDLINE_DEBUGGER_SUPPORT # enable --debugger in ./duk
17 CCOPTS += -DDUK_OPT_DEBUGGER_SUPPORT # enable debugger support in Duktape
18 CCOPTS += -DDUK_OPT_INTERRUPT_COUNTER # prerequisite for debugging
19 CCOPTS += -DDUK_OPT_DEBUGGER_FWD_PRINTALERT # optional debugger features
20 CCOPTS += -DDUK_OPT_DEBUGGER_FWD_LOGGING
21 CCOPTS += -DDUK_OPT_DEBUGGER_DUMPHEAP
22 CCOPTS += -DDUK_OPT_DEBUGGER_INSPECT
23 CCLIBS = -lm
24
25 duk: $(DUKTAPE_SOURCES) $(DUKTAPE_CMDLINE_SOURCES)
26 $(CC) -o $@ $(DEFINES) $(CCOPTS) $(DUKTAPE_SOURCES) $(DUKTAPE_CMDLINE_SOURCES) $(CCLIBS)