Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
29
cde/programs/dtinfo/tools/bin/ccdate
Executable file
29
cde/programs/dtinfo/tools/bin/ccdate
Executable file
@@ -0,0 +1,29 @@
|
||||
#!/usr/tools/bin/perl
|
||||
# Script to convert and compare datestrings in the form of dd-Mmm-yy.hh.mm.ss
|
||||
|
||||
%monthnum = (
|
||||
Jan, 0, Feb, 1, Mar, 2, Apr, 3, May, 4, Jun, 5,
|
||||
Jul, 6, Aug, 7, Sep, 8, Oct, 9, Nov, 10, Dec, 11
|
||||
);
|
||||
$firstp = &cvtdate(@ARGV[0]);
|
||||
$secondp = &cvtdate(@ARGV[1]);
|
||||
exit ( $firstp cmp $secondp );
|
||||
|
||||
#Convert dd-Mmm-yy.hh:mm:ss
|
||||
sub cvtdate {
|
||||
local($str) = @_;
|
||||
$str =~ /^(\d\d)-([a-zA-Z]{3})-(\d\d).(\d\d):(\d\d):(\d\d)$/;
|
||||
$mon = $monthnum{$2};
|
||||
$mday = $1; $year = $3;
|
||||
$hour = $4; $min = $5; $sec = $6;
|
||||
if ( $mon <= 9 ) {
|
||||
$mon = "0".$mon;
|
||||
}
|
||||
if ( $year <= 50) {
|
||||
$year = $year + 2000; }
|
||||
else {
|
||||
$year = $year + 1900;
|
||||
}
|
||||
$date = "$year$mon$mday";
|
||||
return ($date);
|
||||
}
|
||||
24
cde/programs/dtinfo/tools/bin/mkmf
Executable file
24
cde/programs/dtinfo/tools/bin/mkmf
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $XConsortium: mkmf /main/2 1996/07/18 15:24:54 drk $
|
||||
#
|
||||
# Copyright (c) 1991 HaL Computer Systems, Inc. All rights reserved.
|
||||
# UNPUBLISHED -- rights reserved under the Copyright Laws of the United
|
||||
# States. Use of a copyright notice is precautionary only and does not
|
||||
# imply publication or disclosure.
|
||||
#
|
||||
# This software contains confidential information and trade secrets of HaL
|
||||
# Computer Systems, Inc. Use, disclosure, or reproduction is prohibited
|
||||
# without the prior express written permission of HaL Computer Systems, Inc.
|
||||
#
|
||||
# RESTRICTED RIGHTS LEGEND
|
||||
# Use, duplication, or disclosure by the Government is subject to
|
||||
# restrictions as set forth in subparagraph (c)(l)(ii) of the Rights in
|
||||
# Technical Data and Computer Software clause at DFARS 252.227-7013.
|
||||
# HaL Computer Systems, Inc.
|
||||
# 1315 Dell Avenue, Campbell, CA 95008
|
||||
#
|
||||
#
|
||||
TOOLSDIR=/VOB/olias/tools
|
||||
CURDIR=`pwd`
|
||||
imake -DUseInstalled -I${TOOLSDIR}/config -DTOPDIR=/VOB/olias -DCURDIR=${CURDIR} $*
|
||||
10
cde/programs/dtinfo/tools/bin/post_compile
Executable file
10
cde/programs/dtinfo/tools/bin/post_compile
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Atria post-C++ compilation script - copies defmap file from
|
||||
# target-specific directory to target-specific file, if necessary.
|
||||
#
|
||||
# atria_post_cxxc [target]
|
||||
#
|
||||
# Current version of this script is intentionally empty
|
||||
|
||||
exit 0
|
||||
15
cde/programs/dtinfo/tools/bin/pre_compile
Executable file
15
cde/programs/dtinfo/tools/bin/pre_compile
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Atria pre-C++ compilation script - removes .o file, and
|
||||
# target-specific defmap directory and file, if necessary.
|
||||
#
|
||||
# atria_pre_cxxc [targetname]
|
||||
#
|
||||
TARGET=$1
|
||||
|
||||
rm -f ${TARGET}.o
|
||||
rm -rf ${TARGET}.ptrep
|
||||
|
||||
exit 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user