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.30.2.1 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 carson.hovey 1.30.2.1 # run-time .dsf files -
60 # - do not stop in main
61 # - give end of file warning when scrolling through debugger window to bottom.
62 # - very few breakpoints to click on (none in main for example).
63 LFLAGS += /dsf=$(BIN_VMSDIRA)]$(PROGRAM)
64 # Add inaspefun to hide error.
65 #CFLAGS = /warn=disable=(inaspefun,baddefass)
|
66 carson.hovey 1.30 CFLAGS = /main=POSIX_EXIT
|
67 carson.hovey 1.30.2.1 CFLAGS += /names=(uppercase,shortened)
|
68 carson.hovey 1.30 CFLAGS += /repos=$(CXXREPOSITORY_VMSROOT)
69
70 CCFLAGS = /main=POSIX_EXIT
|
71 carson.hovey 1.30.2.1 #CCFLAGS = /names=(uppercase,shortened)
72 #CCFLAGS = /names=(as_is,shortened)
|
73 carson.hovey 1.30 CCFLAGS += /names=(shortened)
|
74 carson.hovey 1.30.2.1 CCFLAGS += /ieee_mode=denorm_results
75
76 ifdef PEGASUS_LIST_MACHINE_CODE
77 CFLAGS += /show=include/list=$(OBJ_VMSDIRA)]/debug/noopt
78 CCFLAGS += /show=include/list=$(OBJ_VMSDIRA)]/debug/noopt
79 CFLAGS += /machine_code
80 CCFLAGS += /machine_code
81 endif
|
82 carson.hovey 1.28
|
83 aruran.ms 1.17 ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS
|
84 carson.hovey 1.30.2.1 CFLAGS += /show=include/list=$(OBJ_VMSDIRA)]/debug/noopt
85 CCFLAGS += /show=include/list=$(OBJ_VMSDIRA)]/debug/noopt
86 #Do not link with /debug so that debug images can be "run"
87 #during the build without invoking the debugger which stops automated
88 #tests due to the user interface.
89 #Use $set image/flag=call to debug an image.
90 #Note: This assumes the build is using /dsf=
91 #LFLAGS += /debug
|
92 carson.hovey 1.30 else
|
93 carson.hovey 1.30.2.1 # Note: No advantage to /debug in a release build unless
94 # LFLAGS += /dsf= is used.
|
95 carson.hovey 1.30 CFLAGS += /debug
96 CCFLAGS += /debug
|
97 carson.hovey 1.30.2.1 #73-42-315 c compiler problem with /opt=inline=all
98 #CCFLAGS += /OPT=INLINE=ALL
|
99 carson.hovey 1.30 CCFLAGS += /OPT=INLINE
|
100 gs.keenan 1.1 endif
101
|
102 carson.hovey 1.30.2.1 # OpenVMS 8.3-1H1 release notes section: 3.10
103 #CFLAGS += /pointer_size=64
104 #LFLAGS += /segment_attribute=code=P2
105
|
106 gs.keenan 1.1 SYS_LIBS =+sys$share:sys$lib_c/lib
107
108 # SSL support
|
109 gs.keenan 1.16 OPENSSL_VMSHOME = /Pegasus_Tools
|
110 gs.keenan 1.1 OPENSSL_HOME = $(OPENSSL_VMSHOME)
111 PEGASUS_HAS_SSL = yes
|
112 denise.eckstein 1.22 OPENSSL_SET_SERIAL_SUPPORTED = true
|
113 gs.keenan 1.16
|
114 carson.hovey 1.30.2.1 PEGASUS_ARCHITECTURE_64BIT = yes
|
115 carson.hovey 1.30
|
116 carson.hovey 1.30.2.1 #PEGASUS_ENABLE_USERGROUP_AUTHORIZATION = true
117 # ! PEGASUS_TEST_USER_DEFINED assumes user "pegtest"
118 PEGASUS_TEST_USER_DEFINED = true
119 #PEGASUS_TEST_USER_ID =
120 #PEGASUS_TEST_USER_PASS =
121 #PEGASUS_USE_NET_SNMP = true
122 #NET_SNMP_INCLUDE_DIR =
123 #PEGASUS_NET_SNMP_INCLUDE_DIR = USER6:[HoveyC.temp.KITS.NET-SNMP.SOURCE.NET-SNMP-5_3_1.AGENT.MIBGROUP.UCD-SNMP]
124 #PEGASUS_NET_SNMP_DIR =
125 #PEGASUS_ENABLE_PAM_STANDALONE_PROC = true
126 PEGASUS_ENABLE_PAM_AUTHENTICATION = true
127 #PEGASUS_ENABLE_REMOTE_CMPI = true
|
128 gs.keenan 1.25 PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER = true
|
129 carson.hovey 1.28 PEGASUS_ENABLE_SYSTEM_LOG_HANDLER = true
130 PEGASUS_ENABLE_EMAIL_HANDLER = true
|
131 carson.hovey 1.30.2.1 #PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER = true
132 #PEGASUS_ENABLE_SLP = true
133 #PEGASUS_DEFAULT_ENABLE_OOP = true
|
134 carson.hovey 1.30 PEGASUS_ENABLE_COMPRESSED_REPOSITORY = true
|
135 carson.hovey 1.30.2.1 #PEGASUS_ENABLE_IPV6 = false
136 PEGASUS_ENABLE_PROTOCOL_WSMAN = true
|
137 gs.keenan 1.1
|
138 carson.hovey 1.30.2.1 # Local domain sockets, or an equivalent, is not currently supported on OpenVMS. Bug 2147
|
139 h.sterling 1.10 PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET=1
|
140 h.sterling 1.7
|
141 gs.keenan 1.16 # The Provider User Context feature (PEP 197) is not yet supported on OpenVMS
142 PEGASUS_DISABLE_PROV_USERCTXT=1
143
|
144 gs.keenan 1.1 CXX = cxx
145
146 SH = sh
147
148 YACC = bison
149
|
150 jim.wunderlich 1.3 RM = mu rm
151
|
152 gs.keenan 1.19 DIFF = mu compare
|
153 jim.wunderlich 1.3
154 SORT = mu sort
155
|
156 gs.keenan 1.1 COPY = mu copy
157
158 MOVE = mu move
159
160 PEGASUS_SUPPORTS_DYNLIB = yes
161
162 LIB_SUFFIX =.olb
|