Source

rabbitmq-bql / Makefile

PACKAGE=rabbitmq-bql
DEPS=rabbitmq-server rabbitmq-erlang-client erlang-rfc4627
GENERATED_SOURCES=command_lexer command_parser
EXTRA_PACKAGE_DIRS=scripts
TEST_APPS=amqp_client rabbitmq_bql
TEST_COMMANDS=command_parser_test:test() bql_test:test() amq_interface_test:test()
START_RABBIT_IN_TESTS=true

include ../include.mk

LEXER_NAME=command_lexer
PARSER_NAME=command_parser

src/command_lexer.erl: ebin/leex.beam src/command_lexer.xrl
	$(ERL) -I -pa ebin -noshell -eval 'ok = leex:file("$(SOURCE_DIR)/$(LEXER_NAME).xrl",[{outdir,"$(SOURCE_DIR)"}]), halt().'

src/command_parser.erl: ebin/leex.beam src/command_parser.yrl
	$(ERL) -I -pa ebin -noshell -eval '{ok, _} = yecc:file("$(SOURCE_DIR)/$(PARSER_NAME)"), halt().'
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.