19 |
|
|
20 |
# Make settings |
# Make settings |
21 |
MAKE_DIR := $(ESYS_ROOT)/make |
MAKE_DIR := $(ESYS_ROOT)/make |
22 |
HOSTNAME := ${shell hostname | sed -e 's/\..*//'} |
|
23 |
|
# gcc settings |
24 |
|
ifeq ($(strip $(USE_GCC)),) |
25 |
|
HOSTNAME := ${shell hostname | sed -e 's/\..*//'} |
26 |
|
else |
27 |
|
HOSTNAME := gcc |
28 |
|
endif |
29 |
|
|
30 |
# |
# |
31 |
# Set defaults for local variables if not already set |
# Set defaults for local variables if not already set |
46 |
L_LIB_DIR := ./lib |
L_LIB_DIR := ./lib |
47 |
endif |
endif |
48 |
|
|
|
# Library install directory |
|
|
ifeq ($(strip $(L_INSTLIB_DIR)),) |
|
|
L_INSTLIB_DIR := ../lib |
|
|
endif |
|
|
|
|
|
# Python package install directory |
|
|
ifeq ($(strip $(L_PYTH_DIR)),) |
|
|
L_PYTH_DIR := ../esys |
|
|
endif |
|
|
|
|
49 |
# Include file directory |
# Include file directory |
50 |
ifeq ($(strip $(L_INC_DIR)),) |
ifeq ($(strip $(L_INC_DIR)),) |
51 |
L_INC_DIR := ./inc |
L_INC_DIR := ./inc |
61 |
L_DEP_DIR := ./dep |
L_DEP_DIR := ./dep |
62 |
endif |
endif |
63 |
|
|
64 |
# ? |
# Mod file directory |
65 |
ifeq ($(strip $(L_MOD_DIR)),) |
ifeq ($(strip $(L_MOD_DIR)),) |
66 |
L_MOD_DIR := ./mod |
L_MOD_DIR := ./mod |
67 |
endif |
endif |
96 |
DODEBUG := NO |
DODEBUG := NO |
97 |
endif |
endif |
98 |
|
|
99 |
# Do test compilations or not? |
# Library install directory |
100 |
ifeq ($(strip $(DOTEST)),) |
ifeq ($(strip $(L_INSTLIB_DIR)),) |
101 |
DOTEST := NO |
L_INSTLIB_DIR := $(ESYS_ROOT)/lib |
102 |
|
endif |
103 |
|
|
104 |
|
# Python package install directory |
105 |
|
ifeq ($(strip $(L_PYTH_DIR)),) |
106 |
|
L_PYTH_DIR := $(ESYS_ROOT)/esys |
107 |
endif |
endif |
108 |
|
|
109 |
# Include remainder of Makefiles |
# Include remainder of Makefiles |
132 |
|
|
133 |
NO_SOURCE_FILES_ERROR: |
NO_SOURCE_FILES_ERROR: |
134 |
@echo "No source files could be found for L_SRC_DIR: $(L_SRC_DIR) |
@echo "No source files could be found for L_SRC_DIR: $(L_SRC_DIR) |
|
|
|