1 karl 1.20 #//%2006////////////////////////////////////////////////////////////////////////
|
2 martin 1.12 #//
3 #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
4 #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
5 #// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
6 #// IBM Corp.; EMC Corporation, The Open Group.
7 #// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
8 #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
9 #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
10 #// EMC Corporation; VERITAS Software Corporation; The Open Group.
|
11 karl 1.20 #// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
12 #// EMC Corporation; Symantec Corporation; The Open Group.
|
13 martin 1.12 #//
14 #// Permission is hereby granted, free of charge, to any person obtaining a copy
15 #// of this software and associated documentation files (the "Software"), to
16 #// deal in the Software without restriction, including without limitation the
17 #// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
18 #// sell copies of the Software, and to permit persons to whom the Software is
19 #// furnished to do so, subject to the following conditions:
20 #//
21 #// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
22 #// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
23 #// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
24 #// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
25 #// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
26 #// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
27 #// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 #// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 #//
|
30 carson.hovey 1.30 #//==============================================================================
|
31 gs.keenan 1.1 include $(ROOT)/mak/config-vms.mak
32
33 OS = VMS
34
35 ARCHITECTURE = ia64
36
37 COMPILER = deccxx
38
|
39 gs.keenan 1.13 DEFINES = -DPEGASUS_OS_VMS -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM)
|
40 gs.keenan 1.1
|
41 carson.hovey 1.31 ifeq ($(PEGASUS_USE_STATIC_LIBRARIES),false)
42 PEGASUS_VMS_GENERATE_EXPORT_SYMBOLS = true
43 endif
44
45 ifeq ($(PEGASUS_VMS_GENERATE_EXPORT_SYMBOLS),true)
46 DEFINES += -DPEGASUS_VMS_GENERATE_EXPORT_SYMBOLS
47 endif
48
|
49 gs.keenan 1.1 DEPEND_INCLUDES =
50
|
51 carson.hovey 1.23 TMP_OBJDIR = $(subst ../,,$(DIR))
52 OBJ_DIR = $(HOME_DIR)/obj/$(TMP_OBJDIR)
|
53 carson.hovey 1.14 BIN_DIR = $(HOME_DIR)/bin
54 LIB_DIR = $(HOME_DIR)/lib
55 OPT_DIR = $(HOME_DIR)/opt
|
56 carson.hovey 1.30 LFLAGS = /Threads_Enable=(Upcalls,Multiple_Kernel_Threads)
57 LFLAGS += /symbol_table=$(BIN_VMSDIRA)]$(PROGRAM)
58 LFLAGS += /map=$(BIN_VMSDIRA)]$(PROGRAM)/full/cross_reference
59 CFLAGS = /main=POSIX_EXIT
|
60 john.eisenbraun 1.33 CFLAGS += /names=(uppercase,shortened)
|
61 carson.hovey 1.30 CFLAGS += /repos=$(CXXREPOSITORY_VMSROOT)
62
63 CCFLAGS = /main=POSIX_EXIT
|
64 john.eisenbraun 1.33 CCFLAGS += /names=(uppercase,shortened)
65
66 ifdef PEGASUS_LIST_MACHINE_CODE
67 CFLAGS += /show=include/list=$(OBJ_VMSDIRA)]/debug/noopt
68 CCFLAGS += /show=include/list=$(OBJ_VMSDIRA)]/debug/noopt
69 CFLAGS += /machine_code
70 CCFLAGS += /machine_code
71 endif
|
72 carson.hovey 1.28
|
73 aruran.ms 1.17 ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS
|
74 john.eisenbraun 1.33 CFLAGS += /show=include/list=$(OBJ_VMSDIRA)]/debug/noopt
75 CCFLAGS += /show=include/list=$(OBJ_VMSDIRA)]/debug/noopt
76 # generate run-time .dsf files (Debug Symbol Table files)
77 LFLAGS += /dsf=$(BIN_VMSDIRA)]$(PROGRAM)
78 #Do not link with /debug so that debug images can be "run"
79 #during the build without invoking the debugger which stops automated
80 #tests due to the user interface.
81 #Use $set image/flag=call_debug to debug an image.
82 #Note: This assumes the build is using /dsf= which gives the debugger debug
83 #information.
|
84 carson.hovey 1.30 else
|
85 john.eisenbraun 1.33 # Note: No advantage to /debug in a release build unless
86 # LFLAGS += /dsf= is used.
87 # generate run-time .dsf files (Debug Symbol Table files)
88 LFLAGS += /dsf=$(BIN_VMSDIRA)]$(PROGRAM)
|
89 carson.hovey 1.30 CFLAGS += /debug
90 CCFLAGS += /debug
91 CCFLAGS += /OPT=INLINE
|
92 gs.keenan 1.1 endif
93
94 # SSL support
|
95 gs.keenan 1.16 OPENSSL_VMSHOME = /Pegasus_Tools
|
96 gs.keenan 1.1 OPENSSL_HOME = $(OPENSSL_VMSHOME)
|
97 john.eisenbraun 1.32 OPENSSL_LIB = PEGASUS_OPENSSLLIB
|
98 gs.keenan 1.1 PEGASUS_HAS_SSL = yes
|
99 denise.eckstein 1.22 OPENSSL_SET_SERIAL_SUPPORTED = true
|
100 gs.keenan 1.16
|
101 john.eisenbraun 1.33 PEGASUS_ARCHITECTURE_64BIT = yes
|
102 carson.hovey 1.30
|
103 john.eisenbraun 1.33 # PEGASUS_TEST_USER_DEFINED assumes user "pegtest"
104 PEGASUS_TEST_USER_DEFINED = true
|
105 gs.keenan 1.25 PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER = true
|
106 carson.hovey 1.28 PEGASUS_ENABLE_SYSTEM_LOG_HANDLER = true
107 PEGASUS_ENABLE_EMAIL_HANDLER = true
|
108 carson.hovey 1.30 PEGASUS_ENABLE_COMPRESSED_REPOSITORY = true
|
109 john.eisenbraun 1.33 PEGASUS_ENABLE_PROTOCOL_WSMAN = true
|
110 gs.keenan 1.1
|
111 carson.hovey 1.29 # Local domain sockets, or an equivalent,
112 # is not currently supported on OpenVMS. Bug 2147
|
113 h.sterling 1.10 PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET=1
|
114 h.sterling 1.7
|
115 gs.keenan 1.16 # The Provider User Context feature (PEP 197) is not yet supported on OpenVMS
116 PEGASUS_DISABLE_PROV_USERCTXT=1
117
|
118 gs.keenan 1.1 CXX = cxx
119
120 SH = sh
121
122 YACC = bison
123
|
124 jim.wunderlich 1.3 RM = mu rm
125
|
126 gs.keenan 1.19 DIFF = mu compare
|
127 jim.wunderlich 1.3
128 SORT = mu sort
129
|
130 gs.keenan 1.1 COPY = mu copy
131
132 MOVE = mu move
133
134 PEGASUS_SUPPORTS_DYNLIB = yes
135
136 LIB_SUFFIX =.olb
|