1 martin 1.32 #//%LICENSE////////////////////////////////////////////////////////////////
|
2 martin 1.33 #//
|
3 martin 1.32 #// 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.33 #//
|
10 martin 1.32 #// 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.33 #//
|
17 martin 1.32 #// The above copyright notice and this permission notice shall be included
18 #// in all copies or substantial portions of the Software.
|
19 martin 1.33 #//
|
20 martin 1.32 #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
21 martin 1.33 #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
22 martin 1.32 #// 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.33 #//
|
28 martin 1.32 #//////////////////////////////////////////////////////////////////////////
|
29 gs.keenan 1.1 include $(ROOT)/mak/config-vms.mak
30
31 OS = VMS
32
|
33 gs.keenan 1.25 ARCHITECTURE = alpha
|
34 gs.keenan 1.1
|
35 gs.keenan 1.25 COMPILER = deccxx
|
36 gs.keenan 1.1
37 SYS_VMSINCLUDES = -I$(ROOT)/src/stdcxx/cwrappers
38
|
39 gs.keenan 1.14 DEFINES = -DPEGASUS_OS_VMS -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM)
|
40 gs.keenan 1.1
41 DEPEND_INCLUDES =
42
|
43 carson.hovey 1.24 TMP_OBJDIR = $(subst ../,,$(DIR))
44 OBJ_DIR = $(HOME_DIR)/obj/$(TMP_OBJDIR)
|
45 carson.hovey 1.15 BIN_DIR = $(HOME_DIR)/bin
46 LIB_DIR = $(HOME_DIR)/lib
47 OPT_DIR = $(HOME_DIR)/opt
|
48 gs.keenan 1.1
|
49 carson.hovey 1.27 LFLAGS = /Threads_Enable=Upcalls
50 LFLAGS += /symbol_table=$(BIN_VMSDIRA)]$(PROGRAM)
|
51 carson.hovey 1.28 LFLAGS += /map=$(BIN_VMSDIRA)]$(PROGRAM)/full/cross_ref/section_binding
52 CFLAGS = /main=POSIX_EXIT
53 CFLAGS += /names=(uppercase,shortened)
54 CFLAGS += /repos=$(CXXREPOSITORY_VMSROOT)/template_def=time
55
56 CCFLAGS = /main=POSIX_EXIT
57 CCFLAGS += /names=(uppercase,shortened)
58 CCFLAGS += /OPT=INLINE
59 CCFLAGS += /nowarn
60
|
61 kumpf 1.34 ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS
|
62 gs.keenan 1.1 CFLAGS += /debug/noopt/show=include/lis=$(OBJ_VMSDIRA)]
|
63 carson.hovey 1.28 CCFLAGS += /debug/noopt
64 CCFLAGS += /show=include/lis=$(OBJ_VMSDIRA)]
|
65 carson.hovey 1.16 LFLAGS += /debug
|
66 gs.keenan 1.1 endif
67
68 # SSL support
|
69 gs.keenan 1.17 OPENSSL_VMSHOME = /Pegasus_Tools
|
70 gs.keenan 1.1 OPENSSL_HOME = $(OPENSSL_VMSHOME)
|
71 john.eisenbraun 1.30 OPENSSL_LIB = PEGASUS_OPENSSLLIB
|
72 gs.keenan 1.17 PEGASUS_HAS_SSL = yes
|
73 denise.eckstein 1.23 OPENSSL_SET_SERIAL_SUPPORTED = true
|
74 gs.keenan 1.1
|
75 carson.hovey 1.28 PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER = true
76 PEGASUS_ENABLE_SYSTEM_LOG_HANDLER = true
77 PEGASUS_ENABLE_EMAIL_HANDLER = true
|
78 kumpf 1.34 # Local domain sockets, or an equivalent,
|
79 carson.hovey 1.27 # is not currently supported on OpenVMS. Bug 2147
|
80 gs.keenan 1.17 PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET=1
81 # The Provider User Context feature (PEP 197) is not yet supported on OpenVMS
82 PEGASUS_DISABLE_PROV_USERCTXT=1
|
83 carson.hovey 1.29 PEGASUS_USE_STATIC_LIBRARIES = true
|
84 john.eisenbraun 1.31 PEGASUS_ENABLE_PROTOCOL_WSMAN = true
|
85 carson.hovey 1.29
|
86 gs.keenan 1.1 CXX = cxx
87
88 SH = sh
89
90 YACC = bison
91
|
92 jim.wunderlich 1.4 RM = mu rm
93
|
94 gs.keenan 1.20 DIFF = mu compare
|
95 jim.wunderlich 1.4
96 SORT = mu sort
97
|
98 gs.keenan 1.1 COPY = mu copy
99
100 MOVE = mu move
101
102 PEGASUS_SUPPORTS_DYNLIB = yes
103
104 LIB_SUFFIX =.olb
|
105 kumpf 1.2
|