URL
https://opencores.org/ocsvn/w11/w11/trunk
[/] [w11/] [tags/] [w11a_V0.61/] [tools/] [src/] [checkpath_cpp.mk] - Diff between revs 19 and 26
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 19 |
Rev 26 |
# $Id: checkpath_cpp.mk 504 2013-04-13 15:37:24Z mueller $
|
# $Id: checkpath_cpp.mk 504 2013-04-13 15:37:24Z mueller $
|
#
|
#
|
# Revision History:
|
# Revision History:
|
# Date Rev Version Comment
|
# Date Rev Version Comment
|
# 2013-03-01 493 1.0.1 fix logic
|
# 2013-03-01 493 1.0.1 fix logic
|
# 2013-02-01 479 1.0 Initial version
|
# 2013-02-01 479 1.0 Initial version
|
#
|
#
|
ifndef RETROBASE
|
ifndef RETROBASE
|
$(error RETROBASE not defined)
|
$(error RETROBASE not defined)
|
endif
|
endif
|
#
|
#
|
# check that BOOSTLIB/BOOSTINC are defined either both, or none
|
# check that BOOSTLIB/BOOSTINC are defined either both, or none
|
#
|
#
|
ifndef BOOSTINC
|
ifndef BOOSTINC
|
ifdef BOOSTLIB
|
ifdef BOOSTLIB
|
$(error BOOSTLIB defined, but not BOOSTINC; either both, or none !!)
|
$(error BOOSTLIB defined, but not BOOSTINC; either both, or none !!)
|
endif
|
endif
|
endif
|
endif
|
#
|
#
|
ifndef BOOSTLIB
|
ifndef BOOSTLIB
|
ifdef BOOSTINC
|
ifdef BOOSTINC
|
$(error BOOSTINC defined, but not BOOSTLIB; either both, or none !!)
|
$(error BOOSTINC defined, but not BOOSTLIB; either both, or none !!)
|
endif
|
endif
|
endif
|
endif
|
#
|
#
|
# now define, if needed
|
# now define, if needed
|
#
|
#
|
ifndef BOOSTINC
|
ifndef BOOSTINC
|
BOOSTINC = /usr/include
|
BOOSTINC = /usr/include
|
endif
|
endif
|
#
|
#
|
ifndef BOOSTLIB
|
ifndef BOOSTLIB
|
BOOSTLIB = /usr/lib
|
BOOSTLIB = /usr/lib
|
endif
|
endif
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.