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