(file) Return to config.mak CVS log (file) (dir) Up to [Pegasus] / pegasus / mak

 1 mike  1.1 ################################################################################
 2           ##
 3           ## Get external environment variables. Note that all external environment
 4           ## variables begin with "PEGASUS_".
 5           ##
 6           ################################################################################
 7           
 8 mike  1.2 ifdef PEGASUS_HOME
 9             HOME_DIR = $(subst \,/,$(PEGASUS_HOME))
10 mike  1.1 else
11 mike  1.2   ERROR = pegasus_home_undefined
12           pegasus_home_undefined:
13 mike  1.4 	@ echo PEGASUS_HOME environment variable undefined
14 mike  1.2 	@ exit 1
15 mike  1.1 endif
16           
17 mike  1.13 VALID_PLATFORMS = WIN32_IX86_MSVC LINUX_IX86_GNU AIX_RS_IBMCXX HPUX_PARISC_ACC
18 mike  1.8  
19            ifndef PEGASUS_PLATFORM
20              ERROR = pegasus_platform_undefined
21            pegasus_platform_undefined:
22            	@ echo PEGASUS_PLATFORM environment variable undefined. Please set to\
23            	    one of the following: $(VALID_PLATFORMS)
24            	@ exit 1
25            endif
26            
27 mike  1.1  ################################################################################
28            
29 mike  1.2  OBJ_DIR = $(HOME_DIR)/obj/$(DIR)
30            BIN_DIR = $(HOME_DIR)/bin
31            LIB_DIR = $(HOME_DIR)/lib
32 mike  1.10 REPOSITORY_ROOT = $(HOME_DIR)/repository
33 mike  1.1  
34 bob   1.5  LEX = flex
35            
36 mike  1.8  ################################################################################
37            ##
38            ## Attempt to include a platform configuration file:
39            ##
40            ################################################################################
41            
42 mike  1.9  ifeq ($(PEGASUS_PLATFORM),WIN32_IX86_MSVC)
43              include $(ROOT)/mak/platform_$(PEGASUS_PLATFORM).mak
44 mike  1.8    FOUND = true
45            endif
46            
47 mike  1.9  ifeq ($(PEGASUS_PLATFORM),LINUX_IX86_GNU)
48 mike  1.12   include $(ROOT)/mak/platform_$(PEGASUS_PLATFORM).mak
49              FOUND = true
50            endif
51            
52            ifeq ($(PEGASUS_PLATFORM),AIX_RS_IBMCXX)
53 mike  1.13   include $(ROOT)/mak/platform_$(PEGASUS_PLATFORM).mak
54              FOUND = true
55            endif
56            
57            ifeq ($(PEGASUS_PLATFORM),HPUX_PARISC_ACC)
58 mike  1.9    include $(ROOT)/mak/platform_$(PEGASUS_PLATFORM).mak
59 mike  1.8    FOUND = true
60            endif
61            
62            ifneq ($(FOUND),true)
63              ERROR = pegasus_unknown_platform
64            pegasus_unknown_platform:
65            	@ echo PEGASUS_PLATFORM environment variable must be set to one of\
66            	    the following: $(VALID_PLATFORMS)
67            	@ exit 1
68            endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2