Skip to content

Commit

Permalink
Imported Upstream version 1.2.24
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Davidsaver committed Aug 28, 2009
0 parents commit 9f2e541
Show file tree
Hide file tree
Showing 100 changed files with 32,703 additions and 0 deletions.
31 changes: 31 additions & 0 deletions ALH.bit
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#define AH_width 49
#define AH_height 48
unsigned char AH_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x10,
0x40, 0x20, 0x00, 0x00, 0x00, 0x20, 0x10, 0x40, 0x20, 0x00, 0x00, 0x00,
0x50, 0x10, 0x40, 0x20, 0x00, 0x00, 0x00, 0x50, 0x10, 0x40, 0x20, 0x00,
0x00, 0x00, 0x88, 0x10, 0x40, 0x20, 0x00, 0x00, 0x00, 0x88, 0x10, 0xc0,
0x3f, 0x00, 0x00, 0x00, 0xfc, 0x11, 0x40, 0x20, 0x00, 0x00, 0x00, 0x04,
0x11, 0x40, 0x20, 0x00, 0x00, 0x00, 0x02, 0x12, 0x40, 0x20, 0x00, 0x00,
0x00, 0x02, 0x12, 0x40, 0x20, 0x00, 0x00, 0x00, 0x02, 0xf2, 0x4f, 0x20,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00,
0x30, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x20, 0x00, 0x00, 0x00,
0x00, 0x20, 0x04, 0x40, 0x08, 0x00, 0x00, 0x80, 0x10, 0x02, 0x80, 0x10,
0x02, 0x00, 0xc4, 0x10, 0x02, 0x80, 0x10, 0x46, 0x00, 0x42, 0x08, 0x01,
0x00, 0x21, 0x84, 0x00, 0x42, 0x08, 0x81, 0x03, 0x21, 0x84, 0x00, 0x42,
0x08, 0x81, 0x03, 0x21, 0x84, 0x00, 0x42, 0x08, 0x81, 0x03, 0x21, 0x84,
0x00, 0x42, 0x08, 0x01, 0x00, 0x21, 0x84, 0x00, 0xc4, 0x10, 0x02, 0x80,
0x10, 0x46, 0x00, 0x80, 0x10, 0x02, 0x80, 0x10, 0x02, 0x00, 0x00, 0x20,
0x04, 0x40, 0x08, 0x00, 0x00, 0x00, 0x00, 0x08, 0x20, 0x00, 0x00, 0x00,
0x00, 0x00, 0x30, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x07, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
64 changes: 64 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
Copyright (c) 2002 University of Chicago. All rights reserved.

ALH is distributed subject to the following license conditions:

SOFTWARE LICENSE AGREEMENT
Software: Alarm Handler (ALH)

1. The "Software", below, refers to ALH (in either source code, or
binary form and accompanying documentation). Each licensee is
addressed as "you" or "Licensee."

2. The copyright holders shown above and their third-party licensors
hereby grant Licensee a royalty-free nonexclusive license, subject to
the limitations stated herein and U.S. Government license rights.

3. You may modify and make a copy or copies of the Software for use
within your organization, if you meet the following conditions:
a. Copies in source code must include the copyright notice and this
Software License Agreement.
b. Copies in binary form must include the copyright notice and this
Software License Agreement in the documentation and/or other
materials provided with the copy.

4. You may modify a copy or copies of the Software or any portion of it,
thus forming a work based on the Software, and distribute copies of
such work outside your organization, if you meet all of the following
conditions:
a. Copies in source code must include the copyright notice and this
Software License Agreement;
b. Copies in binary form must include the copyright notice and this
Software License Agreement in the documentation and/or other
materials provided with the copy;
c. Modified copies and works based on the Software must carry
prominent notices stating that you changed specified portions of
the Software.

5. Portions of the Software resulted from work developed under a U.S.
Government contract and are subject to the following license: the
Government is granted for itself and others acting on its behalf a
paid-up, nonexclusive, irrevocable worldwide license in this computer
software to reproduce, prepare derivative works, and perform publicly
and display publicly.

6. WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS" WITHOUT WARRANTY
OF ANY KIND. THE COPYRIGHT HOLDERS, THEIR THIRD PARTY LICENSORS, THE
UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND THEIR
EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT, (2) DO NOT ASSUME
ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS,
OR USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF THE
SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4) DO NOT WARRANT
THAT THE SOFTWARE WILL FUNCTION UNINTERRUPTED, THAT IT IS ERROR-FREE
OR THAT ANY ERRORS WILL BE CORRECTED.

7. LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT HOLDERS, THEIR
THIRD PARTY LICENSORS, THE UNITED STATES, THE UNITED STATES DEPARTMENT
OF ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF ANY KIND OR NATURE,
INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS OR LOSS OF DATA, FOR ANY
REASON WHATSOEVER, WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF
CONTRACT, TORT (INCLUDING NEGLIGENCE OR STRICT LIABILITY), OR
OTHERWISE, EVEN IF ANY OF SAID PARTIES HAS BEEN WARNED OF THE
POSSIBILITY OF SUCH LOSS OR DAMAGES.
191 changes: 191 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# National Laboratory.
# Copyright (c) 2002 Deutches Elektronen-Synchrotron in der Helmholtz-
# Gemelnschaft (DESY).
# Copyright (c) 2002 Berliner Speicherring-Gesellschaft fuer Synchrotron-
# Strahlung mbH (BESSY).
# Copyright (c) 2002 Southeastern Universities Research Association, as
# Operator of Thomas Jefferson National Accelerator Facility.
# Copyright (c) 2002 The Regents of the University of California, as
# Operator of Los Alamos National Laboratory.
# This file is distributed subject to a Software License Agreement found
# in the file LICENSE that is included with this distribution.
#*************************************************************************
#
# Makefile,v 1.16 2007/10/02 19:08:22 jba Exp
#
TOP=../..
include $(TOP)/configure/CONFIG

#===========================
# Debugging options

ifeq ($(OS_CLASS), Darwin)
GCC_OPT_YES = -O2
endif

#HOST_OPT=NO
#DEBUGCMD = purify -first-only -chain-length=40 -max_threads=256 \
-always-use-cache-dir -cache-dir=$(shell $(PERL) $(TOP)/config/fullPathName.pl .)
#DEBUGCMD = purify -first-only -chain-length=40 -max_threads=256 \
# -always-use-cache-dir -cache-dir=$(shell $(PERL) $(TOOLS)/fullPathName.pl .)

#=============================

I_WANT_CDEV = NO
I_WANT_GREETINGS = NO
I_WANT_CMLOG = NO

# These should really be done in <TOP>/config/RELEASE, but
# defining things here overrides these values.
#CMLOG=/opt/OPI/cmlog
##EPICS_BASE=/home/controls/epics/baseR3.13.1
#CDEV_DIR = /home/phoebus6/JBA/jlab/cdev1-7
#CDEVINCLUDE = $(CDEV_DIR)/include
#CDEVLIB = $(CDEV_DIR)/lib/$(HOST_ARCH)

ifeq ($(I_WANT_GREETINGS),YES)
alh_CFLAGS += -DIWantGreetings
alh_SRCS += productDescriptionShell.c
endif

ifeq ($(DEBUG), YES)
USR_CCFLAGS += -DDEBUG
endif

Linux_CPPFLAGS += -D_SVID_SOURCE -D_BSD_SOURCE
printer_CPPFLAGS += $($(OS_CLASS)_CPPFLAGS)
file_CPPFLAGS += $($(OS_CLASS)_CPPFLAGS)
alLog_CPPFLAGS += $($(OS_CLASS)_CPPFLAGS)

ifeq ($(I_WANT_CMLOG),YES)
CMLOG_BIN = $(CMLOG)/bin/$(HOST_ARCH)
alLog_CFLAGS += -I$(CMLOG)/include -DCMLOG
file_CFLAGS += -I$(CMLOG)/include -DCMLOG
awAlh_CFLAGS += -DCMLOG -DCMLOG_CONFIG="\"cmlogrc.ALH\"" \
-DCMLOG_BROWSER="\"$(CMLOG_BIN)/cmlog -xrm '*geometry: 1400x500' -c\""
alh_LIBS += cmlog
cmlog_DIR = $(CMLOG)/lib/$(HOST_ARCH)
# Use following line if cmlog_DIR not in LD_LIBRARY_PATH
USR_LDFLAGS_solaris = -R$(cmlog_DIR)

LINK.c = $(LINK.cc)
CPLUSPLUS = CCC
endif

.PHONY: libcmlog.a

ifeq ($(I_WANT_CDEV),YES)

CDEV_LIB = $(CDEVLIB)
CDEV_INC = $(CDEVINCLUDE)

#USR_CXXFLAGS += -g
#USR_CXXFLAGS += -D__STDC__
#USR_LDFLAGS += -Wl,-E

USR_CXXFLAGS += -features=no%conststrings
USR_CXXFLAGS += -I$(CDEV_INC)

PROD_LIBS_DEFAULT += caService cdev
cdev_DIR = $(CDEV_LIB)
caService_DIR = $(CDEV_LIB)

ifeq ($(ANSI), GCC)
PROD_LIBS += EpicsCa ca
EpicsCa_DIR = $(CDEV_LIB)
endif
SYS_PROD_LIBS_DEFAULT += y l

alh_SRCS += alCaCdev.cc
else
PROD_LIBS += ca

alh_SRCS += alCA.c
endif

USR_INCLUDES += -I../os/$(OS_CLASS) -I../os/default

#USR_INCLUDES += -I/usr/contrib/X11R5/include -I$(MOTIF_INC) -I$(X11_INC)
USR_INCLUDES += -I$(MOTIF_INC) -I$(X11_INC)

# baseR3.13.0.beta12 and later
awAlh_CFLAGS += -DALH_HELP_URL="\"http://www.aps.anl.gov/asd/controls/epics/EpicsDocumentation/ExtensionsManuals/AlarmHandler/ALHUserGuide/ALHUserGuide.html\""

USER_VPATH += ../os/$(OS_CLASS)
USER_VPATH += ../os/default

alh_SRCS += acknowledge.c
alh_SRCS += alAudio.c
alh_SRCS += alarm.c
alh_SRCS += alCaCommon.c
alh_SRCS += alConfig.c
alh_SRCS += alFilter.c
alh_SRCS += alLib.c
alh_SRCS += alLog.c
alh_SRCS += alView.c
alh_SRCS += alh.c
alh_SRCS += awAct.c
alh_SRCS += awAlh.c
alh_SRCS += awEdit.c
alh_SRCS += awView.c
alh_SRCS += axArea.c
alh_SRCS += axRunW.c
alh_SRCS += axSubW.c
alh_SRCS += browser.c
alh_SRCS += current.c
alh_SRCS += dialog.c
alh_SRCS += file.c
alh_SRCS += force.c
alh_SRCS += guidance.c
alh_SRCS += heartbeat.c
alh_SRCS += help.c
alh_SRCS += line.c
alh_SRCS += mask.c
alh_SRCS += process.c
alh_SRCS += property.c
alh_SRCS += scroll.c
alh_SRCS += showmask.c
alh_SRCS += sllLib.c
alh_SRCS += beepSevr.c
alh_SRCS += noAck.c

alh_DB_SRCS = alh_DB.c

alh_printer_SRCS = printer.c

PROD_HOST_DEFAULT = alh alh_printer
PROD_HOST_WIN32 = alh

WIN32_RUNTIME=MD
USR_CFLAGS_WIN32 += /DWIN32 /D_WINDOWS
ifndef BORLAND
USR_LDFLAGS_WIN32 += /SUBSYSTEM:WINDOWS
endif

PROD_LIBS += Com
PROD_LIBS_DEFAULT += Xmu Xm Xt X11
PROD_LIBS_Linux += Xmu Xm Xt X11 Xp
PROD_LIBS_Darwin += Xmu Xm Xt X11

PROD_LIBS_WIN32 += $(EXCEED_XLIBS)
SYS_PROD_LIBS_WIN32 += winmm user32
USR_CFLAGS_WIN32 += $(EXCEED_CFLAGS)

SYS_PROD_LIBS_solaris += socket nsl

Xmu_DIR = $(X11_LIB)
#Xmu_DIR = /usr/contrib/X11R6/lib
Xm_DIR = $(MOTIF_LIB)
Xt_DIR = $(X11_LIB)
X11_DIR = $(X11_LIB)
Xp_DIR = $(MOTIF_LIB)

RCS_WIN32 += alh.rc

include $(TOP)/configure/RULES

alh.res:../alh.ico
alh.res:../version.h

2 changes: 2 additions & 0 deletions README.1st
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The extension distribution file should be unziped and untared
in the extensions/src directory.
Loading

0 comments on commit 9f2e541

Please sign in to comment.