version 1.2, 2005/03/21 02:40:19
|
version 1.12, 2008/12/16 18:55:36
|
|
|
ifeq ($(PEGASUS_OS_TYPE),VMS) |
#//%LICENSE//////////////////////////////////////////////////////////////// |
|
#// |
|
#// Licensed to The Open Group (TOG) under one or more contributor license |
|
#// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with |
|
#// this work for additional information regarding copyright ownership. |
|
#// Each contributor licenses this file to you under the OpenPegasus Open |
|
#// Source License; you may not use this file except in compliance with the |
|
#// License. |
|
#// |
|
#// Permission is hereby granted, free of charge, to any person obtaining a |
|
#// copy of this software and associated documentation files (the "Software"), |
|
#// to deal in the Software without restriction, including without limitation |
|
#// the rights to use, copy, modify, merge, publish, distribute, sublicense, |
|
#// and/or sell copies of the Software, and to permit persons to whom the |
|
#// Software is furnished to do so, subject to the following conditions: |
|
#// |
|
#// The above copyright notice and this permission notice shall be included |
|
#// in all copies or substantial portions of the Software. |
|
#// |
|
#// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
|
#// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|
#// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
|
#// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
|
#// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
|
#// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
|
#// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
#// |
|
#////////////////////////////////////////////////////////////////////////// |
|
ifeq ($(OS_TYPE),vms) |
|
ifeq ($(PEGASUS_USE_STATIC_LIBRARIES),true) |
|
ifeq ($(STATIC),1) |
|
BUILD_LIBRARY=1 |
|
endif |
|
endif |
|
else |
|
BUILD_LIBRARY=1 |
|
endif |
|
|
|
ifdef BUILD_LIBRARY |
|
include $(ROOT)/mak/library.mak |
|
else |
# | # |
# Make this a program instead of a library. | # Make this a program instead of a library. |
# VMS can only share executables! | # VMS can only share executables! |
# | # |
| |
PROGRAM = $(addprefix lib,$(LIBRARY)) | PROGRAM = $(addprefix lib,$(LIBRARY)) |
VMSSHARE =/share/symbol_table=$(OBJ_VMSDIRA)]/sysexe |
VMSSHARE =/share/sysexe |
SHARE_COPY = YES | SHARE_COPY = YES |
| |
|
ifdef PEGASUS_VMS_GENERATE_EXPORT_SYMBOLS |
|
CFLAGS += /export_symbols=(options_file=$(BIN_VMSDIRA)]$(PROGRAM),EXPLICIT) |
|
CFLAGS += /warn=disable=(inaspefun) |
|
DLLOPT = , $(BIN_VMSDIRA)]$(PROGRAM)/opt |
|
endif |
|
|
include $(ROOT)/mak/program.mak | include $(ROOT)/mak/program.mak |
| |
else |
tests: $(ERROR) |
| |
include $(ROOT)/mak/library.mak |
#l10n |
|
messages: $(ERROR) |
|
|
|
poststarttests: $(ERROR) |
| |
endif | endif |
|
|