Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tools: initial wrk.gyp file

  • Loading branch information...
commit d6ce3e7aac3bfcb94a79a531eca7e1ae97731401 1 parent 3c22c42
@TooTallNate authored
Showing with 43 additions and 0 deletions.
  1. +43 −0 tools/wrk/wrk.gyp
View
43 tools/wrk/wrk.gyp
@@ -0,0 +1,43 @@
+# This file is used with the GYP meta build system.
+# http://code.google.com/p/gyp
+# To build try this:
+# svn co http://gyp.googlecode.com/svn/trunk gyp
+# ./gyp/gyp -f make --depth=. wrk.gyp
+# make
+# ./out/Debug/wrk
+
+{
+ 'targets': [{
+ 'target_name': 'wrk',
+ 'type': 'executable',
+ 'sources': [
+ 'src/wrk.c',
+ 'src/aprintf.c',
+ 'src/stats.c',
+ 'src/units.c',
+ 'src/ae.c',
+ 'src/zmalloc.c',
+ 'src/http_parser.c',
+ 'src/tinymt64.c',
+ ],
+ 'libraries': [
+ '-lm',
+ '-pthread',
+ ],
+ 'cflags': [
+ '-std=c99',
+ '-Wall',
+ '-O2',
+ '-pthread',
+ ],
+ 'conditions': [
+ ['OS=="solaris"', {
+ 'libraries': [
+ '-lnsl',
+ '-lsocket',
+ '-lresolv',
+ ],
+ }],
+ ],
+ }],
+}

1 comment on commit d6ce3e7

@TooTallNate
Owner

/cc @ry

Please sign in to comment.
Something went wrong with that request. Please try again.