mirror of
https://github.com/wfjm/w11.git
synced 2026-03-06 11:34:31 +00:00
44 lines
903 B
Makefile
44 lines
903 B
Makefile
# $Id: checkpath_cpp.mk 1176 2019-06-30 07:16:06Z mueller $
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
# Copyright 2013-2014 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
|
#
|
|
# Revision History:
|
|
# Date Rev Version Comment
|
|
# 2014-11-08 602 1.1 add default for TCLLIB
|
|
# 2013-03-01 493 1.0.1 fix logic
|
|
# 2013-02-01 479 1.0 Initial version
|
|
#
|
|
ifndef RETROBASE
|
|
$(error RETROBASE not defined)
|
|
endif
|
|
#
|
|
# check that BOOSTLIB/BOOSTINC are defined either both, or none
|
|
#
|
|
ifndef BOOSTINC
|
|
ifdef BOOSTLIB
|
|
$(error BOOSTLIB defined, but not BOOSTINC; either both, or none !!)
|
|
endif
|
|
endif
|
|
#
|
|
ifndef BOOSTLIB
|
|
ifdef BOOSTINC
|
|
$(error BOOSTINC defined, but not BOOSTLIB; either both, or none !!)
|
|
endif
|
|
endif
|
|
#
|
|
# now define, if needed
|
|
#
|
|
ifndef BOOSTINC
|
|
BOOSTINC = /usr/include
|
|
endif
|
|
#
|
|
ifndef BOOSTLIB
|
|
BOOSTLIB = /usr/lib
|
|
endif
|
|
#
|
|
# define TCLLIB, if needed
|
|
#
|
|
ifndef TCLLIB
|
|
TCLLIB = /usr/lib
|
|
endif
|