Skip to content
Snippets Groups Projects
Commit 81669e65 authored by Raphaël Lallement's avatar Raphaël Lallement
Browse files

[wip/mk/sysdep/antlr.mk] Add the file for dependency on antlr

If a file needs to depend on antlr 2.7.0 or above, but before 3.0.0
parent 93ad84ce
No related branches found
No related tags found
No related merge requests found
#
# Copyright (c) 2013 LAAS/CNRS
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
# with or without fee is hereby granted, provided that the above copyright
# notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
# OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
#
# Raphaël Lallement on Thu May 30 2013
#
DEPEND_DEPTH:= ${DEPEND_DEPTH}+
ANTLR_DEPEND_MK:= ${ANTLR_DEPEND_MK}+
ifeq (+,$(DEPEND_DEPTH))
DEPEND_PKG+= antlr2
endif
ifeq (+,$(ANTLR_DEPEND_MK)) # ---------------------------------------------
PREFER.antlr2?= system
DEPEND_USE+= antlr2
DEPEND_ABI.antlr2?= antlr>=2 <3
SYSTEM_SEARCH.antlr2= 'bin/runantlr'
SYSTEM_PKG.Fedora.antlr2= antlr-C++
SYSTEM_PKG.Ubuntu.antlr2= antlr libantlr-dev
SYSTEM_PKG.Debian.antlr2= antlr libantlr-dev
endif # ANTLR_DEPEND_MK --------------------------------------------------
DEPEND_DEPTH:= ${DEPEND_DEPTH:+=}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment