Makefile_var 1.15 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# this is <Makefile_var>
# ----------------------------------------------------------------------------
# 
# Copyright (c) 2015 by Thomas Forbriger (BFO Schiltach) 
# 
# set variables expected by vendor Makefiles
# 
# REVISIONS and CHANGES 
#    02/11/2015   V1.0   Thomas Forbriger
# 
# ============================================================================
#
# This file is included (via make include statement) by Makefiles in
# aff, fourier, stfinv, and libcseife
#
# Its purpose is to set make variables which are expected by vendor Makefiles.
#
# ============================================================================
Tilman Steinweg's avatar
Tilman Steinweg committed
19

20
# extract relative path to contrib with respect of including Makefile
21
CONTRIBDIR:=$(abspath $(dir $(lastword $(MAKEFILE_LIST))))
22 23 24 25 26 27 28

# ----------------------------------------------------------------------------
# set values required by vendor Makefiles
LOCINCLUDEDIR=$(CONTRIBDIR)/header

LOCLIBDIR=$(CONTRIBDIR)/bin
LOCBINDIR=$(CONTRIBDIR)/bin
Tilman Steinweg's avatar
Tilman Steinweg committed
29

30
TF_WWWBASEDIR=$(CONTRIBDIR)/doc
Tilman Steinweg's avatar
Tilman Steinweg committed
31 32 33

TF_BROWSER=firefox

34
# set Fortran compiler if not yet set in environment
35
ifeq "$(origin FC)" "default"
Tilman Steinweg's avatar
Tilman Steinweg committed
36
FC=/usr/bin/g77-3.3
37
endif
38 39

# ----- END OF Makefile_var -----