==> src/Makefile <==
#*******************************************************************************
# E.S.O. - VLT project
#
# "@(#) $Id: Makefile 284998 2016-06-22 16:24:40Z pbaksai $"
#
# Makefile of fposs
#
# who       when      what
# --------  --------  ----------------------------------------------
# jpritcha  2016/10/01  Added 32bit target which will force 32bit compilation 
#                       on 64bit OS (Implemented for Linux ONLY)
# rschmutz  28/01/03  install configure in INTROOT.
# rschmutz  28/01/03  target expert_release added.
# rschmutz  15/01/03  Tcl *.s[lo] libraries added to release file.
# rschmutz  23/11/02  directories reorganized: more similar to standard module.

==> src/Makefile_Linux <==
#*******************************************************************************
# E.S.O. - VLT project
#
# "@(#) $Id: Makefile_Linux,v 1.43 2009/06/26 14:05:53 vltsccm Exp $"
#
# Makefile of fposs
#
# who       when        what
# --------  ----------  --------------------------------------------------------
# jpritcha  2016/10/01  Added support for Linux_x86_64
#                       - Compile and link in 64bit on 64bit OS
#                       - Force 32bit compilation on 64bit OS with variable MK32BIT = true
# pbaksai   2014/07/22  CCB-000755: Support for 64 bits.
#                       - Fixed location of X11 lib.
#                       - Fixed location of Tcl include and lib.

==> src/config_method.c <==
/*+
 *                         C O N F I G _ M E T H O D
 *
 *  Function:
 *     'Algorithm-specific' routines for 2dF fibre allocations.
 *
 *  Description:
 *     This file contains a set of routines that between them provide the
 *     default fibre instrument configuration algorithm. These are intended 
 *     to be called from the 'housekeeping and interface' (config.c) 
 *     layer of routines described in the document 'Fibre Instrument 
 *     Configuration Algorithm Routines'. 
 *
 *     This module implements the default allocation algorithm described
 *     in that document and the section "The default algorithm" in that

==> src/configure.c <==
/*******************************************************************************
* E.S.O. - VLT project
*
* "@(#) $Id: configure.c 284998 2016-06-22 16:24:40Z pbaksai $"
*
* who       when        what
* --------  ----------  ----------------------------------------------
* jpr       2016/10/03  Support for Linux_x86_64 native, cleaned up DEBUG
*                       from previous devel work for Mac OS X porting
* jpr/pba   2016/06/22  PPRS-65719: Corrected error in proper motion.
* jpritcha  2016-04-20  Mac OS X-alizing
* mpruemm   2009-06-23  Fix a few signed/unsigned mismatches.
* tshen     2006/10/21  Linux Porting: prototype for putenv() was added to avoid warnings.
* lsanzana  2004-06-11  added crc32 checksum to PAF file.
* rschmutz  2004-05-22  adapted to APR2004 (Tcl/Tk 8.4).

==> src/configure.tcl <==
#*******************************************************************************
# E.S.O. - VLT project
#
# "@(#) $Id: configure.tcl 284998 2016-06-22 16:24:40Z pbaksai $"
#
# who       when        what
# --------  ----------  --------------------------------------------------------
# jpritcha  2016/10/01  Removed spurious debugging terminal output left in after 
#                       previous update
# pbaksai   2015/02/07  CCB-000755: Support for 64 bits.
#                       - Fixed font XLFD names.
# rschmutz  2004-07-16  PPRS 13423: always pop-up "Argus Settings" panel.
# lsanzana  11/06/04    Verify checksum of PAf files.
# rschmutz  02/02/03    PPRS 8632: DoList(): CompressUnalloc() deleted.
# rschmutz  29/01/03    PPRS 8670: enforce validity check over HA range

==> src/convertPAF.c <==
/*******************************************************************************
* E.S.O. - VLT project
*
* "@(#) $Id: convertPAF.c 284998 2016-06-22 16:24:40Z pbaksai $"
*
* who       when      what
* --------  --------  ----------------------------------------------
 * jpritcha 2016-10-04  removed no longer useful DEBUG statements
 *                      added during macOS X version development.
* jpr/pba   2016/06/22  PPRS-65719: Corrected error in proper motion.
* rschmutz  03/02/03  ignore trailing spaces before ';'.
* rschmutz  29/01/03  PPRS 8670: load INS.OSS.CHECKHA in PAF file.
* rschmutz  29/01/03  this header created - previous history see below.
*/


==> src/drama/Ers.h <==
/*
 *                   E r s . h     ( standalone version )
 *
 *  Ers is the error reporting system used by the AAO's DRAMA data 
 *  acquisition system. This means that it is used by almost all of the
 *  various sub-systems used by DRAMA, such as the IMP message system
 *  and the SDS structured data system.
 *
 *  In some cases, these DRAMA sub-systems are used in a standalone
 *  mode. When this happens, the users of the standalone sub-system do
 *  not need the whole DRAMA infrastructure, but do need a version of
 *  Ers that is independent of the rest of DRAMA. That is what this
 *  file and the ers_imp.c file provide. 
 *
 *  Modified:

==> src/drama/status.h <==
/*  status.c                                                 */
/*  jpr   2016/10/01   Added support for Linux_x86_64.       */
/*  Jeremy Bailey      1998  Jul 13                          */
/*                                                           */

#ifndef STATUSINC
#define STATUSINC
#ifdef __cplusplus
extern "C" {
#endif

/*+                     S T A T U S

 *  Module name:
      STATUS

==> src/sds/arg.c <==
/*			A R G 

 *  Module name:
      ARG
 
 *  Function:
      Argument library.

 *  Description:

 *  Language:
      C

 *  Support: Tony Farrell, AAO


==> src/sds/sds.c <==
/*  jpr   2016/10/01   Added support for Linux_x86_64.       */
/* jpr/pba   2016/06/22  PPRS-65719: Added support for Mac OSX. */
/*                                                  */
/*            Self-Defining Data System             */
/*                                                  */
/*            Jeremy Bailey  1991 Oct               */
/*                                                  */
/*                                                  */
/*            Version 2.2  1998  Jun                */


/*    Copyright (c)  Anglo-Australian Telescope Board, 1991-1998.  */
/*    Permission granted for use for non-commercial purposes.      */



==> src/sds/sds.h <==
/*  SDS Include file                                         */
/*  jpr   2016/10/01   Added support for Linux_x86_64.       */
/*  jpr/pba   2016/06/22  PPRS-65719: Added support for Mac OSX. */
/*  Jeremy Bailey      1998  Jul 13                          */
/*                                                           */

#ifndef _SDS_INCLUDE_
#define _SDS_INCLUDE_ 1

#ifdef __cplusplus
extern "C" {
#endif

#ifdef VxWorks
#include "vxWorks.h"

==> src/sds/sdsutil.c <==
/*  sdsutil.c                                                */
/*  jpr   2016/10/01   Added support for Linux_x86_64.       */
/*  Jeremy Bailey      1998  Jul 13                          */
/*                                                           */

#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "status.h"
#include "sds.h"



/*+				S d s W r i t e
