lounge_lizard 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.gitmodules +3 -0
- data/.rspec +2 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/Guardfile +33 -0
- data/LICENSE.txt +21 -0
- data/README.md +50 -0
- data/Rakefile +43 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/circle.yml +14 -0
- data/ext/drafter/CHANGELOG.md +278 -0
- data/ext/drafter/Dockerfile +17 -0
- data/ext/drafter/Makefile +62 -0
- data/ext/drafter/appveyor.yml +17 -0
- data/ext/drafter/bin/drafter +0 -0
- data/ext/drafter/build/Makefile +387 -0
- data/ext/drafter/build/drafter.Makefile +6 -0
- data/ext/drafter/build/drafter.target.mk +159 -0
- data/ext/drafter/build/ext/snowcrash/libmarkdownparser.target.mk +141 -0
- data/ext/drafter/build/ext/snowcrash/libsnowcrash.target.mk +154 -0
- data/ext/drafter/build/ext/snowcrash/libsundown.target.mk +149 -0
- data/ext/drafter/build/ext/snowcrash/perf-libsnowcrash.target.mk +147 -0
- data/ext/drafter/build/ext/snowcrash/snowcrash.Makefile +6 -0
- data/ext/drafter/build/gyp-mac-tool +606 -0
- data/ext/drafter/build/libdrafter.target.mk +186 -0
- data/ext/drafter/build/libsos.target.mk +137 -0
- data/ext/drafter/build/out/Release/drafter +0 -0
- data/ext/drafter/build/out/Release/libdrafter.dylib +0 -0
- data/ext/drafter/build/out/Release/libmarkdownparser.a +0 -0
- data/ext/drafter/build/out/Release/libsnowcrash.a +0 -0
- data/ext/drafter/build/out/Release/libsos.a +0 -0
- data/ext/drafter/build/out/Release/libsundown.a +0 -0
- data/ext/drafter/build/out/Release/obj.target/drafter/src/config.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/drafter/src/main.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/drafter/src/reporting.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/ConversionContext.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/NamedTypesRegistry.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/RefractAPI.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/RefractDataStructure.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/RefractElementFactory.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/RefractSourceMap.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/Render.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/Serialize.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/SerializeAST.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/SerializeResult.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/SerializeSourcemap.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/drafter.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/drafter_private.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/refract/ComparableVisitor.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/refract/Element.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/refract/ExpandVisitor.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/refract/IsExpandableVisitor.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/refract/JSONSchemaVisitor.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/refract/PrintVisitor.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/refract/Query.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/refract/Registry.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/refract/RenderJSONVisitor.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/refract/SerializeCompactVisitor.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/refract/SerializeVisitor.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/refract/TypeQueryVisitor.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libdrafter/src/refract/VisitorUtils.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libmarkdownparser/ext/snowcrash/ext/markdown-parser/src/ByteBuffer.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libmarkdownparser/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libmarkdownparser/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/Blueprint.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/BlueprintSourcemap.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/HTTP.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/HeadersParser.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/MSON.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/MSONOneOfParser.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/MSONSourcemap.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/MSONTypeSectionParser.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/MSONValueMemberParser.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/Section.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/Signature.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/UriTemplateParser.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/posix/RegexMatch.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsnowcrash/ext/snowcrash/src/snowcrash.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsos/ext/sos/src/sos.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsundown/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_href_e.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsundown/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_html_e.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsundown/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsundown/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html_smartypants.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsundown/ext/snowcrash/ext/markdown-parser/ext/sundown/src/autolink.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsundown/ext/snowcrash/ext/markdown-parser/ext/sundown/src/buffer.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsundown/ext/snowcrash/ext/markdown-parser/ext/sundown/src/markdown.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsundown/ext/snowcrash/ext/markdown-parser/ext/sundown/src/src_map.o +0 -0
- data/ext/drafter/build/out/Release/obj.target/libsundown/ext/snowcrash/ext/markdown-parser/ext/sundown/src/stack.o +0 -0
- data/ext/drafter/circle.yml +32 -0
- data/ext/drafter/config.gypi +10 -0
- data/ext/drafter/config.mk +5 -0
- data/ext/drafter/configure +224 -0
- data/ext/drafter/drafter.gyp +189 -0
- data/ext/drafter/drafter.xcworkspace/contents.xcworkspacedata +13 -0
- data/ext/drafter/ext/snowcrash/Makefile +58 -0
- data/ext/drafter/ext/snowcrash/appveyor.yml +7 -0
- data/ext/drafter/ext/snowcrash/common.gypi +165 -0
- data/ext/drafter/ext/snowcrash/configure +197 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/Makefile +90 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/CONTRIBUTING.md +10 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/Makefile +84 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/Makefile.win +33 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/examples/smartypants.c +72 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/examples/sundown.c +80 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini.h +37 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_href_e.c +108 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_html_e.c +84 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html.c +647 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html.h +77 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html_smartypants.c +389 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html_block_names.txt +25 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/autolink.c +297 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/autolink.h +51 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/buffer.c +225 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/buffer.h +96 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/html_blocks.h +206 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/markdown.c +2726 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/markdown.h +147 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/src_map.c +204 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/src_map.h +58 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/stack.c +81 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/stack.h +29 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/sundown.def +20 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/msvc/markdown/markdown.vcproj +188 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/msvc/msvc.sln +38 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/msvc/sundown/sundown.vcproj +206 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/src/ByteBuffer.cc +160 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/src/ByteBuffer.h +90 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.cc +152 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.h +103 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.cc +388 -0
- data/ext/drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.h +106 -0
- data/ext/drafter/ext/snowcrash/snowcrash.gyp +196 -0
- data/ext/drafter/ext/snowcrash/src/ActionParser.h +560 -0
- data/ext/drafter/ext/snowcrash/src/AssetParser.h +123 -0
- data/ext/drafter/ext/snowcrash/src/AttributesParser.h +123 -0
- data/ext/drafter/ext/snowcrash/src/Blueprint.cc +90 -0
- data/ext/drafter/ext/snowcrash/src/Blueprint.h +489 -0
- data/ext/drafter/ext/snowcrash/src/BlueprintParser.h +845 -0
- data/ext/drafter/ext/snowcrash/src/BlueprintSourcemap.cc +81 -0
- data/ext/drafter/ext/snowcrash/src/BlueprintSourcemap.h +345 -0
- data/ext/drafter/ext/snowcrash/src/BlueprintUtility.h +111 -0
- data/ext/drafter/ext/snowcrash/src/CodeBlockUtility.h +276 -0
- data/ext/drafter/ext/snowcrash/src/DataStructureGroupParser.h +157 -0
- data/ext/drafter/ext/snowcrash/src/HTTP.cc +49 -0
- data/ext/drafter/ext/snowcrash/src/HTTP.h +108 -0
- data/ext/drafter/ext/snowcrash/src/HeadersParser.cc +117 -0
- data/ext/drafter/ext/snowcrash/src/HeadersParser.h +377 -0
- data/ext/drafter/ext/snowcrash/src/MSON.cc +272 -0
- data/ext/drafter/ext/snowcrash/src/MSON.h +405 -0
- data/ext/drafter/ext/snowcrash/src/MSONMixinParser.h +103 -0
- data/ext/drafter/ext/snowcrash/src/MSONNamedTypeParser.h +135 -0
- data/ext/drafter/ext/snowcrash/src/MSONOneOfParser.cc +132 -0
- data/ext/drafter/ext/snowcrash/src/MSONOneOfParser.h +80 -0
- data/ext/drafter/ext/snowcrash/src/MSONParameterParser.h +166 -0
- data/ext/drafter/ext/snowcrash/src/MSONPropertyMemberParser.h +106 -0
- data/ext/drafter/ext/snowcrash/src/MSONSourcemap.cc +141 -0
- data/ext/drafter/ext/snowcrash/src/MSONSourcemap.h +181 -0
- data/ext/drafter/ext/snowcrash/src/MSONTypeSectionParser.cc +209 -0
- data/ext/drafter/ext/snowcrash/src/MSONTypeSectionParser.h +213 -0
- data/ext/drafter/ext/snowcrash/src/MSONUtility.h +506 -0
- data/ext/drafter/ext/snowcrash/src/MSONValueMemberParser.cc +214 -0
- data/ext/drafter/ext/snowcrash/src/MSONValueMemberParser.h +390 -0
- data/ext/drafter/ext/snowcrash/src/ModelTable.h +87 -0
- data/ext/drafter/ext/snowcrash/src/ParameterParser.h +516 -0
- data/ext/drafter/ext/snowcrash/src/ParametersParser.h +222 -0
- data/ext/drafter/ext/snowcrash/src/PayloadParser.h +733 -0
- data/ext/drafter/ext/snowcrash/src/Platform.h +33 -0
- data/ext/drafter/ext/snowcrash/src/RegexMatch.h +32 -0
- data/ext/drafter/ext/snowcrash/src/RelationParser.h +87 -0
- data/ext/drafter/ext/snowcrash/src/ResourceGroupParser.h +297 -0
- data/ext/drafter/ext/snowcrash/src/ResourceParser.h +536 -0
- data/ext/drafter/ext/snowcrash/src/Section.cc +48 -0
- data/ext/drafter/ext/snowcrash/src/Section.h +60 -0
- data/ext/drafter/ext/snowcrash/src/SectionParser.h +246 -0
- data/ext/drafter/ext/snowcrash/src/SectionParserData.h +109 -0
- data/ext/drafter/ext/snowcrash/src/SectionProcessor.h +299 -0
- data/ext/drafter/ext/snowcrash/src/Signature.cc +75 -0
- data/ext/drafter/ext/snowcrash/src/Signature.h +103 -0
- data/ext/drafter/ext/snowcrash/src/SignatureSectionProcessor.h +442 -0
- data/ext/drafter/ext/snowcrash/src/SourceAnnotation.h +166 -0
- data/ext/drafter/ext/snowcrash/src/StringUtility.h +323 -0
- data/ext/drafter/ext/snowcrash/src/UriTemplateParser.cc +195 -0
- data/ext/drafter/ext/snowcrash/src/UriTemplateParser.h +240 -0
- data/ext/drafter/ext/snowcrash/src/ValuesParser.h +111 -0
- data/ext/drafter/ext/snowcrash/src/posix/RegexMatch.cc +99 -0
- data/ext/drafter/ext/snowcrash/src/snowcrash.cc +90 -0
- data/ext/drafter/ext/snowcrash/src/snowcrash.h +44 -0
- data/ext/drafter/ext/snowcrash/src/win/RegexMatch.cc +78 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/AUTHORS +12 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/DEPS +23 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/OWNERS +1 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/PRESUBMIT.py +137 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/buildbot/buildbot_run.py +136 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/buildbot/commit_queue/OWNERS +6 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/buildbot/commit_queue/cq_config.json +15 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/codereview.settings +10 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/data/win/large-pdb-shim.cc +12 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/gyp +8 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/gyp.bat +5 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/gyp_main.py +16 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/MSVSNew.py +340 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/MSVSProject.py +208 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/MSVSSettings.py +1096 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/MSVSToolFile.py +58 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/MSVSUserFile.py +147 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/MSVSUtil.py +270 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/MSVSUtil.pyc +0 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/MSVSVersion.py +445 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/MSVSVersion.pyc +0 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/__init__.py +548 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/__init__.pyc +0 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/common.py +608 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/common.pyc +0 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/easy_xml.py +157 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/flock_tool.py +54 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/generator/__init__.py +0 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/generator/__init__.pyc +0 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/generator/analyzer.py +741 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/generator/android.py +1069 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/generator/cmake.py +1248 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/generator/dump_dependency_json.py +99 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/generator/eclipse.py +425 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/generator/gypd.py +94 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/generator/gypsh.py +56 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/generator/make.py +2218 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/generator/make.pyc +0 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/generator/msvs.py +3467 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/generator/ninja.py +2427 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/generator/ninja.pyc +0 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/generator/xcode.py +1300 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/generator/xcode.pyc +0 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/input.py +2899 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/input.pyc +0 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/mac_tool.py +605 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/msvs_emulation.py +1093 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/msvs_emulation.pyc +0 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/ninja_syntax.py +160 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/ninja_syntax.pyc +0 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/ordered_dict.py +289 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/simple_copy.py +46 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/simple_copy.pyc +0 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/win_tool.py +314 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/xcode_emulation.py +1664 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/xcode_emulation.pyc +0 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/xcode_ninja.py +276 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/xcode_ninja.pyc +0 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/xcodeproj_file.py +2927 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/xcodeproj_file.pyc +0 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylib/gyp/xml_fix.py +69 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/pylintrc +307 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/samples/samples +81 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/samples/samples.bat +5 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/setup.py +19 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/tools/Xcode/Specifications/gyp.pbfilespec +27 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/tools/Xcode/Specifications/gyp.xclangspec +226 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/tools/emacs/gyp.el +275 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/tools/graphviz.py +100 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/tools/pretty_gyp.py +155 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/tools/pretty_sln.py +169 -0
- data/ext/drafter/ext/snowcrash/tools/gyp/tools/pretty_vcproj.py +329 -0
- data/ext/drafter/ext/snowcrash/vcbuild.bat +139 -0
- data/ext/drafter/ext/sos/Makefile +62 -0
- data/ext/drafter/ext/sos/src/sos.cc +235 -0
- data/ext/drafter/ext/sos/src/sos.h +188 -0
- data/ext/drafter/ext/sos/src/sosJSON.h +121 -0
- data/ext/drafter/ext/sos/src/sosYAML.h +105 -0
- data/ext/drafter/src/ConversionContext.cc +39 -0
- data/ext/drafter/src/ConversionContext.h +34 -0
- data/ext/drafter/src/NamedTypesRegistry.cc +405 -0
- data/ext/drafter/src/NamedTypesRegistry.h +28 -0
- data/ext/drafter/src/NodeInfo.h +143 -0
- data/ext/drafter/src/RefractAPI.cc +579 -0
- data/ext/drafter/src/RefractAPI.h +28 -0
- data/ext/drafter/src/RefractDataStructure.cc +1199 -0
- data/ext/drafter/src/RefractDataStructure.h +26 -0
- data/ext/drafter/src/RefractElementFactory.cc +107 -0
- data/ext/drafter/src/RefractElementFactory.h +67 -0
- data/ext/drafter/src/RefractSourceMap.cc +29 -0
- data/ext/drafter/src/RefractSourceMap.h +57 -0
- data/ext/drafter/src/Render.cc +157 -0
- data/ext/drafter/src/Render.h +40 -0
- data/ext/drafter/src/Serialize.cc +160 -0
- data/ext/drafter/src/Serialize.h +289 -0
- data/ext/drafter/src/SerializeAST.cc +507 -0
- data/ext/drafter/src/SerializeAST.h +29 -0
- data/ext/drafter/src/SerializeResult.cc +170 -0
- data/ext/drafter/src/SerializeResult.h +34 -0
- data/ext/drafter/src/SerializeSourcemap.cc +331 -0
- data/ext/drafter/src/SerializeSourcemap.h +21 -0
- data/ext/drafter/src/Version.h +40 -0
- data/ext/drafter/src/config.cc +91 -0
- data/ext/drafter/src/config.h +38 -0
- data/ext/drafter/src/drafter.cc +137 -0
- data/ext/drafter/src/drafter.h +102 -0
- data/ext/drafter/src/drafter_private.cc +85 -0
- data/ext/drafter/src/drafter_private.h +34 -0
- data/ext/drafter/src/main.cc +137 -0
- data/ext/drafter/src/refract/AppendDecorator.h +58 -0
- data/ext/drafter/src/refract/Build.h +67 -0
- data/ext/drafter/src/refract/ComparableVisitor.cc +43 -0
- data/ext/drafter/src/refract/ComparableVisitor.h +62 -0
- data/ext/drafter/src/refract/Element.cc +409 -0
- data/ext/drafter/src/refract/Element.h +656 -0
- data/ext/drafter/src/refract/ElementFwd.h +37 -0
- data/ext/drafter/src/refract/ElementInserter.h +59 -0
- data/ext/drafter/src/refract/Exception.h +31 -0
- data/ext/drafter/src/refract/ExpandVisitor.cc +359 -0
- data/ext/drafter/src/refract/ExpandVisitor.h +58 -0
- data/ext/drafter/src/refract/FilterVisitor.h +52 -0
- data/ext/drafter/src/refract/IsExpandableVisitor.cc +140 -0
- data/ext/drafter/src/refract/IsExpandableVisitor.h +31 -0
- data/ext/drafter/src/refract/Iterate.h +160 -0
- data/ext/drafter/src/refract/JSONSchemaVisitor.cc +675 -0
- data/ext/drafter/src/refract/JSONSchemaVisitor.h +73 -0
- data/ext/drafter/src/refract/PrintVisitor.cc +164 -0
- data/ext/drafter/src/refract/PrintVisitor.h +50 -0
- data/ext/drafter/src/refract/Query.cc +13 -0
- data/ext/drafter/src/refract/Query.h +38 -0
- data/ext/drafter/src/refract/Registry.cc +114 -0
- data/ext/drafter/src/refract/Registry.h +43 -0
- data/ext/drafter/src/refract/RenderJSONVisitor.cc +255 -0
- data/ext/drafter/src/refract/RenderJSONVisitor.h +51 -0
- data/ext/drafter/src/refract/SerializeCompactVisitor.cc +167 -0
- data/ext/drafter/src/refract/SerializeCompactVisitor.h +56 -0
- data/ext/drafter/src/refract/SerializeVisitor.cc +214 -0
- data/ext/drafter/src/refract/SerializeVisitor.h +55 -0
- data/ext/drafter/src/refract/TypeQueryVisitor.cc +46 -0
- data/ext/drafter/src/refract/TypeQueryVisitor.h +110 -0
- data/ext/drafter/src/refract/Visitor.h +126 -0
- data/ext/drafter/src/refract/VisitorUtils.cc +63 -0
- data/ext/drafter/src/refract/VisitorUtils.h +231 -0
- data/ext/drafter/src/reporting.cc +263 -0
- data/ext/drafter/src/reporting.h +39 -0
- data/ext/drafter/src/stream.h +148 -0
- data/ext/drafter/tools/homebrew/drafter.rb +18 -0
- data/ext/drafter/tools/make-tarball.sh +39 -0
- data/ext/drafter/tools/refract-filter.py +96 -0
- data/ext/drafter/tools/release.sh +17 -0
- data/ext/drafter/vcbuild.bat +203 -0
- data/lib/lounge_lizard/binding.rb +29 -0
- data/lib/lounge_lizard/version.rb +3 -0
- data/lib/lounge_lizard.rb +18 -0
- data/lounge_lizard.gemspec +37 -0
- metadata +547 -0
@@ -0,0 +1,387 @@
|
|
1
|
+
# We borrow heavily from the kernel build setup, though we are simpler since
|
2
|
+
# we don't have Kconfig tweaking settings on us.
|
3
|
+
|
4
|
+
# The implicit make rules have it looking for RCS files, among other things.
|
5
|
+
# We instead explicitly write all the rules we care about.
|
6
|
+
# It's even quicker (saves ~200ms) to pass -r on the command line.
|
7
|
+
MAKEFLAGS=-r
|
8
|
+
|
9
|
+
# The source directory tree.
|
10
|
+
srcdir := ..
|
11
|
+
abs_srcdir := $(abspath $(srcdir))
|
12
|
+
|
13
|
+
# The name of the builddir.
|
14
|
+
builddir_name ?= out
|
15
|
+
|
16
|
+
# The V=1 flag on command line makes us verbosely print command lines.
|
17
|
+
ifdef V
|
18
|
+
quiet=
|
19
|
+
else
|
20
|
+
quiet=quiet_
|
21
|
+
endif
|
22
|
+
|
23
|
+
# Specify BUILDTYPE=Release on the command line for a release build.
|
24
|
+
BUILDTYPE ?= Release
|
25
|
+
|
26
|
+
# Directory all our build output goes into.
|
27
|
+
# Note that this must be two directories beneath src/ for unit tests to pass,
|
28
|
+
# as they reach into the src/ directory for data with relative paths.
|
29
|
+
builddir ?= $(builddir_name)/$(BUILDTYPE)
|
30
|
+
abs_builddir := $(abspath $(builddir))
|
31
|
+
depsdir := $(builddir)/.deps
|
32
|
+
|
33
|
+
# Object output directory.
|
34
|
+
obj := $(builddir)/obj
|
35
|
+
abs_obj := $(abspath $(obj))
|
36
|
+
|
37
|
+
# We build up a list of every single one of the targets so we can slurp in the
|
38
|
+
# generated dependency rule Makefiles in one pass.
|
39
|
+
all_deps :=
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
CC.target ?= $(CC)
|
44
|
+
CFLAGS.target ?= $(CPPFLAGS) $(CFLAGS)
|
45
|
+
CXX.target ?= $(CXX)
|
46
|
+
CXXFLAGS.target ?= $(CPPFLAGS) $(CXXFLAGS)
|
47
|
+
LINK.target ?= $(LINK)
|
48
|
+
LDFLAGS.target ?= $(LDFLAGS)
|
49
|
+
AR.target ?= $(AR)
|
50
|
+
|
51
|
+
# C++ apps need to be linked with g++.
|
52
|
+
LINK ?= $(CXX.target)
|
53
|
+
|
54
|
+
# TODO(evan): move all cross-compilation logic to gyp-time so we don't need
|
55
|
+
# to replicate this environment fallback in make as well.
|
56
|
+
CC.host ?= gcc
|
57
|
+
CFLAGS.host ?= $(CPPFLAGS_host) $(CFLAGS_host)
|
58
|
+
CXX.host ?= g++
|
59
|
+
CXXFLAGS.host ?= $(CPPFLAGS_host) $(CXXFLAGS_host)
|
60
|
+
LINK.host ?= $(CXX.host)
|
61
|
+
LDFLAGS.host ?=
|
62
|
+
AR.host ?= ar
|
63
|
+
|
64
|
+
# Define a dir function that can handle spaces.
|
65
|
+
# http://www.gnu.org/software/make/manual/make.html#Syntax-of-Functions
|
66
|
+
# "leading spaces cannot appear in the text of the first argument as written.
|
67
|
+
# These characters can be put into the argument value by variable substitution."
|
68
|
+
empty :=
|
69
|
+
space := $(empty) $(empty)
|
70
|
+
|
71
|
+
# http://stackoverflow.com/questions/1189781/using-make-dir-or-notdir-on-a-path-with-spaces
|
72
|
+
replace_spaces = $(subst $(space),?,$1)
|
73
|
+
unreplace_spaces = $(subst ?,$(space),$1)
|
74
|
+
dirx = $(call unreplace_spaces,$(dir $(call replace_spaces,$1)))
|
75
|
+
|
76
|
+
# Flags to make gcc output dependency info. Note that you need to be
|
77
|
+
# careful here to use the flags that ccache and distcc can understand.
|
78
|
+
# We write to a dep file on the side first and then rename at the end
|
79
|
+
# so we can't end up with a broken dep file.
|
80
|
+
depfile = $(depsdir)/$(call replace_spaces,$@).d
|
81
|
+
DEPFLAGS = -MMD -MF $(depfile).raw
|
82
|
+
|
83
|
+
# We have to fixup the deps output in a few ways.
|
84
|
+
# (1) the file output should mention the proper .o file.
|
85
|
+
# ccache or distcc lose the path to the target, so we convert a rule of
|
86
|
+
# the form:
|
87
|
+
# foobar.o: DEP1 DEP2
|
88
|
+
# into
|
89
|
+
# path/to/foobar.o: DEP1 DEP2
|
90
|
+
# (2) we want missing files not to cause us to fail to build.
|
91
|
+
# We want to rewrite
|
92
|
+
# foobar.o: DEP1 DEP2 \
|
93
|
+
# DEP3
|
94
|
+
# to
|
95
|
+
# DEP1:
|
96
|
+
# DEP2:
|
97
|
+
# DEP3:
|
98
|
+
# so if the files are missing, they're just considered phony rules.
|
99
|
+
# We have to do some pretty insane escaping to get those backslashes
|
100
|
+
# and dollar signs past make, the shell, and sed at the same time.
|
101
|
+
# Doesn't work with spaces, but that's fine: .d files have spaces in
|
102
|
+
# their names replaced with other characters.
|
103
|
+
define fixup_dep
|
104
|
+
# The depfile may not exist if the input file didn't have any #includes.
|
105
|
+
touch $(depfile).raw
|
106
|
+
# Fixup path as in (1).
|
107
|
+
sed -e "s|^$(notdir $@)|$@|" $(depfile).raw >> $(depfile)
|
108
|
+
# Add extra rules as in (2).
|
109
|
+
# We remove slashes and replace spaces with new lines;
|
110
|
+
# remove blank lines;
|
111
|
+
# delete the first line and append a colon to the remaining lines.
|
112
|
+
sed -e 's|\\||' -e 'y| |\n|' $(depfile).raw |\
|
113
|
+
grep -v '^$$' |\
|
114
|
+
sed -e 1d -e 's|$$|:|' \
|
115
|
+
>> $(depfile)
|
116
|
+
rm $(depfile).raw
|
117
|
+
endef
|
118
|
+
|
119
|
+
# Command definitions:
|
120
|
+
# - cmd_foo is the actual command to run;
|
121
|
+
# - quiet_cmd_foo is the brief-output summary of the command.
|
122
|
+
|
123
|
+
quiet_cmd_cc = CC($(TOOLSET)) $@
|
124
|
+
cmd_cc = $(CC.$(TOOLSET)) $(GYP_CFLAGS) $(DEPFLAGS) $(CFLAGS.$(TOOLSET)) -c -o $@ $<
|
125
|
+
|
126
|
+
quiet_cmd_cxx = CXX($(TOOLSET)) $@
|
127
|
+
cmd_cxx = $(CXX.$(TOOLSET)) $(GYP_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $<
|
128
|
+
|
129
|
+
quiet_cmd_objc = CXX($(TOOLSET)) $@
|
130
|
+
cmd_objc = $(CC.$(TOOLSET)) $(GYP_OBJCFLAGS) $(DEPFLAGS) -c -o $@ $<
|
131
|
+
|
132
|
+
quiet_cmd_objcxx = CXX($(TOOLSET)) $@
|
133
|
+
cmd_objcxx = $(CXX.$(TOOLSET)) $(GYP_OBJCXXFLAGS) $(DEPFLAGS) -c -o $@ $<
|
134
|
+
|
135
|
+
# Commands for precompiled header files.
|
136
|
+
quiet_cmd_pch_c = CXX($(TOOLSET)) $@
|
137
|
+
cmd_pch_c = $(CC.$(TOOLSET)) $(GYP_PCH_CFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $<
|
138
|
+
quiet_cmd_pch_cc = CXX($(TOOLSET)) $@
|
139
|
+
cmd_pch_cc = $(CC.$(TOOLSET)) $(GYP_PCH_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $<
|
140
|
+
quiet_cmd_pch_m = CXX($(TOOLSET)) $@
|
141
|
+
cmd_pch_m = $(CC.$(TOOLSET)) $(GYP_PCH_OBJCFLAGS) $(DEPFLAGS) -c -o $@ $<
|
142
|
+
quiet_cmd_pch_mm = CXX($(TOOLSET)) $@
|
143
|
+
cmd_pch_mm = $(CC.$(TOOLSET)) $(GYP_PCH_OBJCXXFLAGS) $(DEPFLAGS) -c -o $@ $<
|
144
|
+
|
145
|
+
# gyp-mac-tool is written next to the root Makefile by gyp.
|
146
|
+
# Use $(4) for the command, since $(2) and $(3) are used as flag by do_cmd
|
147
|
+
# already.
|
148
|
+
quiet_cmd_mac_tool = MACTOOL $(4) $<
|
149
|
+
cmd_mac_tool = ./gyp-mac-tool $(4) $< "$@"
|
150
|
+
|
151
|
+
quiet_cmd_mac_package_framework = PACKAGE FRAMEWORK $@
|
152
|
+
cmd_mac_package_framework = ./gyp-mac-tool package-framework "$@" $(4)
|
153
|
+
|
154
|
+
quiet_cmd_infoplist = INFOPLIST $@
|
155
|
+
cmd_infoplist = $(CC.$(TOOLSET)) -E -P -Wno-trigraphs -x c $(INFOPLIST_DEFINES) "$<" -o "$@"
|
156
|
+
|
157
|
+
quiet_cmd_touch = TOUCH $@
|
158
|
+
cmd_touch = touch $@
|
159
|
+
|
160
|
+
quiet_cmd_copy = COPY $@
|
161
|
+
# send stderr to /dev/null to ignore messages when linking directories.
|
162
|
+
cmd_copy = ln -f "$<" "$@" 2>/dev/null || (rm -rf "$@" && cp -af "$<" "$@")
|
163
|
+
|
164
|
+
quiet_cmd_alink = LIBTOOL-STATIC $@
|
165
|
+
cmd_alink = rm -f $@ && ./gyp-mac-tool filter-libtool libtool $(GYP_LIBTOOLFLAGS) -static -o $@ $(filter %.o,$^)
|
166
|
+
|
167
|
+
quiet_cmd_link = LINK($(TOOLSET)) $@
|
168
|
+
cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o "$@" $(LD_INPUTS) $(LIBS)
|
169
|
+
|
170
|
+
quiet_cmd_solink = SOLINK($(TOOLSET)) $@
|
171
|
+
cmd_solink = $(LINK.$(TOOLSET)) -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o "$@" $(LD_INPUTS) $(LIBS)
|
172
|
+
|
173
|
+
quiet_cmd_solink_module = SOLINK_MODULE($(TOOLSET)) $@
|
174
|
+
cmd_solink_module = $(LINK.$(TOOLSET)) -bundle $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ $(filter-out FORCE_DO_CMD, $^) $(LIBS)
|
175
|
+
|
176
|
+
|
177
|
+
# Define an escape_quotes function to escape single quotes.
|
178
|
+
# This allows us to handle quotes properly as long as we always use
|
179
|
+
# use single quotes and escape_quotes.
|
180
|
+
escape_quotes = $(subst ','\'',$(1))
|
181
|
+
# This comment is here just to include a ' to unconfuse syntax highlighting.
|
182
|
+
# Define an escape_vars function to escape '$' variable syntax.
|
183
|
+
# This allows us to read/write command lines with shell variables (e.g.
|
184
|
+
# $LD_LIBRARY_PATH), without triggering make substitution.
|
185
|
+
escape_vars = $(subst $$,$$$$,$(1))
|
186
|
+
# Helper that expands to a shell command to echo a string exactly as it is in
|
187
|
+
# make. This uses printf instead of echo because printf's behaviour with respect
|
188
|
+
# to escape sequences is more portable than echo's across different shells
|
189
|
+
# (e.g., dash, bash).
|
190
|
+
exact_echo = printf '%s\n' '$(call escape_quotes,$(1))'
|
191
|
+
|
192
|
+
# Helper to compare the command we're about to run against the command
|
193
|
+
# we logged the last time we ran the command. Produces an empty
|
194
|
+
# string (false) when the commands match.
|
195
|
+
# Tricky point: Make has no string-equality test function.
|
196
|
+
# The kernel uses the following, but it seems like it would have false
|
197
|
+
# positives, where one string reordered its arguments.
|
198
|
+
# arg_check = $(strip $(filter-out $(cmd_$(1)), $(cmd_$@)) \
|
199
|
+
# $(filter-out $(cmd_$@), $(cmd_$(1))))
|
200
|
+
# We instead substitute each for the empty string into the other, and
|
201
|
+
# say they're equal if both substitutions produce the empty string.
|
202
|
+
# .d files contain ? instead of spaces, take that into account.
|
203
|
+
command_changed = $(or $(subst $(cmd_$(1)),,$(cmd_$(call replace_spaces,$@))),\
|
204
|
+
$(subst $(cmd_$(call replace_spaces,$@)),,$(cmd_$(1))))
|
205
|
+
|
206
|
+
# Helper that is non-empty when a prerequisite changes.
|
207
|
+
# Normally make does this implicitly, but we force rules to always run
|
208
|
+
# so we can check their command lines.
|
209
|
+
# $? -- new prerequisites
|
210
|
+
# $| -- order-only dependencies
|
211
|
+
prereq_changed = $(filter-out FORCE_DO_CMD,$(filter-out $|,$?))
|
212
|
+
|
213
|
+
# Helper that executes all postbuilds until one fails.
|
214
|
+
define do_postbuilds
|
215
|
+
@E=0;\
|
216
|
+
for p in $(POSTBUILDS); do\
|
217
|
+
eval $$p;\
|
218
|
+
E=$$?;\
|
219
|
+
if [ $$E -ne 0 ]; then\
|
220
|
+
break;\
|
221
|
+
fi;\
|
222
|
+
done;\
|
223
|
+
if [ $$E -ne 0 ]; then\
|
224
|
+
rm -rf "$@";\
|
225
|
+
exit $$E;\
|
226
|
+
fi
|
227
|
+
endef
|
228
|
+
|
229
|
+
# do_cmd: run a command via the above cmd_foo names, if necessary.
|
230
|
+
# Should always run for a given target to handle command-line changes.
|
231
|
+
# Second argument, if non-zero, makes it do asm/C/C++ dependency munging.
|
232
|
+
# Third argument, if non-zero, makes it do POSTBUILDS processing.
|
233
|
+
# Note: We intentionally do NOT call dirx for depfile, since it contains ? for
|
234
|
+
# spaces already and dirx strips the ? characters.
|
235
|
+
define do_cmd
|
236
|
+
$(if $(or $(command_changed),$(prereq_changed)),
|
237
|
+
@$(call exact_echo, $($(quiet)cmd_$(1)))
|
238
|
+
@mkdir -p "$(call dirx,$@)" "$(dir $(depfile))"
|
239
|
+
$(if $(findstring flock,$(word 2,$(cmd_$1))),
|
240
|
+
@$(cmd_$(1))
|
241
|
+
@echo " $(quiet_cmd_$(1)): Finished",
|
242
|
+
@$(cmd_$(1))
|
243
|
+
)
|
244
|
+
@$(call exact_echo,$(call escape_vars,cmd_$(call replace_spaces,$@) := $(cmd_$(1)))) > $(depfile)
|
245
|
+
@$(if $(2),$(fixup_dep))
|
246
|
+
$(if $(and $(3), $(POSTBUILDS)),
|
247
|
+
$(call do_postbuilds)
|
248
|
+
)
|
249
|
+
)
|
250
|
+
endef
|
251
|
+
|
252
|
+
# Declare the "all" target first so it is the default,
|
253
|
+
# even though we don't have the deps yet.
|
254
|
+
.PHONY: all
|
255
|
+
all:
|
256
|
+
|
257
|
+
# make looks for ways to re-generate included makefiles, but in our case, we
|
258
|
+
# don't have a direct way. Explicitly telling make that it has nothing to do
|
259
|
+
# for them makes it go faster.
|
260
|
+
%.d: ;
|
261
|
+
|
262
|
+
# Use FORCE_DO_CMD to force a target to run. Should be coupled with
|
263
|
+
# do_cmd.
|
264
|
+
.PHONY: FORCE_DO_CMD
|
265
|
+
FORCE_DO_CMD:
|
266
|
+
|
267
|
+
TOOLSET := target
|
268
|
+
# Suffix rules, putting all outputs into $(obj).
|
269
|
+
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
|
270
|
+
@$(call do_cmd,cc,1)
|
271
|
+
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
|
272
|
+
@$(call do_cmd,cxx,1)
|
273
|
+
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD
|
274
|
+
@$(call do_cmd,cxx,1)
|
275
|
+
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cxx FORCE_DO_CMD
|
276
|
+
@$(call do_cmd,cxx,1)
|
277
|
+
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.m FORCE_DO_CMD
|
278
|
+
@$(call do_cmd,objc,1)
|
279
|
+
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.mm FORCE_DO_CMD
|
280
|
+
@$(call do_cmd,objcxx,1)
|
281
|
+
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.S FORCE_DO_CMD
|
282
|
+
@$(call do_cmd,cc,1)
|
283
|
+
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.s FORCE_DO_CMD
|
284
|
+
@$(call do_cmd,cc,1)
|
285
|
+
|
286
|
+
# Try building from generated source, too.
|
287
|
+
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
|
288
|
+
@$(call do_cmd,cc,1)
|
289
|
+
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
|
290
|
+
@$(call do_cmd,cxx,1)
|
291
|
+
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD
|
292
|
+
@$(call do_cmd,cxx,1)
|
293
|
+
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cxx FORCE_DO_CMD
|
294
|
+
@$(call do_cmd,cxx,1)
|
295
|
+
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.m FORCE_DO_CMD
|
296
|
+
@$(call do_cmd,objc,1)
|
297
|
+
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.mm FORCE_DO_CMD
|
298
|
+
@$(call do_cmd,objcxx,1)
|
299
|
+
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.S FORCE_DO_CMD
|
300
|
+
@$(call do_cmd,cc,1)
|
301
|
+
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.s FORCE_DO_CMD
|
302
|
+
@$(call do_cmd,cc,1)
|
303
|
+
|
304
|
+
$(obj).$(TOOLSET)/%.o: $(obj)/%.c FORCE_DO_CMD
|
305
|
+
@$(call do_cmd,cc,1)
|
306
|
+
$(obj).$(TOOLSET)/%.o: $(obj)/%.cc FORCE_DO_CMD
|
307
|
+
@$(call do_cmd,cxx,1)
|
308
|
+
$(obj).$(TOOLSET)/%.o: $(obj)/%.cpp FORCE_DO_CMD
|
309
|
+
@$(call do_cmd,cxx,1)
|
310
|
+
$(obj).$(TOOLSET)/%.o: $(obj)/%.cxx FORCE_DO_CMD
|
311
|
+
@$(call do_cmd,cxx,1)
|
312
|
+
$(obj).$(TOOLSET)/%.o: $(obj)/%.m FORCE_DO_CMD
|
313
|
+
@$(call do_cmd,objc,1)
|
314
|
+
$(obj).$(TOOLSET)/%.o: $(obj)/%.mm FORCE_DO_CMD
|
315
|
+
@$(call do_cmd,objcxx,1)
|
316
|
+
$(obj).$(TOOLSET)/%.o: $(obj)/%.S FORCE_DO_CMD
|
317
|
+
@$(call do_cmd,cc,1)
|
318
|
+
$(obj).$(TOOLSET)/%.o: $(obj)/%.s FORCE_DO_CMD
|
319
|
+
@$(call do_cmd,cc,1)
|
320
|
+
|
321
|
+
|
322
|
+
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
323
|
+
$(findstring $(join ^,$(prefix)),\
|
324
|
+
$(join ^,drafter.target.mk)))),)
|
325
|
+
include drafter.target.mk
|
326
|
+
endif
|
327
|
+
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
328
|
+
$(findstring $(join ^,$(prefix)),\
|
329
|
+
$(join ^,ext/snowcrash/libmarkdownparser.target.mk)))),)
|
330
|
+
include ext/snowcrash/libmarkdownparser.target.mk
|
331
|
+
endif
|
332
|
+
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
333
|
+
$(findstring $(join ^,$(prefix)),\
|
334
|
+
$(join ^,ext/snowcrash/libsnowcrash.target.mk)))),)
|
335
|
+
include ext/snowcrash/libsnowcrash.target.mk
|
336
|
+
endif
|
337
|
+
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
338
|
+
$(findstring $(join ^,$(prefix)),\
|
339
|
+
$(join ^,ext/snowcrash/libsundown.target.mk)))),)
|
340
|
+
include ext/snowcrash/libsundown.target.mk
|
341
|
+
endif
|
342
|
+
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
343
|
+
$(findstring $(join ^,$(prefix)),\
|
344
|
+
$(join ^,ext/snowcrash/perf-libsnowcrash.target.mk)))),)
|
345
|
+
include ext/snowcrash/perf-libsnowcrash.target.mk
|
346
|
+
endif
|
347
|
+
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
348
|
+
$(findstring $(join ^,$(prefix)),\
|
349
|
+
$(join ^,ext/snowcrash/test-libsnowcrash.target.mk)))),)
|
350
|
+
include ext/snowcrash/test-libsnowcrash.target.mk
|
351
|
+
endif
|
352
|
+
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
353
|
+
$(findstring $(join ^,$(prefix)),\
|
354
|
+
$(join ^,libdrafter.target.mk)))),)
|
355
|
+
include libdrafter.target.mk
|
356
|
+
endif
|
357
|
+
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
358
|
+
$(findstring $(join ^,$(prefix)),\
|
359
|
+
$(join ^,libsos.target.mk)))),)
|
360
|
+
include libsos.target.mk
|
361
|
+
endif
|
362
|
+
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
363
|
+
$(findstring $(join ^,$(prefix)),\
|
364
|
+
$(join ^,test-capi.target.mk)))),)
|
365
|
+
include test-capi.target.mk
|
366
|
+
endif
|
367
|
+
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
368
|
+
$(findstring $(join ^,$(prefix)),\
|
369
|
+
$(join ^,test-libdrafter.target.mk)))),)
|
370
|
+
include test-libdrafter.target.mk
|
371
|
+
endif
|
372
|
+
|
373
|
+
quiet_cmd_regen_makefile = ACTION Regenerating $@
|
374
|
+
cmd_regen_makefile = cd $(srcdir); ./ext/snowcrash/tools/gyp/gyp_main.py -fmake --ignore-environment "--toplevel-dir=." -I/Users/david/src/github.com/moviepilot/lounge_lizard/ext/drafter/config.gypi "--depth=." "--generator-output=build"
|
375
|
+
Makefile: $(srcdir)/ext/snowcrash/common.gypi $(srcdir)/ext/snowcrash/snowcrash.gyp $(srcdir)/config.gypi $(srcdir)/drafter.gyp
|
376
|
+
$(call do_cmd,regen_makefile)
|
377
|
+
|
378
|
+
# "all" is a concatenation of the "all" targets from all the included
|
379
|
+
# sub-makefiles. This is just here to clarify.
|
380
|
+
all:
|
381
|
+
|
382
|
+
# Add in dependency-tracking rules. $(all_deps) is the list of every single
|
383
|
+
# target in our tree. Only consider the ones with .d (dependency) info:
|
384
|
+
d_files := $(wildcard $(foreach f,$(all_deps),$(depsdir)/$(f).d))
|
385
|
+
ifneq ($(d_files),)
|
386
|
+
include $(d_files)
|
387
|
+
endif
|
@@ -0,0 +1,159 @@
|
|
1
|
+
# This file is generated by gyp; do not edit.
|
2
|
+
|
3
|
+
TOOLSET := target
|
4
|
+
TARGET := drafter
|
5
|
+
DEFS_Debug := \
|
6
|
+
'-DBUILDING_SNOWCRASH=1' \
|
7
|
+
'-D_DARWIN_USE_64_BIT_INODE=1' \
|
8
|
+
'-DDEBUG' \
|
9
|
+
'-D_DEBUG'
|
10
|
+
|
11
|
+
# Flags passed to all source files.
|
12
|
+
CFLAGS_Debug := \
|
13
|
+
-O0 \
|
14
|
+
-gdwarf-2 \
|
15
|
+
-mmacosx-version-min=10.7 \
|
16
|
+
-arch x86_64 \
|
17
|
+
-Wall \
|
18
|
+
-Wendif-labels \
|
19
|
+
-W \
|
20
|
+
-Wno-unused-parameter
|
21
|
+
|
22
|
+
# Flags passed to only C files.
|
23
|
+
CFLAGS_C_Debug := \
|
24
|
+
-fno-strict-aliasing
|
25
|
+
|
26
|
+
# Flags passed to only C++ files.
|
27
|
+
CFLAGS_CC_Debug := \
|
28
|
+
-std=c++0x \
|
29
|
+
-stdlib=libc++ \
|
30
|
+
-fno-threadsafe-statics \
|
31
|
+
-fno-strict-aliasing
|
32
|
+
|
33
|
+
# Flags passed to only ObjC files.
|
34
|
+
CFLAGS_OBJC_Debug :=
|
35
|
+
|
36
|
+
# Flags passed to only ObjC++ files.
|
37
|
+
CFLAGS_OBJCC_Debug :=
|
38
|
+
|
39
|
+
INCS_Debug := \
|
40
|
+
-I$(srcdir)/ext/cmdline \
|
41
|
+
-I$(srcdir)/src \
|
42
|
+
-I$(srcdir)/ext/sos/src \
|
43
|
+
-I$(srcdir)/ext/snowcrash/src \
|
44
|
+
-I$(srcdir)/ext/snowcrash/ext/markdown-parser/src \
|
45
|
+
-I$(srcdir)/ext/snowcrash/ext/markdown-parser/ext/sundown/src
|
46
|
+
|
47
|
+
DEFS_Release := \
|
48
|
+
'-DBUILDING_SNOWCRASH=1' \
|
49
|
+
'-D_DARWIN_USE_64_BIT_INODE=1'
|
50
|
+
|
51
|
+
# Flags passed to all source files.
|
52
|
+
CFLAGS_Release := \
|
53
|
+
-Os \
|
54
|
+
-gdwarf-2 \
|
55
|
+
-mmacosx-version-min=10.7 \
|
56
|
+
-arch x86_64 \
|
57
|
+
-Wall \
|
58
|
+
-Wendif-labels \
|
59
|
+
-W \
|
60
|
+
-Wno-unused-parameter
|
61
|
+
|
62
|
+
# Flags passed to only C files.
|
63
|
+
CFLAGS_C_Release := \
|
64
|
+
-fno-strict-aliasing
|
65
|
+
|
66
|
+
# Flags passed to only C++ files.
|
67
|
+
CFLAGS_CC_Release := \
|
68
|
+
-std=c++0x \
|
69
|
+
-stdlib=libc++ \
|
70
|
+
-fno-threadsafe-statics \
|
71
|
+
-fno-strict-aliasing
|
72
|
+
|
73
|
+
# Flags passed to only ObjC files.
|
74
|
+
CFLAGS_OBJC_Release :=
|
75
|
+
|
76
|
+
# Flags passed to only ObjC++ files.
|
77
|
+
CFLAGS_OBJCC_Release :=
|
78
|
+
|
79
|
+
INCS_Release := \
|
80
|
+
-I$(srcdir)/ext/cmdline \
|
81
|
+
-I$(srcdir)/src \
|
82
|
+
-I$(srcdir)/ext/sos/src \
|
83
|
+
-I$(srcdir)/ext/snowcrash/src \
|
84
|
+
-I$(srcdir)/ext/snowcrash/ext/markdown-parser/src \
|
85
|
+
-I$(srcdir)/ext/snowcrash/ext/markdown-parser/ext/sundown/src
|
86
|
+
|
87
|
+
OBJS := \
|
88
|
+
$(obj).target/$(TARGET)/src/main.o \
|
89
|
+
$(obj).target/$(TARGET)/src/config.o \
|
90
|
+
$(obj).target/$(TARGET)/src/reporting.o
|
91
|
+
|
92
|
+
# Add to the list of files we specially track dependencies for.
|
93
|
+
all_deps += $(OBJS)
|
94
|
+
|
95
|
+
# Make sure our dependencies are built before any of us.
|
96
|
+
$(OBJS): | $(builddir)/libdrafter.dylib
|
97
|
+
|
98
|
+
# CFLAGS et al overrides must be target-local.
|
99
|
+
# See "Target-specific Variable Values" in the GNU Make manual.
|
100
|
+
$(OBJS): TOOLSET := $(TOOLSET)
|
101
|
+
$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
|
102
|
+
$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
|
103
|
+
$(OBJS): GYP_OBJCFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE)) $(CFLAGS_OBJC_$(BUILDTYPE))
|
104
|
+
$(OBJS): GYP_OBJCXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE)) $(CFLAGS_OBJCC_$(BUILDTYPE))
|
105
|
+
|
106
|
+
# Suffix rules, putting all outputs into $(obj).
|
107
|
+
|
108
|
+
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
|
109
|
+
@$(call do_cmd,cxx,1)
|
110
|
+
|
111
|
+
# Try building from generated source, too.
|
112
|
+
|
113
|
+
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
|
114
|
+
@$(call do_cmd,cxx,1)
|
115
|
+
|
116
|
+
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
|
117
|
+
@$(call do_cmd,cxx,1)
|
118
|
+
|
119
|
+
# End of this set of suffix rules
|
120
|
+
### Rules for final target.
|
121
|
+
LDFLAGS_Debug := \
|
122
|
+
-Wl,-search_paths_first \
|
123
|
+
-mmacosx-version-min=10.7 \
|
124
|
+
-arch x86_64 \
|
125
|
+
-L$(builddir) \
|
126
|
+
-stdlib=libc++
|
127
|
+
|
128
|
+
LIBTOOLFLAGS_Debug := \
|
129
|
+
-Wl,-search_paths_first
|
130
|
+
|
131
|
+
LDFLAGS_Release := \
|
132
|
+
-Wl,-search_paths_first \
|
133
|
+
-mmacosx-version-min=10.7 \
|
134
|
+
-arch x86_64 \
|
135
|
+
-L$(builddir) \
|
136
|
+
-stdlib=libc++
|
137
|
+
|
138
|
+
LIBTOOLFLAGS_Release := \
|
139
|
+
-Wl,-search_paths_first
|
140
|
+
|
141
|
+
LIBS :=
|
142
|
+
|
143
|
+
$(builddir)/drafter: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
|
144
|
+
$(builddir)/drafter: LIBS := $(LIBS)
|
145
|
+
$(builddir)/drafter: GYP_LIBTOOLFLAGS := $(LIBTOOLFLAGS_$(BUILDTYPE))
|
146
|
+
$(builddir)/drafter: LD_INPUTS := $(OBJS) $(builddir)/libdrafter.dylib
|
147
|
+
$(builddir)/drafter: TOOLSET := $(TOOLSET)
|
148
|
+
$(builddir)/drafter: $(OBJS) $(builddir)/libdrafter.dylib FORCE_DO_CMD
|
149
|
+
$(call do_cmd,link)
|
150
|
+
|
151
|
+
all_deps += $(builddir)/drafter
|
152
|
+
# Add target alias
|
153
|
+
.PHONY: drafter
|
154
|
+
drafter: $(builddir)/drafter
|
155
|
+
|
156
|
+
# Add executable to "all" target.
|
157
|
+
.PHONY: all
|
158
|
+
all: $(builddir)/drafter
|
159
|
+
|
@@ -0,0 +1,141 @@
|
|
1
|
+
# This file is generated by gyp; do not edit.
|
2
|
+
|
3
|
+
TOOLSET := target
|
4
|
+
TARGET := libmarkdownparser
|
5
|
+
DEFS_Debug := \
|
6
|
+
'-DBUILDING_SNOWCRASH=1' \
|
7
|
+
'-D_DARWIN_USE_64_BIT_INODE=1' \
|
8
|
+
'-DDEBUG' \
|
9
|
+
'-D_DEBUG'
|
10
|
+
|
11
|
+
# Flags passed to all source files.
|
12
|
+
CFLAGS_Debug := \
|
13
|
+
-O0 \
|
14
|
+
-gdwarf-2 \
|
15
|
+
-mmacosx-version-min=10.7 \
|
16
|
+
-arch x86_64 \
|
17
|
+
-Wall \
|
18
|
+
-Wendif-labels \
|
19
|
+
-W \
|
20
|
+
-Wno-unused-parameter
|
21
|
+
|
22
|
+
# Flags passed to only C files.
|
23
|
+
CFLAGS_C_Debug := \
|
24
|
+
-fno-strict-aliasing
|
25
|
+
|
26
|
+
# Flags passed to only C++ files.
|
27
|
+
CFLAGS_CC_Debug := \
|
28
|
+
-std=c++0x \
|
29
|
+
-stdlib=libc++ \
|
30
|
+
-fno-threadsafe-statics \
|
31
|
+
-fno-strict-aliasing
|
32
|
+
|
33
|
+
# Flags passed to only ObjC files.
|
34
|
+
CFLAGS_OBJC_Debug :=
|
35
|
+
|
36
|
+
# Flags passed to only ObjC++ files.
|
37
|
+
CFLAGS_OBJCC_Debug :=
|
38
|
+
|
39
|
+
INCS_Debug := \
|
40
|
+
-I$(srcdir)/ext/snowcrash/ext/markdown-parser/ext/sundown/src
|
41
|
+
|
42
|
+
DEFS_Release := \
|
43
|
+
'-DBUILDING_SNOWCRASH=1' \
|
44
|
+
'-D_DARWIN_USE_64_BIT_INODE=1'
|
45
|
+
|
46
|
+
# Flags passed to all source files.
|
47
|
+
CFLAGS_Release := \
|
48
|
+
-Os \
|
49
|
+
-gdwarf-2 \
|
50
|
+
-mmacosx-version-min=10.7 \
|
51
|
+
-arch x86_64 \
|
52
|
+
-Wall \
|
53
|
+
-Wendif-labels \
|
54
|
+
-W \
|
55
|
+
-Wno-unused-parameter
|
56
|
+
|
57
|
+
# Flags passed to only C files.
|
58
|
+
CFLAGS_C_Release := \
|
59
|
+
-fno-strict-aliasing
|
60
|
+
|
61
|
+
# Flags passed to only C++ files.
|
62
|
+
CFLAGS_CC_Release := \
|
63
|
+
-std=c++0x \
|
64
|
+
-stdlib=libc++ \
|
65
|
+
-fno-threadsafe-statics \
|
66
|
+
-fno-strict-aliasing
|
67
|
+
|
68
|
+
# Flags passed to only ObjC files.
|
69
|
+
CFLAGS_OBJC_Release :=
|
70
|
+
|
71
|
+
# Flags passed to only ObjC++ files.
|
72
|
+
CFLAGS_OBJCC_Release :=
|
73
|
+
|
74
|
+
INCS_Release := \
|
75
|
+
-I$(srcdir)/ext/snowcrash/ext/markdown-parser/ext/sundown/src
|
76
|
+
|
77
|
+
OBJS := \
|
78
|
+
$(obj).target/$(TARGET)/ext/snowcrash/ext/markdown-parser/src/ByteBuffer.o \
|
79
|
+
$(obj).target/$(TARGET)/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.o \
|
80
|
+
$(obj).target/$(TARGET)/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.o
|
81
|
+
|
82
|
+
# Add to the list of files we specially track dependencies for.
|
83
|
+
all_deps += $(OBJS)
|
84
|
+
|
85
|
+
# CFLAGS et al overrides must be target-local.
|
86
|
+
# See "Target-specific Variable Values" in the GNU Make manual.
|
87
|
+
$(OBJS): TOOLSET := $(TOOLSET)
|
88
|
+
$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
|
89
|
+
$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
|
90
|
+
$(OBJS): GYP_OBJCFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE)) $(CFLAGS_OBJC_$(BUILDTYPE))
|
91
|
+
$(OBJS): GYP_OBJCXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE)) $(CFLAGS_OBJCC_$(BUILDTYPE))
|
92
|
+
|
93
|
+
# Suffix rules, putting all outputs into $(obj).
|
94
|
+
|
95
|
+
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
|
96
|
+
@$(call do_cmd,cxx,1)
|
97
|
+
|
98
|
+
# Try building from generated source, too.
|
99
|
+
|
100
|
+
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
|
101
|
+
@$(call do_cmd,cxx,1)
|
102
|
+
|
103
|
+
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
|
104
|
+
@$(call do_cmd,cxx,1)
|
105
|
+
|
106
|
+
# End of this set of suffix rules
|
107
|
+
### Rules for final target.
|
108
|
+
LDFLAGS_Debug := \
|
109
|
+
-mmacosx-version-min=10.7 \
|
110
|
+
-arch x86_64 \
|
111
|
+
-L$(builddir) \
|
112
|
+
-stdlib=libc++
|
113
|
+
|
114
|
+
LIBTOOLFLAGS_Debug :=
|
115
|
+
|
116
|
+
LDFLAGS_Release := \
|
117
|
+
-mmacosx-version-min=10.7 \
|
118
|
+
-arch x86_64 \
|
119
|
+
-L$(builddir) \
|
120
|
+
-stdlib=libc++
|
121
|
+
|
122
|
+
LIBTOOLFLAGS_Release :=
|
123
|
+
|
124
|
+
LIBS :=
|
125
|
+
|
126
|
+
$(builddir)/libmarkdownparser.a: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
|
127
|
+
$(builddir)/libmarkdownparser.a: LIBS := $(LIBS)
|
128
|
+
$(builddir)/libmarkdownparser.a: GYP_LIBTOOLFLAGS := $(LIBTOOLFLAGS_$(BUILDTYPE))
|
129
|
+
$(builddir)/libmarkdownparser.a: TOOLSET := $(TOOLSET)
|
130
|
+
$(builddir)/libmarkdownparser.a: $(OBJS) FORCE_DO_CMD
|
131
|
+
$(call do_cmd,alink)
|
132
|
+
|
133
|
+
all_deps += $(builddir)/libmarkdownparser.a
|
134
|
+
# Add target alias
|
135
|
+
.PHONY: libmarkdownparser
|
136
|
+
libmarkdownparser: $(builddir)/libmarkdownparser.a
|
137
|
+
|
138
|
+
# Add target alias to "all" target.
|
139
|
+
.PHONY: all
|
140
|
+
all: libmarkdownparser
|
141
|
+
|