/[escript]/trunk/esys2/make/Makefile.default
ViewVC logotype

Diff of /trunk/esys2/make/Makefile.default

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 119 by jgs, Tue Apr 12 04:45:05 2005 UTC revision 122 by jgs, Thu Jun 9 05:38:05 2005 UTC
# Line 19  SHELL := /bin/sh Line 19  SHELL := /bin/sh
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
# Line 40  ifeq ($(strip $(L_LIB_DIR)),) Line 46  ifeq ($(strip $(L_LIB_DIR)),)
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
# Line 65  ifeq ($(strip $(L_DEP_DIR)),) Line 61  ifeq ($(strip $(L_DEP_DIR)),)
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
# Line 100  ifeq ($(strip $(DODEBUG)),) Line 96  ifeq ($(strip $(DODEBUG)),)
96     DODEBUG := NO     DODEBUG := NO
97  endif  endif
98    
99    # Library install directory
100    ifeq ($(strip $(L_INSTLIB_DIR)),)
101       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
108    
109  # Include remainder of Makefiles  # Include remainder of Makefiles
110  include ${MAKE_DIR}/Makefile.source  include ${MAKE_DIR}/Makefile.source
111  include ${MAKE_DIR}/hosts/${HOSTNAME}/Makefile.host  include ${MAKE_DIR}/hosts/${HOSTNAME}/Makefile.host
# Line 126  ESYS_ROOT_ERROR: Line 132  ESYS_ROOT_ERROR:
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)
   

Legend:
Removed from v.119  
changed lines
  Added in v.122

  ViewVC Help
Powered by ViewVC 1.1.26