Browse Source

Dist/make changes for Windows debug transport

pull/579/head
Sami Vaarala 9 years ago
parent
commit
c5b3d04dee
  1. 2
      Makefile
  2. 4
      dist-files/Makefile.dukdebug
  3. 3
      util/make_dist.py

2
Makefile

@ -171,7 +171,7 @@ DUKTAPE_CMDLINE_SOURCES = \
dist/examples/alloc-logging/duk_alloc_logging.c \
dist/examples/alloc-torture/duk_alloc_torture.c \
dist/examples/alloc-hybrid/duk_alloc_hybrid.c \
dist/examples/debug-trans-socket/duk_trans_socket.c
dist/examples/debug-trans-socket/duk_trans_socket_unix.c
# Compiler setup for Linux
CC = gcc

4
dist-files/Makefile.dukdebug

@ -4,9 +4,11 @@
DUKTAPE_SOURCES = src/duktape.c
# Windows (MinGW): use examples/debug-trans-socket/duk_trans_socket_windows.c
# and link with -lws2_32.
DUKTAPE_CMDLINE_SOURCES = \
examples/cmdline/duk_cmdline.c \
examples/debug-trans-socket/duk_trans_socket.c
examples/debug-trans-socket/duk_trans_socket_unix.c
CC = gcc
CCOPTS = -Os -pedantic -std=c99 -Wall -fstrict-aliasing -fomit-frame-pointer

3
util/make_dist.py

@ -533,7 +533,8 @@ copy_files([
copy_files([
'README.rst',
'duk_trans_socket.c',
'duk_trans_socket_unix.c',
'duk_trans_socket_windows.c',
'duk_trans_socket.h'
], os.path.join('examples', 'debug-trans-socket'), os.path.join(dist, 'examples', 'debug-trans-socket'))

Loading…
Cancel
Save