-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathcheckpath_cpp.mk
More file actions
43 lines (43 loc) · 903 Bytes
/
checkpath_cpp.mk
File metadata and controls
43 lines (43 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# $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