Initial revision

This commit is contained in:
zimoch
2010-11-29 10:38:06 +00:00
commit 90d03cb45e
1557 changed files with 241151 additions and 0 deletions

32
src/makeBaseExt/Makefile Normal file
View File

@@ -0,0 +1,32 @@
TOP=../..
include $(TOP)/configure/CONFIG
TEMPLATES_DIR = makeBaseExt
TEMPLATES += top/Makefile
TEMPLATES += top/README
TEMPLATES += top/configure/CONFIG
TEMPLATES += top/configure/CONFIG_SITE
TEMPLATES += top/configure/Makefile
TEMPLATES += top/configure/RELEASE
TEMPLATES += top/configure/RULES
TEMPLATES += top/configure/RULES_DIRS
TEMPLATES += top/configure/RULES_TOP
TEMPLATES += top/configure/RULES_PYTHON
TEMPLATES += top/configure/RULES_IDL
TEMPLATES += $(subst ../,,$(wildcard ../top/configure/os/CONFIG*))
TEMPLATES += top/src/Makefile
TEMPLATES += top/exampleExt/Makefile
TEMPLATES += top/exampleExt/caExample.c
TEMPLATES += top/exampleExt/RELEASE_NOTES.HTM
TEMPLATES += top/simpleExt/Makefile
SCRIPTS_HOST += makeBaseExt.pl
include $(TOP)/configure/RULES

309
src/makeBaseExt/makeBaseExt.pl Executable file
View File

@@ -0,0 +1,309 @@
eval 'exec perl -S $0 ${1+"$@"}' # -*- Mode: perl -*-
if $running_under_some_shell; # makeBaseExt
# Authors: Ralph Lange, Marty Kraimer, Andrew Johnson and Janet Anderson
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
use Cwd;
use Getopt::Std;
use File::Copy;
use File::Find;
use File::Path;
$user = GetUser();
$cwd = cwd();
$eEXTTYPE = $ENV{EPICS_MBE_DEF_EXT_TYPE};
$eTOP = $ENV{EPICS_MBE_TEMPLATE_TOP};
$eBASE = $ENV{EPICS_MBE_BASE};
&get_commandline_opts; # Read and check options
$extname = "@ARGV";
#
# Declare two default callback routines for file copy plus two
# hook routines to add conversions
# These may be overriden within $top/$exttypename/Replace.pl
# First: the hooks
sub ReplaceFilenameHook { return $_[0]; }
sub ReplaceLineHook { return $_[0]; }
# ReplaceFilename
# called with the source (template) file or directory name, returns
# the "real" name (which gets the target after $top is removed)
# Empty string: Don't copy this file
sub ReplaceFilename { # (filename)
my($file) = $_[0];
$file =~ s|.*/CVS/?.*||; # Ignore CVS files
if ($ext) { # exttypenameExt itself is dynamic, too
$file =~ s|/$exttypename|/$extdir|;
$file =~ s|/$extdir/configure|/configure/$exttype|;
}
$file =~ s|_EXTNAME_|$extname|;
$file =~ s|_EXTTYPE_|$exttype|;
# We don't want the Replace overrides
$file =~ s|.*/$extdir/Replace.pl$||;
$file = &ReplaceFilenameHook($file); # Call the user-defineable hook
return $file;
}
# ReplaceLine
# called with one line of a file, returns the line after replacing
# this and that
sub ReplaceLine { # (line)
my($line) = $_[0];
$line =~ s/_USER_/$user/o;
$line =~ s/_EPICS_BASE_/$epics_base/o;
$line =~ s/_ARCH_/$arch/o;
$line =~ s/_EXTNAME_/$extname/o;
$line =~ s/_EXTTYPE_/$exttype/o;
$line =~ s/_TEMPLATE_TOP_/$top/o;
$line = &ReplaceLineHook($line); # Call the user-defineable hook
return $line;
}
# Source replace overrides for file copy
if (-r "$top/$exttypename/Replace.pl") {
require "$top/$exttypename/Replace.pl";
}
#
# Copy files and trees from <top> (non-Ext) if not present
#
opendir TOPDIR, "$top" or die "Can't open $top: $!";
foreach $f ( grep !/^\.\.?$|^[^\/]*(Ext)/, readdir TOPDIR ) {
if (-f "$f") {
&CopyFile("$top/$f") unless (-e "$f");
} else {
$note = yes if ("$f" eq "src" && -e "$f");
find(\&FCopyTree, "$top/$f") unless (-e "$f");
}
}
closedir TOPDIR;
#
# Create ext directories (if any names given)
#
$cwdsave = $cwd;
$cwd = "$cwd/src";
foreach $ext ( @ARGV ) {
($extname = $ext) =~ s/Ext$//;
$extdir = $extname;
if (-d "src/$extdir") {
print "Extention $extname is already there!\n";
next;
}
print "Creating template structure "
. "for $extname (of type $exttypename)\n" if $Debug;
find(\&FCopyTree, "$top/$exttypename/");
if ($note) {
print "\nNOTE: You must add the line \"DIRS += $extname\" to src/Makefile.\n\n";
}
}
$cwd = $cwdsave;
exit 0; # END OF SCRIPT
#
# Get commandline options and check for validity
#
sub get_commandline_opts { #no args
($len = @ARGV) and getopts("ldit:T:b:a:") or Cleanup(1);
# Debug option
$Debug = 1 if $opt_d;
# Locate epics_base
my ($command) = UnixPath($0);
if ($opt_b) { # first choice is -b base
$epics_base = UnixPath($opt_b);
} elsif (-r "configure/RELEASE") { # second choice is configure/RELEASE
open(IN, "configure/RELEASE") or die "Cannot open configure/RELEASE";
while (<IN>) {
chomp;
s/EPICS_BASE\s*=\s*// and $epics_base = UnixPath($_), break;
}
close IN;
} elsif ($eBASE) { # third choice is env var EPICS_MBE_BASE
$epics_base = UnixPath($eBASE);
} elsif ($command =~ m|/bin/|) { # assume script was called with full path to base
$epics_base = $command;
$epics_base =~ s|(/.*)/bin/.*makeBaseExt.*|$1|;
}
"$epics_base" or Cleanup(1, "Cannot find EPICS base");
# Locate template top directory
if ($opt_T) { # first choice is -T templ-top
$top = UnixPath($opt_T);
} elsif (-r "configure/RELEASE") { # second choice is configure/RELEASE
open(IN, "configure/RELEASE") or die "Cannot open configure/RELEASE";
while (<IN>) {
chomp;
s/TEMPLATE_TOP\s*=\s*// and $top = UnixPath($_), break;
}
close IN;
}
if("$top" eq "") {
if ($eTOP) { # third choice is $ENV{EPICS_MBE_TEMPL_TOP}
$top = UnixPath($eTOP);
} else { # use templates from EPICS base
$top = $epics_base . "/templates/makeBaseExt/top";
}
}
"$top" or Cleanup(1, "Cannot find template top directory");
# Print extension type list?
if ($opt_l) {
&ListExtTypes;
exit 0; # finished for -l command
}
# Extention template type
if ($opt_t) { # first choice is -t type
$exttype = $opt_t;
} elsif ($eEXTTYPE) { # second choice is $ENV{EPICS_DEFAULT_EXT_TYPE}
$exttype = $eEXTTYPE;
} elsif (-r "$top/defaultExt") {# third choice is (a link) in the $top dir
$exttype = "default";
} elsif (-r "$top/exampleExt") {# fourth choice is (a link) in the $top dir
$exttype = "example";
}
$exttype =~ s/Ext$//;
"$exttype" or Cleanup(1, "Cannot find default extension type");
$exttypename = $exttype . "Ext";
# Valid $exttypename?
unless (-r "$top/$exttypename") {
print "Template for extension type '$exttype' is unreadable or does not exist.\n";
&ListExtTypes;
exit 1;
}
print "\nCommand line / environment options validated:\n"
. " Templ-Top: $top\n"
. "Templ-Type: $exttype\n"
. "Templ-Name: $exttypename\n"
. "EPICS-Base: $epics_base\n\n" if $Debug;
}
#
# List extension types
#
sub ListExtTypes { # no args
print "Valid extension types are:\n";
foreach $name (<$top/*Ext>) {
$name =~ s|$top/||;
$name =~ s|Ext||;
printf "\t$name\n" if ($name && -r "$top/$name" . "Ext");
}
}
#
# Copy a file with replacements
#
sub CopyFile { # (source)
$source = $_[0];
$target = &ReplaceFilename($source);
if ($target) {
$target =~ s|$top/||;
open(INP, "<$source") and open(OUT, ">$target")
or die "$! Copying $source -> $target";
print "Copying file $source -> $target\n" if $Debug;
while (<INP>) {
print OUT &ReplaceLine($_);
}
close INP; close OUT;
}
}
#
# Find() callback for file or structure copy
#
sub FCopyTree {
chdir $cwd; # Sigh
if (-d $File::Find::name
and ($dir = &ReplaceFilename($File::Find::name))) {
$dir =~ s|$top/||;
print "Creating directory $dir\n" if $Debug;
&mkpath($dir);
} else {
&CopyFile($File::Find::name);
}
chdir $File::Find::dir;
}
#
# Cleanup and exit
#
sub Cleanup { # (return-code [ messsage-line1, line 2, ... ])
my ($rtncode, @message) = @_;
foreach $line ( @message ) {
print "$line\n";
}
print <<EOF;
Usage:
$0 -l [options]
$0 -t type [options] ext ...
create extension directories
where
ext Ext name
-t type Set the extension type (-l for a list of valid types)
If not specified, type is taken from environment
If not found in environment, \"default\" is used
-T top Set the template top directory (where the extension templates are)
If not specified, top path is taken from configure/RELEASE
If configure does not exist, top path is taken from environment
If not found in environment, the templates from EPICS base are used
-l List valid extension types for this installation
If this is specified the other options are not used
-b base Set the location of EPICS base (full path)
If not specified, base path is taken from configure/RELEASE
If configure does not exist, from environment
If not found in environment, from makeBaseApp.pl location
-d Verbose output (useful for debugging)
Environment:
EPICS_MBE_DEF_EXT_TYPE Ext type you want to use as default
EPICS_MBE_TEMPLATE_TOP Template top directory
EPICS_MBE_BASE Location of EPICS base
Example: Create example extension
<base>/bin/<arch>/makeBaseExt.pl -t example example
EOF
exit $rtncode;
}
sub GetUser { # no args
my ($user);
# add to this list if new possibilities arise,
# currently it's UNIX and WIN32:
$user = $ENV{USER} || $ENV{USERNAME} || Win32::LoginName();
unless ($user) {
print "I cannot figure out your user name.\n";
print "What shall you be called ?\n";
print ">";
$user = <STDIN>;
chomp $user;
}
die "No user name" unless $user;
return $user;
}
# replace "\" by "/" (for WINxx)
sub UnixPath { # path
my($newpath) = $_[0];
$newpath =~ s|\\|/|go;
return $newpath;
}

View File

@@ -0,0 +1,9 @@
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
TOP = .
include $(TOP)/configure/CONFIG
DIRS += configure
DIRS += src
include $(TOP)/configure/RULES_TOP

View File

@@ -0,0 +1,5 @@
Notes:
Each time you add a new extension in the src directory you
must add the extension directory name to src/Makefile.

View File

@@ -0,0 +1,48 @@
# Revision-Id: jba@aps.anl.gov-20101109205513-6qg5s6cvmoy9oysd
# You might want to change this to some shared set of rules, e.g.
# RULES=/path/to/epics/support/modules/rules/x-y
RULES=$(EPICS_BASE)
INSTALL_IDLFILE = $(INSTALL)
include $(TOP)/configure/RELEASE
-include $(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH)
-include $(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH).Common
ifdef T_A
-include $(TOP)/configure/RELEASE.Common.$(T_A)
-include $(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH).$(T_A)
endif
CONFIG=$(RULES)/configure
include $(CONFIG)/CONFIG
# Override for definition in base
INSTALL_LOCATION = $(TOP)
include $(TOP)/configure/CONFIG_SITE
ifdef INSTALL_LOCATION_EXTENSIONS
INSTALL_LOCATION = $(INSTALL_LOCATION_EXTENSIONS)
endif
# Site specific host architecture definitions
-include $(TOP)/configure/os/CONFIG_SITE.$(EPICS_HOST_ARCH).Common
ifdef T_A
# Site specific target architecture definitions
-include $(TOP)/configure/os/CONFIG_SITE.Common.$(T_A)
# Cross compile specific definitions
ifneq ($(EPICS_HOST_ARCH),$(T_A))
-include $(TOP)/configure/CONFIG.CrossCommon
endif
# Site specific host-target combination definitions
-include $(TOP)/configure/os/CONFIG.$(EPICS_HOST_ARCH).$(T_A)
-include $(TOP)/configure/os/CONFIG_SITE.$(EPICS_HOST_ARCH).$(T_A)
-include $(TOP)/configure/O.$(T_A)/CONFIG_APP_INCLUDE
endif

View File

@@ -0,0 +1,20 @@
# CONFIG_SITE
#
# Make any extensions-specific changes to the EPICS build
# configuration variables in this file.
#
# Host/target specific settings are in os subdirectory files named
# os/CONFIG_SITE.$(EPICS_HOST_ARCH).Common
# os/CONFIG_SITE.Common.$(T_A)
# os/CONFIG_SITE.$(EPICS_HOST_ARCH).$(T_A)
# Extensions are not normally built for cross targets
CROSS_COMPILER_TARGET_ARCHS =
# If you don't want to install into $(TOP) then
# define INSTALL_LOCATION here
#INSTALL_LOCATION=<fullpathname>
# Extensions don't normally build shared libraries
SHARED_LIBRARIES = NO

View File

@@ -0,0 +1,10 @@
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
TOP=..
include $(TOP)/configure/CONFIG
TARGETS = $(CONFIG_TARGETS)
include $(TOP)/configure/RULES

View File

@@ -0,0 +1,22 @@
#RELEASE Location of external products
#
# NOTE: The build does not check dependancies on files
# external to this application. Thus you should run
# "gnumake clean uninstall install" in the top directory
# each time EPICS_BASE, SNCSEQ, or any other external
# module defined in a RELEASE* file is rebuilt.
#
# Host/target specific settings can be specified in files named
# RELEASE.$(EPICS_HOST_ARCH).Common
# RELEASE.Common.$(T_A)
# RELEASE.$(EPICS_HOST_ARCH).$(T_A)
# Define INSTALL_LOCATION in CONFIG_SITE
# Location of external products
EPICS_BASE=_EPICS_BASE_
EPICS_EXTENSIONS = $(TOP)
# OAG_APPS may be needed by extension SDDS
#OAG_APPS=$(TOP)/../../oag/apps

View File

@@ -0,0 +1,5 @@
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
include $(CONFIG)/RULES
include $(TOP)/configure/RULES_PYTHON
include $(TOP)/configure/RULES_IDL

View File

@@ -0,0 +1,3 @@
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
include $(CONFIG)/RULES_DIRS

View File

@@ -0,0 +1,30 @@
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
ifdef T_A
ifeq ($(findstring Host,$(VALID_BUILDS)),Host)
INSTALL_IDL = $(INSTALL_LOCATION)/idllib
DIRECTORY_TARGETS += $(INSTALL_IDL)
ifneq ($(strip $(IDLS_$(OS_CLASS))),)
IDLS += $(subst -nil-,,$(IDLS_$(OS_CLASS)))
else
ifdef IDLS_DEFAULT
IDLS += $(IDLS_DEFAULT)
endif
endif
INSTALL_IDLS =$(IDLS:%=$(INSTALL_IDL)/%)
buildInstall : $(INSTALL_IDLS)
$(INSTALL_IDL)/%: %
@echo "Installing idl program $@"
@$(INSTALL_IDLFILE) -d -m 644 $< $(INSTALL_IDL)
$(INSTALL_IDL)/%: ../%
@echo "Installing idl program $@"
@$(INSTALL_IDLFILE) -d -m 644 $< $(INSTALL_IDL)
endif
endif

View File

@@ -0,0 +1,50 @@
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
ifdef T_A
ifeq ($(findstring Host,$(VALID_BUILDS)),Host)
SWIG ?= swig
vpath %.py $(USR_VPATH) $(ALL_SRC_DIRS)
# The optional PYTHON_INSTALL_LOCATION environment variable
# should be set to <python install site directory>/site-packages
PYTHON_INSTALL_LOCATION ?= $(INSTALL_LOCATION)/lang/python
INSTALL_PYTHON = $(PYTHON_INSTALL_LOCATION)/$(PYTHON_PACKAGE)
PYTHON_PACKAGE_PTH = $(addsuffix .pth,$(PYTHON_PACKAGE))
INSTALL_PYTHON_PACKAGE_PTH = $(addprefix $(PYTHON_INSTALL_LOCATION)/,$(PYTHON_PACKAGE_PTH))
PYTHON_SCRIPTS = $(filter-out $(LOADABLE_LIBRARY),$(PYTHON_MODULES))
PYTHON_LIBRARY = $(filter $(LOADABLE_LIBRARY),$(PYTHON_MODULES))
PYTHON_SHRLIBNAME = $(PYTHON_LIBRARY:%=$(LOADABLE_SHRLIB_PREFIX)%$(LOADABLE_SHRLIB_SUFFIX))
INSTALL_PYTHONS = $(addprefix $(INSTALL_PYTHON)/,$(PYTHON_SCRIPTS))
INSTALL_PYTHONS += $(addprefix $(INSTALL_PYTHON)/,$(PYTHON_SHRLIBNAME))
buildInstall: $(INSTALL_PYTHONS) $(INSTALL_PYTHON_PACKAGE_PTH)
$(INSTALL_PYTHON)/%: %
@echo "Installing python modules $@"
@$(INSTALL) -d -m 644 $< $(INSTALL_PYTHON)
$(INSTALL_PYTHON)/%: ../%
@echo "Installing python modules $@"
@$(INSTALL) -d -m 644 $< $(INSTALL_PYTHON)
$(PYTHON_INSTALL_LOCATION)/%: %
@echo "Installing python pth file $@"
@$(INSTALL) -d -m 644 $< $(PYTHON_INSTALL_LOCATION)
$(PYTHON_PACKAGE_PTH):
@echo $(PYTHON_PACKAGE) > $@
%_wrap.c: ../%.i
$(SWIG) -python -o $@ $<
clean::
@$(RM) *.py *.so *.pth
endif
endif

View File

@@ -0,0 +1,4 @@
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
include $(CONFIG)/RULES_TOP

View File

@@ -0,0 +1,2 @@
include $(TOP)/configure/os/CONFIG_SITE.linux-x86.linux-x86

View File

@@ -0,0 +1,13 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.win32-x86.win32-x86

View File

@@ -0,0 +1,12 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# java jdk definitions
#CLASSPATH += -classpath .:..:$(INSTALL_JAVA):$(JAVA_DIR)/bin/../classes:$(JAVA_DIR)/bin/../lib/classes.zip
#JAVACCMD = $(subst \,/,$(JAVA_DIR)/bin/javac$(EXE) $(CLASSPATH) $(JAVAC_FLAGS) )
#JAVAHCMD = $(subst \,/,$(JAVA_DIR)/bin/javah$(EXE) -jni $(CLASSPATH) $(JAVAH_FLAGS))
#JARCMD = $(subst \,/,$(JAVA_DIR)/bin/jar$(EXE) $(JAR_OPTIONS) $(MANIFEST) $(JAR) $(JAR_INPUT))

View File

@@ -0,0 +1,13 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.aix-ppc.aix-ppc

View File

@@ -0,0 +1,79 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.Common.Common
# sun X11
X11_LIB = /usr/openwin/lib
X11_INC = /usr/openwin/include
# mit X11
#X11_LIB = /opt/X11R5/lib
#X11_INC = /opt/X11R5/include
# osf motif
#MOTIF_INC = /opt/local/Motif2.0/include
#MOTIF_LIB = /opt/local/Motif2.0/lib
# sun SDK motif
#MOTIF_INC = /opt/SUNWmotif/include
#MOTIF_LIB = /opt/SUNWmotif/lib
# sun 5.4,5.6 SDK motif
MOTIF_INC = /usr/dt/include
MOTIF_LIB = /usr/dt/lib
OPENWIN = /usr/openwin
INTERVIEWS_BIN=/usr/local/interviews/bin/O.solaris
INTERVIEWS_LIB=/usr/local/interviews/lib/O.solaris
IV_INC=/usr/local/interviews/include
IV-2_6_INC=/usr/local/interviews/include/IV-2_6
IV_BIN=/usr/local/interviews/bin/O.solaris
IV_LIB=/usr/local/interviews/lib/O.solaris
WINGZ_INC = /opt/local/Wingz2/incl
WINGZ_LIB = /opt/local/Wingz2/lib
#MATHEMATICA = /usr/local/math
# Define XRTGRAPH_EXTENSIONS = YES only if using XRT/graph 3.x
# and you want the extensions for MEDM
XRTGRAPH_EXTENSIONS = YES
XRTGRAPH = /opt/local/xrtgraph
QUESTWIN = /usr/local/questwin
TK_LIB = /opt/local/lib
TK_INC = /opt/local/include
TCL_LIB = /opt/local/lib
TCL_INC = /opt/local/include
DP_LIB = /opt/local/lib
DP_INC = /opt/local/include
BLT_LIB = /opt/local/lib
BLT_INC = /opt/local/include
IDL = /usr/local/idl
# IDL=$(IDL)/external/rpc is the sun4 version
IDLRPC = $(IDL)/external/rpc.solaris
ZLIB_PREFIX = /usr/local/oag
ZLIB = $(notdir $(wildcard $(ZLIB_PREFIX)/lib/libz.a))
ifeq ($(ZLIB) , libz.a)
ZLIB_LIB = $(ZLIB_PREFIX)/lib
ZLIB_INC = -I$(ZLIB_PREFIX)/include
ZLIB_CFLAG = -DzLib
ZLIB_PROD_LIB = z
z_DIR=$(ZLIB_PREFIX)/lib
else
ZLIB_LIB =
ZLIB_INC =
ZLIB_CFLAG =
ZLIB_PROD_LIB =
z_DIR=
endif
PYTHON_DIR=/opt/local/lib/python2.2
PYTHON_INCLUDE=/opt/local/include/python2.2
JAVA_DIR=/usr/java

View File

@@ -0,0 +1,56 @@
#
# Revision-Id: jba@aps.anl.gov-20101109213708-vcvrlsgrj9nv2lmp
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.Common.Common
-include $(TOP)/configure/os/CONFIG_SITE.win32-x86.win32-x86
# ---------- java definitions
JAVA_DIR=c:/j2sdk1.4.1_01
# ---------- tcl/tk definitions
TCL = c:\\Tcl
TK_LIB = $(TCL)/lib
TK_INC = $(TCL)/include
TCL_LIB = $(TCL)/lib
TCL_INC = $(TCL)/include
DP_LIB = $(TCL)/lib
DP_INC = $(TCL)/include
BLT_LIB = $(TCL)/lib
BLT_INC = $(TCL)/include
IDL = /usr/local/idl
# IDL=$(IDL)/external/rpc is the sun4 version
IDLRPC = $(IDL)/external/rpc.solaris
#X11_LIB = c:/cygwin/lib
#X11_INC = c:/cygwin/include
#MOTIF_LIB = $(X11_LIB)
#MOTIF_INC = $(X11_INC)
OPENWIN =
INTERVIEWS_BIN =
WINGZ_INC =
WINGZ_LIB =
MATHEMATICA =
QUESTWIN =
# Define XRTGRAPH_EXTENSIONS = YES only if using XRT/graph 3.x
# and you want the extensions for MEDM
XRTGRAPH_EXTENSIONS = NO
XRTGRAPH =
SCIPLOT = ../../src/medmdev/medm
# z library created in SDDS extension
ZLIB_CFLAG = -DzLib
ZLIB_PROD_LIB = z
z_DIR = $(EPICS_EXTENSIONS_LIB)

View File

@@ -0,0 +1,83 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.Common.Common
PYTHON_DIR=/usr/lib/python2.2
PYTHON_INCLUDE=/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3
# Following 3 for SDDS
#USE_GD_LIBRARY=1
#USE_RUNCONTROL=1
#USE_LOGDAEMON=1
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
#
# XDarwin
#
X11_LIB=/usr/X11R6/lib
X11_INC=/usr/X11R6/include/X11
XPM_LIB=/usr/X11R6/lib
XPM_INC=/usr/X11R6/include/X11
#
# Fink OpenMotif
#
MOTIF_LIB=/sw/lib
MOTIF_INC=/sw/include
#
# DarwinPorts OpenMotif
#
#MOTIF_LIB=/opt/local/lib
#MOTIF_INC=/opt/local/include
#
# Interviews
#
IV_INC=
IV-2_6_INC=
IV_BIN=
IV_LIB=
OPENWIN =
WINGZ_INC =
WINGZ_LIB =
MATHEMATICA =
# Define XRTGRAPH_EXTENSIONS = YES only if using XRT/graph 3.x
# and you want the extensions for MEDM
#XRTGRAPH_EXTENSIONS = YES
#XRTGRAPH = /opt/local/xrtgraph
SCIPLOT = YES
QUESTWIN =
TK_LIB = /sw/lib
TK_INC = /sw/include
TCL_LIB = /sw/lib
TCL_INC = /sw/include
DP_LIB = /sw/lib
DP_INC = /sw/include
BLT_LIB = /sw/lib
BLT_INC = /sw/include
#
# Preliminary JAVA support
#
JAVA_DIR=/System/Library/Frameworks/JavaVM.framework/Home
JAVA_INC=/System/Library/Frameworks/JavaVM.framework/Headers
JAVA_INCLUDES = -I$(JAVA_INC)

View File

@@ -0,0 +1,13 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.darwin-ppc.darwin-ppc

View File

@@ -0,0 +1,83 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.Common.Common
PYTHON_DIR=/usr/lib/python2.2
PYTHON_INCLUDE=/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3
# Following 3 for SDDS
#USE_GD_LIBRARY=1
#USE_RUNCONTROL=1
#USE_LOGDAEMON=1
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
#
# XDarwin
#
X11_LIB=/usr/X11R6/lib
X11_INC=/usr/X11R6/include/X11
XPM_LIB=/usr/X11R6/lib
XPM_INC=/usr/X11R6/include/X11
#
# Fink OpenMotif
#
#MOTIF_LIB=/sw/lib
#MOTIF_INC=/sw/include
#
# DarwinPorts OpenMotif
#
MOTIF_LIB=/opt/local/lib
MOTIF_INC=/opt/local/include
#
# Interviews
#
IV_INC=
IV-2_6_INC=
IV_BIN=
IV_LIB=
OPENWIN =
WINGZ_INC =
WINGZ_LIB =
MATHEMATICA =
# Define XRTGRAPH_EXTENSIONS = YES only if using XRT/graph 3.x
# and you want the extensions for MEDM
#XRTGRAPH_EXTENSIONS = YES
#XRTGRAPH = /opt/local/xrtgraph
SCIPLOT = YES
QUESTWIN =
TK_LIB = /sw/lib
TK_INC = /sw/include
TCL_LIB = /sw/lib
TCL_INC = /sw/include
DP_LIB = /sw/lib
DP_INC = /sw/include
BLT_LIB = /sw/lib
BLT_INC = /sw/include
#
# Preliminary JAVA support
#
JAVA_DIR=/System/Library/Frameworks/JavaVM.framework/Home
JAVA_INC=/System/Library/Frameworks/JavaVM.framework/Headers
JAVA_INCLUDES = -I$(JAVA_INC)

View File

@@ -0,0 +1,12 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#

View File

@@ -0,0 +1,13 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.hpux-parisc.hpux-parisc

View File

@@ -0,0 +1,30 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.Common.Common
# Where to find utilities/libraries
X11_INC = /usr/include/X11R5
X11_LIB = /usr/lib/X11R5
MOTIF_INC = /usr/include/Motif1.2
MOTIF_LIB = /usr/lib/Motif1.2
INTERVIEWS_BIN=/usr/local/interviews/bin/O.hp700
XRTGRAPH = /usr/csite/xrt
OPENWIN = /usr/csite4/local/xview
WINGZ_INC = /usr/local/Wingz2/incl
WINGZ_LIB = /usr/local/Wingz2/lib
MATHEMATICA = /usr/local/math
QUESTWIN = /usr/local/questwin
IDL = /usr/csite/idl
#JAVA_DIR=/usr/java/j2sdk1.4.1_01
JAVA_DIR=/usr/local/java
JAVA_INC=$(JAVA_DIR)/include

View File

@@ -0,0 +1,11 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#

View File

@@ -0,0 +1,13 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.linux-x86.linux-x86

View File

@@ -0,0 +1,41 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.Common.Common
X11_LIB=/usr/X11R6/lib
X11_INC=/usr/X11R6/include/X11
MOTIF_LIB=/usr/X11R6/lib
MOTIF_INC=/usr/X11R6/include
#X11_INC=/local2/X11R6/include/X11
#X11_LIB=/local2/X11R6/lib
#MOTIF_LIB=/local2/X11R6/lib
#MOTIF_INC=/local2/X11R6/include
OPENWIN =
WINGZ =
MATHEMATICA =
SCIPLOT=YES
XRTGRAPH =
QUESTWIN =
TK_TCL = /usr/lib
IDL =
INTERVIEWS_BIN=/usr/local/interviews/bin/O.Linux
IV_INC=/usr/local/interviews/include
IV_BIN=/usr/local/interviews/bin/O.Linux
IV_LIB=/usr/local/interviews/lib/O.Linux
PYTHON_DIR=/usr/lib/python2.2
PYTHON_INCLUDE=/usr/include/python2.2
JAVA_DIR=c:/j2sdk1.4.1_01

View File

@@ -0,0 +1,13 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.linux-x86.linux-x86

View File

@@ -0,0 +1,14 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.linux-x86.linux-x86

View File

@@ -0,0 +1,59 @@
#
# Revision-Id: jba@aps.anl.gov-20101109205513-6qg5s6cvmoy9oysd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.Common.Common
#X11_LIB=/usr/X11R6/lib
#X11_INC=/usr/X11R6/include
#MOTIF_LIB=/usr/X11R6/lib
#MOTIF_INC=/usr/X11R6/include
#With the release of Fedora Core 5 the
#X11 and MOTIF libraries now live at /usr/lib
X11_LIB=/usr/lib
X11_INC=/usr/include
MOTIF_LIB=/usr/lib
MOTIF_INC=/usr/include
OPENWIN =
WINGZ =
MATHEMATICA =
QUESTWIN =
TK_TCL = /usr/lib
IDL =
#JAVA_DIR=/usr/local/java
#JAVA_DIR=/usr/java/j2sdk1.4.1
JAVA_DIR=/usr
JAVA_INC=$(JAVA_DIR)/include
INTERVIEWS_BIN=/usr/local/interviews/bin/O.Linux
IV_INC=/usr/local/interviews/include
IV_BIN=/usr/local/interviews/bin/O.Linux
IV_LIB=/usr/local/interviews/lib/O.Linux
PYTHON_DIR=/usr/lib/python2.2
PYTHON_INCLUDE=/usr/include/python2.2
CLAPACK_LIB = /usr/local/oag/3rdParty/CLAPACK/Linux_P4SSE2/lib
ATLAS_LIB = /usr/local/oag/3rdParty/ATLAS/Linux_P4SSE2/lib
F2C_LIB = /usr/local/oag/3rdParty/F2C/Linux_P4SSE2/lib
CLAPACK_INCLUDE = /usr/local/oag/3rdParty/CLAPACK/Linux_P4SSE2/include
ATLAS_INCLUDE = /usr/local/oag/3rdParty/ATLAS/Linux_P4SSE2/include
# Define XRTGRAPH_EXTENSIONS = YES only if using XRT/graph 3.x
# and you want the extensions for MEDM
#XRTGRAPH_EXTENSIONS = YES
#XRTGRAPH = /usr/local/xrtgraph
# Define SCIPLOT = YES if no XRT/graph 3.x
SCIPLOT=YES

View File

@@ -0,0 +1,13 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.linux-x86.linux-x86

View File

@@ -0,0 +1,36 @@
#
# Revision-Id: jba@aps.anl.gov-20101109205513-6qg5s6cvmoy9oysd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.linux-x86.linux-x86
X11_LIB=/usr/lib64
X11_INC=/usr/include
# OpenMotif location
MOTIF_LIB=/usr/lib64
MOTIF_INC=/usr/include
#MOTIF_LIB=/usr/X11R6/lib64
#MOTIF_INC=/usr/X11R6/include
# testing pre-compiled versions
CLAPACK_LIB = /usr/local/oag/3rdParty/ATLAS/Linux_Core2Duo64SSE3/lib
ATLAS_LIB = /usr/local/oag/3rdParty/ATLAS/Linux_Core2Duo64SSE3/lib
ATLAS_INCLUDE = /usr/local/oag/3rdParty/ATLAS/Linux_Core2Duo64SSE3/include
JAVA_DIR=/usr
# Sciplot and XRTgraph used by medm
SCIPLOT=YES
#XRTGRAPH_EXTENSIONS = YES
#XRTGRAPH = /usr/local/xrtgraph64
XRTGRAPH_EXTENSIONS =
XRTGRAPH =

View File

@@ -0,0 +1,14 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.solaris-sparc.solaris-sparc

View File

@@ -0,0 +1,13 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.solaris-sparc.solaris-sparc

View File

@@ -0,0 +1,92 @@
#
# Revision-Id: jba@aps.anl.gov-20101109205513-6qg5s6cvmoy9oysd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.Common.Common
# sun X11
X11_LIB = /usr/openwin/lib
X11_INC = /usr/openwin/include
# mit X11
#X11_LIB = /opt/X11R5/lib
#X11_INC = /opt/X11R5/include
# osf motif
#MOTIF_INC = /opt/local/Motif2.0/include
#MOTIF_LIB = /opt/local/Motif2.0/lib
# sun SDK motif
#MOTIF_INC = /opt/SUNWmotif/include
#MOTIF_LIB = /opt/SUNWmotif/lib
# sun 5.4,5.6 SDK motif
MOTIF_INC = /usr/dt/include
MOTIF_LIB = /usr/dt/lib
OPENWIN = /usr/openwin
INTERVIEWS_BIN=/usr/local/interviews/bin/O.solaris
INTERVIEWS_LIB=/usr/local/interviews/lib/O.solaris
IV_INC=/usr/local/interviews/include
IV-2_6_INC=/usr/local/interviews/include/IV-2_6
IV_BIN=/usr/local/interviews/bin/O.solaris
IV_LIB=/usr/local/interviews/lib/O.solaris
WINGZ_INC = /opt/local/Wingz2/incl
WINGZ_LIB = /opt/local/Wingz2/lib
#MATHEMATICA = /usr/local/math
# Define XRTGRAPH_EXTENSIONS = YES only if using XRT/graph 3.x
# and you want the extensions for MEDM
#XRTGRAPH_EXTENSIONS = YES
#XRTGRAPH = /opt/local/xrtgraph
SCIPLOT = YES
QUESTWIN = /usr/local/questwin
TK_LIB = /opt/local/lib
TK_INC = /opt/local/include
TCL_LIB = /opt/local/lib
TCL_INC = /opt/local/include
DP_LIB = /opt/local/lib
DP_INC = /opt/local/include
BLT_LIB = /opt/local/lib
BLT_INC = /opt/local/include
IDL = /usr/local/idl
# IDL=$(IDL)/external/rpc is the sun4 version
IDLRPC = $(IDL)/external/rpc.solaris
# sun 5.4
#JAVA_DIR=/opt/local/java
# sun 5.6
JAVA_DIR=/usr/java
JAVA_INC=$(JAVA_DIR)/include
ZLIB_PREFIX = /usr/local/oag
ZLIB = $(notdir $(wildcard $(ZLIB_PREFIX)/lib/libz.a))
ifeq ($(ZLIB) , libz.a)
ZLIB_LIB = $(ZLIB_PREFIX)/lib
ZLIB_INC = -I$(ZLIB_PREFIX)/include
ZLIB_CFLAG = -DzLib
ZLIB_PROD_LIB = z
z_DIR=$(ZLIB_PREFIX)/lib
else
ZLIB_LIB =
ZLIB_INC =
ZLIB_CFLAG =
ZLIB_PROD_LIB =
z_DIR=
endif
PYTHON_DIR=/opt/local/lib/python2.2
PYTHON_INCLUDE=/opt/local/include/python2.2
CLAPACK_LIB = /usr/local/oag/3rdParty/CLAPACK/SunOS_SunUS5/lib
ATLAS_LIB = /usr/local/oag/3rdParty/ATLAS/SunOS_SunUS5/lib
F2C_LIB = /usr/local/oag/3rdParty/F2C/SunOS_SunUS5/lib
CLAPACK_INCLUDE = /usr/local/oag/3rdParty/CLAPACK/SunOS_SunUS5/include
ATLAS_INCLUDE = /usr/local/oag/3rdParty/ATLAS/SunOS_SunUS5/include

View File

@@ -0,0 +1,14 @@
#
# Revision-Id: jba@aps.anl.gov-20101109205513-6qg5s6cvmoy9oysd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.solaris-sparc64.solaris-sparc64

View File

@@ -0,0 +1,26 @@
#
# Revision-Id: jba@aps.anl.gov-20101109205513-6qg5s6cvmoy9oysd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.solaris-sparc.solaris-sparc
FORCE_ZLIB_BUILD=YES
CLAPACK_LIB = /usr/local/oag/3rdParty/CLAPACK/SunOS_SunUSIII_4/lib
ATLAS_LIB = /usr/local/oag/3rdParty/ATLAS/SunOS_SunUSIII_4/lib
F2C_LIB = /usr/local/oag/3rdParty/F2C/SunOS_SunUSIII_4/lib
CLAPACK_INCLUDE = /usr/local/oag/3rdParty/CLAPACK/SunOS_SunUSIII_4/include
ATLAS_INCLUDE = /usr/local/oag/3rdParty/ATLAS/SunOS_SunUSIII_4/include
# Define XRTGRAPH_EXTENSIONS = YES only if using XRT/graph 3.x
# and you want the extensions for MEDM
#XRTGRAPH_EXTENSIONS =
#XRTGRAPH =
SCIPLOT = YES

View File

@@ -0,0 +1,8 @@
#
# Revision-Id: jba@aps.anl.gov-20101109211220-yrh6mszvmacr91js
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
-include $(TOP)/configure/os/CONFIG_SITE.solaris-x86.solaris-x86

View File

@@ -0,0 +1,13 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.solaris-x86.solaris-x86

View File

@@ -0,0 +1,22 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.solaris-sparc.solaris-sparc
#XRTGRAPH_EXTENSIONS=
#XRTGRAPH=
SCIPLOT=YES
X11_LIB = /usr/lib
X11_INC = /usr/include
MOTIF_INC = /usr/include
MOTIF_LIB = /usr/lib

View File

@@ -0,0 +1,16 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.solaris-x86.solaris-x86
XRTGRAPH=
SCIPLOT=YES

View File

@@ -0,0 +1,109 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.Common.Common
EXCEED = Exceed7.0
ifeq ($(EXCEED),Exceed5)
X11_LIB = c:/exceed5/xdk/lib
X11_INC = c:/exceed5/xdk/include
EXCEED_XLIBS=xmstatic xt xlibgui xlib xmu
xmstatic_DIR=$(X11_LIB)
xt_DIR=$(X11_LIB)
xlibgui_DIR=$(X11_LIB)
xlib_DIR=$(X11_LIB)
xmu_DIR=$(X11_LIB)
EXCEED_CFLAGS=
endif
ifeq ($(EXCEED),Exceed6.0)
X11_LIB = c:/exceed/xdk/lib
X11_INC = c:/exceed/xdk/include
EXCEED_XLIBS=xmstatic HCLXt xlibgui xlib HCLXmu
xmstatic_DIR=$(X11_LIB)
HCLXt_DIR=$(X11_LIB)
xlibgui_DIR=$(X11_LIB)
xlib_DIR=$(X11_LIB)
HCLXmu_DIR=$(X11_LIB)
EXCEED_CFLAGS=
endif
ifeq ($(EXCEED),Exceed6.1)
X11_LIB = c:/exceed/xdk/lib
X11_INC = c:/exceed/xdk/include
EXCEED_XLIBS=XmStatic XmStatXt xlibgui xlib HCLXmu
XmStatic_DIR=$(X11_LIB)
XmStatXt_DIR=$(X11_LIB)
xlibgui_DIR=$(X11_LIB)
xlib_DIR=$(X11_LIB)
HCLXmu_DIR=$(X11_LIB)
EXCEED_CFLAGS=/DXMSTATIC
endif
ifeq ($(EXCEED),Exceed6.2)
X11_LIB = c:/exceed/xdk/lib
X11_INC = c:/exceed/xdk/include
EXCEED_XLIBS=XmStatic XmStatXt xlibgui Xlib hclXmu
XmStatic_DIR=$(X11_LIB)
XmStatXt_DIR=$(X11_LIB)
xlibgui_DIR=$(X11_LIB)
Xlib_DIR=$(X11_LIB)
hclXmu_DIR=$(X11_LIB)
EXCEED_CFLAGS=/DXMSTATIC
endif
ifeq ($(EXCEED),Exceed7.0)
X11_LIB = c:/Exceed/xdk/lib
X11_INC = c:/Exceed/xdk/include
EXCEED_XLIBS=XmStatic XmStatXt XlibGui Xlib HCLXmu
XmStatic_DIR=$(X11_LIB)
XmStatXt_DIR=$(X11_LIB)
XlibGui_DIR=$(X11_LIB)
Xlib_DIR=$(X11_LIB)
HCLXmu_DIR=$(X11_LIB)
EXCEED_CFLAGS=/DXMSTATIC /DMOTIFAPP
endif
MOTIF_LIB = $(X11_LIB)
MOTIF_INC = $(X11_INC)
TCL = c:\\Tcl
TK_LIB = $(TCL)/lib
TK_INC = $(TCL)/include
TCL_LIB = $(TCL)/lib
TCL_INC = $(TCL)/include
DP_LIB = $(TCL)/lib
DP_INC = $(TCL)/include
BLT_LIB = $(TCL)/lib
BLT_INC = $(TCL)/include
IDL = /usr/local/idl
# IDL=$(IDL)/external/rpc is the sun4 version
IDLRPC = $(IDL)/external/rpc.solaris
OPENWIN =
INTERVIEWS_BIN =
WINGZ_INC =
WINGZ_LIB =
MATHEMATICA =
QUESTWIN =
# Define XRTGRAPH_EXTENSIONS = YES only if using XRT/graph 3.x
# and you want the extensions for MEDM
XRTGRAPH_EXTENSIONS = NO
XRTGRAPH =
SCIPLOT = ../../src/medmdev/medm
# z library created in SDDS extension
ZLIB_CFLAG = -DzLib
ZLIB_PROD_LIB = z
z_DIR = $(EPICS_EXTENSIONS_LIB)
JAVA_DIR=c:/j2sdk1.4.1_01

View File

@@ -0,0 +1,14 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.cygwin-x86.cygwin-x86

View File

@@ -0,0 +1,14 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.win32-x86.win32-x86

View File

@@ -0,0 +1,14 @@
#
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.cygwin-x86.cygwin-x86

View File

@@ -0,0 +1,216 @@
#
# CONFIG_SITE.win32-x86.win32-x86,v 1.3 2003/09/03 19:06:10 jba Exp
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
# Where to find utilities/libraries
# If you do not have a certain product,
# leave the line empty.
#
-include $(TOP)/configure/os/CONFIG_SITE.Common.Common
# If objects were compiled with different default runtime libraries
# (not a good idea), specify which one you want to use in the product
# by making it the default and the others nodefault. Use
# WIN32_RUNTIME = MD, MT, or ML in Makefile.Host if you want to do
# this. It will avoid LNK4098 warnings.
# msvcrt.lib -MD Multi-thread DLL
# msvcrtd.lib -MDd Multi-thread DLL, Debug
# libcmt.lib -MT Multi-thread
# libcmtd.lib -MTd Multi-thread, Debug
# libc.lib -ML Single-thread
# libcd.lib -MLd Single-thread, Debug
# MD Multi-thread DLL product
ARCH_DEP_LDFLAGS_MD_NO += /DEFAULTLIB:"msvcrtd.lib"
ARCH_DEP_LDFLAGS_MD_NO += /NODEFAULTLIB:"msvcrt.lib"
ARCH_DEP_LDFLAGS_MD_YES += /DEFAULTLIB:"msvcrt.lib"
ARCH_DEP_LDFLAGS_MD_YES += /NODEFAULTLIB:"msvcrtd.lib"
ARCH_DEP_LDFLAGS_MD += $(ARCH_DEP_LDFLAGS_MD_$(HOST_OPT))
ARCH_DEP_LDFLAGS_MD += /NODEFAULTLIB:"libcmt.lib"
ARCH_DEP_LDFLAGS_MD += /NODEFAULTLIB:"libcmtd.lib"
ARCH_DEP_LDFLAGS_MD += /NODEFAULTLIB:"libc.lib"
ARCH_DEP_LDFLAGS_MD += /NODEFAULTLIB:"libcd.lib"
# MT Multi-threaded product
ARCH_DEP_LDFLAGS_MT_NO += /DEFAULTLIB:"libcmtd.lib"
ARCH_DEP_LDFLAGS_MT_NO += /NODEFAULTLIB:"libcmt.lib"
ARCH_DEP_LDFLAGS_MT_YES += /DEFAULTLIB:"libcmt.lib"
ARCH_DEP_LDFLAGS_MT_YES += /NODEFAULTLIB:"libcmtd.lib"
ARCH_DEP_LDFLAGS_MT += $(ARCH_DEP_LDFLAGS_MT_$(HOST_OPT))
ARCH_DEP_LDFLAGS_MT += /NODEFAULTLIB:"msvcrt.lib"
ARCH_DEP_LDFLAGS_MT += /NODEFAULTLIB:"msvcrtd.lib"
ARCH_DEP_LDFLAGS_MT += /NODEFAULTLIB:"libc.lib"
ARCH_DEP_LDFLAGS_MT += /NODEFAULTLIB:"libcd.lib"
# ML Single-threaded product
ARCH_DEP_LDFLAGS_ML_NO += /DEFAULTLIB:"libcd.lib"
ARCH_DEP_LDFLAGS_ML_NO += /NODEFAULTLIB:"libc.lib"
ARCH_DEP_LDFLAGS_ML_YES += /DEFAULTLIB:"libc.lib"
ARCH_DEP_LDFLAGS_ML_YES += /NODEFAULTLIB:"libcd.lib"
ARCH_DEP_LDFLAGS_ML += $(ARCH_DEP_LDFLAGS_ML_$(HOST_OPT))
ARCH_DEP_LDFLAGS_ML += /NODEFAULTLIB:"msvcrt.lib"
ARCH_DEP_LDFLAGS_ML += /NODEFAULTLIB:"msvcrtd.lib"
ARCH_DEP_LDFLAGS_ML += /NODEFAULTLIB:"libcmt.lib"
ARCH_DEP_LDFLAGS_ML += /NODEFAULTLIB:"libcmtd.lib"
ARCH_DEP_LDFLAGS += $(ARCH_DEP_LDFLAGS_$(WIN32_RUNTIME))
# ---------- java definitions
JAVA_DIR=c:/j2sdk1.4.1_01
# ---------- tcl/tk definitions
TCL = c:\\Tcl
TK_LIB = $(TCL)/lib
TK_INC = $(TCL)/include
TCL_LIB = $(TCL)/lib
TCL_INC = $(TCL)/include
DP_LIB = $(TCL)/lib
DP_INC = $(TCL)/include
BLT_LIB = $(TCL)/lib
BLT_INC = $(TCL)/include
IDL = /usr/local/idl
# IDL=$(IDL)/external/rpc is the sun4 version
IDLRPC = $(IDL)/external/rpc.solaris
OPENWIN =
INTERVIEWS_BIN =
WINGZ_INC =
WINGZ_LIB =
MATHEMATICA =
QUESTWIN =
# Define XRTGRAPH_EXTENSIONS = YES only if using XRT/graph 3.x
# and you want the extensions for MEDM
XRTGRAPH_EXTENSIONS = NO
#XRTGRAPH =
SCIPLOT = YES
# z library created in SDDS extension
ZLIB_CFLAG = -DzLib
ZLIB_PROD_LIB = z
z_DIR = $(EPICS_EXTENSIONS_LIB)
CLAPACK_INCLUDE = c:/CLAPACK/include
CLAPACK_LIB = c:/CLAPACK/lib
EXCEED = Exceed13.0
ifeq ($(EXCEED),Exceed5)
X11_LIB = c:/exceed5/xdk/lib
X11_INC = c:/exceed5/xdk/include
EXCEED_XLIBS=xmstatic xt xlibgui xlib xmu
xmstatic_DIR=$(X11_LIB)
xt_DIR=$(X11_LIB)
xlibgui_DIR=$(X11_LIB)
xlib_DIR=$(X11_LIB)
xmu_DIR=$(X11_LIB)
EXCEED_CFLAGS=
endif
ifeq ($(EXCEED),Exceed6.0)
X11_LIB = c:/exceed/xdk/lib
X11_INC = c:/exceed/xdk/include
EXCEED_XLIBS=xmstatic HCLXt xlibgui xlib HCLXmu
xmstatic_DIR=$(X11_LIB)
HCLXt_DIR=$(X11_LIB)
xlibgui_DIR=$(X11_LIB)
xlib_DIR=$(X11_LIB)
HCLXmu_DIR=$(X11_LIB)
EXCEED_CFLAGS=
endif
ifeq ($(EXCEED),Exceed6.1)
X11_LIB = c:/exceed/xdk/lib
X11_INC = c:/exceed/xdk/include
EXCEED_XLIBS=XmStatic XmStatXt xlibgui xlib HCLXmu
XmStatic_DIR=$(X11_LIB)
XmStatXt_DIR=$(X11_LIB)
xlibgui_DIR=$(X11_LIB)
xlib_DIR=$(X11_LIB)
HCLXmu_DIR=$(X11_LIB)
EXCEED_CFLAGS=/DXMSTATIC
endif
ifeq ($(EXCEED),Exceed6.2)
X11_LIB = c:/exceed/xdk/lib
X11_INC = c:/exceed/xdk/include
EXCEED_XLIBS=XmStatic XmStatXt xlibgui Xlib hclXmu
XmStatic_DIR=$(X11_LIB)
XmStatXt_DIR=$(X11_LIB)
xlibgui_DIR=$(X11_LIB)
Xlib_DIR=$(X11_LIB)
hclXmu_DIR=$(X11_LIB)
EXCEED_CFLAGS=/DXMSTATIC
endif
ifeq ($(EXCEED),Exceed7.0)
X11_LIB = c:/Exceed/Exceed/xdk/lib
X11_INC = c:/Exceed/Exceed/xdk/include
EXCEED_XLIBS=XmStatic XmStatXt XlibGui Xlib HCLXmu
XmStatic_DIR=$(X11_LIB)
XmStatXt_DIR=$(X11_LIB)
XlibGui_DIR=$(X11_LIB)
Xlib_DIR=$(X11_LIB)
HCLXmu_DIR=$(X11_LIB)
EXCEED_CFLAGS=/DXMSTATIC /DMOTIFAPP
endif
ifeq ($(EXCEED),Exceed7.10)
X11_LIB = c:/Exceed7.10/XDK/lib
X11_INC = c:/Exceed7.10/XDK/include
EXCEED_XLIBS=XmStatic XmStatXt XlibGui Xlib HCLXmu
XmStatic_DIR=$(X11_LIB)
XmStatXt_DIR=$(X11_LIB)
XlibGui_DIR=$(X11_LIB)
Xlib_DIR=$(X11_LIB)
HCLXmu_DIR=$(X11_LIB)
EXCEED_CFLAGS=/DXMSTATIC /DMOTIFAPP
endif
ifeq ($(EXCEED),Exceed10.0)
XDK=C:/Exceed10.0/xdk
X11_LIB = $(XDK)/lib
X11_INC = $(XDK)/include
#X11_LIB = c:/Exceed10.0/XDK/lib
#X11_INC = c:/Exceed10.0/XDK/include
EXCEED_XLIBS=XmStatic XmStatXt Xlib HCLXmu
XmStatic_DIR=$(X11_LIB)
XmStatXt_DIR=$(X11_LIB)
Xlib_DIR=$(X11_LIB)
HCLXmu_DIR=$(X11_LIB)
EXCEED_CFLAGS=/DXMSTATIC /DMOTIFAPP
endif
ifeq ($(EXCEED),Exceed12.0)
XDK=C:/Exceed12.0/XDK
X11_LIB = $(XDK)/lib
X11_INC = $(XDK)/include
EXCEED_XLIBS=XmStatic XmStatXt Xlib HCLXmu
XmStatic_DIR=$(X11_LIB)
XmStatXt_DIR=$(X11_LIB)
Xlib_DIR=$(X11_LIB)
HCLXmu_DIR=$(X11_LIB)
EXCEED_CFLAGS=/DXMSTATIC /DMOTIFAPP
endif
ifeq ($(EXCEED),Exceed13.0)
XDK=C:/Exceed13.0/XDK
X11_LIB = $(XDK)/lib
X11_INC = $(XDK)/include
EXCEED_XLIBS=XmStatic XmStatXt Xlib HCLXmu
XmStatic_DIR=$(X11_LIB)
XmStatXt_DIR=$(X11_LIB)
Xlib_DIR=$(X11_LIB)
HCLXmu_DIR=$(X11_LIB)
EXCEED_CFLAGS=/DXMSTATIC /DMOTIFAPP
endif
######################################################
# Override for XFree86/LessTif
#X11_LIB = c:/Cygwin/usr/X11R6/lib
#X11_INC = c:/Cygwin/usr/X11R6/include
#EXCEED_XLIBS = Xm Xt Xp Xmu X11 Xext
#EXCEED_CFLAGS =
######################################################
MOTIF_LIB = $(X11_LIB)
MOTIF_INC = $(X11_INC)

View File

@@ -0,0 +1,8 @@
#
# Revision-Id: jba@aps.anl.gov-20101109211220-yrh6mszvmacr91js
#
# Site Specific Configuration Information
# Only the local epics system manager should modify this file
-include $(TOP)/configure/os/CONFIG_SITE.win32-x86.win32-x86

View File

@@ -0,0 +1,13 @@
TOP=../..
include $(TOP)/configure/CONFIG
PROD_HOST = caExample
caExample_SRCS += caExample.c
caExample_LIBS += $(EPICS_BASE_HOST_LIBS)
#caExample_CFLAGS += #C source file compiler flags, e.g. -DMYDEF=3
#caExample_LDFLAGS += #Linker flags, e.g. -L$(MOTIF_LIB) -L$(X11_LIB)
#caExample_SYS_LIBS_solaris += #System libraries for OS_CLASS solaris, e.g. socket
include $(TOP)/configure/RULES

View File

@@ -0,0 +1,16 @@
<HTML>
<BODY>
<CENTER>
<H2>caExample Release Notes</H2>
<P><I>author name</I></P>
</CENTER>
<HR>
<H3>05 Oct 2000 - v1.0</H3>
<P>Initial version</P>
</BODY>
</HTML>

View File

@@ -0,0 +1,25 @@
/*caExample.c*/
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "cadef.h"
int main(int argc,char **argv)
{
double data;
chid mychid;
if(argc != 2) {
fprintf(stderr,"usage: caExample pvname\n");
exit(1);
}
SEVCHK(ca_context_create(ca_disable_preemptive_callback),"ca_context_create");
SEVCHK(ca_create_channel(argv[1],NULL,NULL,10,&mychid),"ca_create_channel failure");
SEVCHK(ca_pend_io(5.0),"ca_pend_io failure");
SEVCHK(ca_get(DBR_DOUBLE,mychid,(void *)&data),"ca_get failure");
SEVCHK(ca_pend_io(5.0),"ca_pend_io failure");
printf("%s %f\n",argv[1],data);
return(0);
}

View File

@@ -0,0 +1,21 @@
TOP=../..
include $(TOP)/configure/CONFIG
# Product
#PROD_HOST = caExample
#caExample_SRCS += caExample.cc
#caExample_CFLAGS +=
#caExample_LDFLAGS +=
#caExample_LIBS += ca Com
#ca_LIB=$(EPICS_BASE_LIB)
#Com_LIB=$(EPICS_BASE_LIB)
# Library
#LIBRARY_HOST = abc
#abc_SRCS += abc.c
#abc_DLL_LIBS = ca Com
include $(TOP)/configure/RULES

View File

@@ -0,0 +1,9 @@
# Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
TOP = ..
include $(TOP)/configure/CONFIG
DIRS += _EXTNAME_
include $(TOP)/configure/RULES_DIRS