diff options
-rw-r--r-- | CHANGES | 39 | ||||
-rw-r--r-- | README.old | 391 | ||||
-rw-r--r-- | makefile.old | 5 | ||||
-rw-r--r-- | src/makefile.old | 151 | ||||
-rw-r--r-- | src/tet3/apilib/makefile.old | 98 | ||||
-rw-r--r-- | src/tet3/apishlib/makefile.old | 140 | ||||
-rw-r--r-- | src/tet3/dtet2lib/makefile.old | 111 | ||||
-rw-r--r-- | src/tet3/inetlib/makefile.old | 94 | ||||
-rw-r--r-- | src/tet3/makefile.old | 205 | ||||
-rw-r--r-- | src/tet3/servlib/makefile.old | 97 | ||||
-rw-r--r-- | src/tet3/tcc/makefile.old | 366 | ||||
-rw-r--r-- | src/tet3/tcclib/makefile.old | 141 | ||||
-rw-r--r-- | src/tet3/tcm/makefile.old | 143 | ||||
-rw-r--r-- | xts5/makefile.old | 216 |
14 files changed, 0 insertions, 2197 deletions
diff --git a/CHANGES b/CHANGES deleted file mode 100644 index b5a685cd..00000000 --- a/CHANGES +++ /dev/null @@ -1,39 +0,0 @@ -Changes - -3.3h Fix for TET_SAVE_FILES - When TET_SAVE_FILES is set in the execute mode configuration - and one of the directories visited during tcc's Saved Files - processing is empty, tcc prints an error message which says that - the Saved Files operation failed when in fact it was successful. - /src/tet3/tcclib/lsdir.c - Updated perl API, for perl5 and adjustments for signal handling - /src/perl/template.pl - /src/perl/api.pl - Update make compat target - /src/makefile - If a test case makes use of SIGPIPE, this can conflict with use of - SIGPIPE in the API. This problem affects Distributed TET on - Solaris systems, and other systems where the default is for - signal() to have SYSV behaviour. - /src/tet3/inetlib/rdwr.c - - -3.3g Fix for linker problem when tet_invoketp() etc. are in a library - /src/tet3/tcm/shared.mk - /src/tet3/tcm/makefile - /src/tet3/tcmshlib/makefile - /src/tet3/tcmthr/makefile - -3.3f Fix to src/tet3/tcm/tcmchild.c for latest version of g++ - also add support for Solaris 8 - -3.3e Fix to src/tet3/tcm/tcm.c for latest version of g++ - also inclusion of bundled contrib distribution - -3.3d Additional APIs tet_pthread_join, and tet_pthread_detach added - -3.3c minor fix to the perl api - -3.3b update list handling in function ttadd() in file - src/tet3/apithr/thr_create.c - diff --git a/README.old b/README.old deleted file mode 100644 index 4e31f220..00000000 --- a/README.old +++ /dev/null @@ -1,391 +0,0 @@ -SCCS: @(#)README.FIRST 1.3 99/09/07 TET release 3.3 - -TET3 is the latest version of the Test Environment Toolkit. -This is an UNSUPPORTED source release. - -See http://tetworks.opengroup.org for more information - -For quick installation instructions see below. - -For full documentation refer to the TETware 3.3 documentation -available on http://tetworks.opengroup.org/docs.html - -Please note that TET3.3 does not include support -for Microsoft Windows NT, Windows 95 or Java - that support -is only included in the supported TETware releases. - - - -Quick Start for Installation. ------------------------------ - -Typical installation is as follows: - -Install a .profile for the test suite user -Example: - TET_ROOT=/home/tet - PATH=$PATH:$TET_ROOT/bin - export TET_ROOT PATH - -To configure TET3 - cd $TET_ROOT - sh configure -t lite # for TETware lite - cd src - make install -(the final command below is not necessary) - make compat # for backwards compatibility for include directories - -If the build fails check the makefiles in src/defines - -Note: some Make utilities may have trouble with the include directive, -this is a known problem on BSDI systems. In this case use GNU Make -(gmake). Version 3.75 and higher is known to work. - - - -New features in this release ----------------------------- - -The following features appear for the first time in this release of TETware: - - + Support is provided to enable shared versions of the C API libraries to - be built. The shared library schemes that are supported on UNIX systems - are described in the chapter entitled ``Support for shared API - libraries'' in the TETware Installation Guide for UNIX Operating Systems. - - Information regarding the use of shared API libraries is presented in the - chapter entitled ``Using shared API libraries'' in the TETware - Programmers Guide. - - - + A document has been added to the TETware document set; its title is - TETware Knowledge Base. It contains information extracted from replies - to requests that have been handled by the TETware support service. An - HTML version of this document is included in the distribution in addition - to the usual PostScript version. - - + A shell script exec tool has been added to the distribution which enables - user interaction with test cases when Distributed TETware is used. The - name of this tool is tet_start and it is described in the chapter - entitled ``Interacting with test cases in Distributed TETware'' in the - TETware User Guide. - - + It is now possible to specify tccd's well-known port number in the - systems file when Distributed TETware is built to use the socket network - interface. Thus it is possible to have tccd listening on different port - numbers on different systems, or to have several instances of tccd - running with different options on a particular system. - - + Support for multiple network interfaces has been added when Distributed - TETware is built to use the socket interface. This support is provided - through the TET_LOCALHOST distributed configuration variable. - - Note: The circumstances under which you might need to specify - TET_LOCALHOST are rare when Distributed TETware is built to use the - socket interface. Do not specify this variable unless you really - need it. - - + A keyword %include has been added to the scenario language. This keyword - can be used in a scenario file in much the same way as #include is used - in a C program. - - Note that the %include keyword provides different functionality from that - provided by the :include: scenario directive. - - + A configuration variable expansion mechanism has been added to tcc. This - feature is described in the section entitled ``Configuration variable - expansion'' in the TETware Programmers Guide. - - - - + It is now possible to specify a number range with the :remote: and - :distributed: scenario directives. - - + The maximum number of test cases that tcc can process in parallel has - been increased from 26 to 676. - - - - + New makefile variables have been introduced to provide a finer degree of - control over the specification of compiler options when the Thread-safe - APIs are built. The names of these variables are TET_THR_CDEFS and - DTET_THR_CDEFS, and they are described in the section entitled ``Support - for Threads'' in the TETware Installation Guide for UNIX Operating - Systems. - - + A command-line option has been added to tcc. When tcc is invoked with - the -V option, it prints out version information and exits. - - + A shell script called configure has been added to the distribution in the - tet-root directory. On platforms for which a suitable defines.mk file is - provided in the distribution this script automates the tasks that must be - performed before TETware can be built. - - + A shell script called sigtool has been added to the distribution in the - tet-root/src/helpers directory. This script is useful when preparing to - build TETware on a platform for which no defines.mk file is provided in - the distribution. The function of this script is to generate values for - makefile variables that must be specified for use when the Shell APIs are - built. - - + The header files inc/tet3/tet_api.h and inc/tet3/tet_jrnl.h are now - protected against multiple inclusion. - - + The Korn Shell API has been updated to work with ksh93. - - + A number of problems reported after the previous TETware release have - been fixed. All the source code patches issued since the last TETware - release have been incorporated into this release. - - + The documentation has been revised and updated. - - - - - - -=========================================================================== -Problems fixed since the last release - - -The following problems have been fixed since the last TETware release: - - + When a test purpose failed to register a result in Distributed TETware, - the result generated by the API was UNRESOLVED instead of NORESULT. - - + When the underlying call to execve() failed in a call to tet_spawn() on a - UNIX system, the error condition was not returned to the process that - called tet_spawn(). - - - - - + When remote (non-distributed) test cases were processed on more than one - system, the test cases on the second and subsequent systems did not print - TCM Start, IC Start and IC End messages to the journal, and a call to - tet_result() failed with an ER_DONE error. - - + When a ^scenario-name appeared within the scope of a :distributed: - scenario directive, test cases in the scenario referenced by scenario- - name were unable to synchronise with each other. - - + Under certain circumstances it was possible for tcc to terminate with a - memory fault when removing the temporary directory after processing a - test case in execute mode. - - + When the TET_RUN environment variable was specified, tcc attempted to - create a file with a garbage name on some platforms. - - + When tcc processed a test case in execute mode with TET_EXEC_IN_PLACE set - to False, the test case was copied to a location immediately below the - temporary directory and executed from there rather than to a location - below the temporary directory which included the path name of the test - case relative to the test suite root directory. Thus it was not possible - for a test case to use the tet_pname variable in the C API to determine - its full path name relative to the test suite root directory. - - + The thread cleanup code in the Thread-safe API assumed that a thread ID - would not be re-used by the implementation immediately after the - corresponding thread had been joined. This caused problems on threads - implementations where this assumption is not true. - - + If none of the test cases within the scope of a :timed_loop: directive - can be built, the loop is effectively empty during execute mode. Under - these circumstances, tcc -be would thrash when in execute mode (possibly - generating huge volumes of journal output). - - + There was a name space clash when building the Thread-safe APIs on some - platforms which support both UI threads and POSIX threads. - - + If a locking failure prevented tcc -be from building a test case, tcc - still attempted to execute the test case that could not be built. - - + There were a few references in the code to the non-standard interfaces - sys_errlist and sys_nerr. The functions that referred to these symbols - have been re-written to make calls to strerror() instead. - - + Descriptions of compiler options used when building Distributed TETware - to use XTI were missing from the TETware Installation Guide for UNIX - Operating Systems. - - + In Distributed TETware, if a configuration variable exchange between the - local system and a remote system failed because the related configuration - file was missing on the remote system, the error message printed by tcc - was not particularly useful. The error message now states that the - remote configuration file could not be opened. - - + A feature of the Linux implementation of getopt() caused tcc to terminate - with a memory fault when tcc was invoked in rerun or resume mode. The - code that calls getopt() has been changed to work around this feature. - - + The -I option was missing in tcc's usage message. - - - -Other problems fixed: - -Problem: -When TET_EXEC_IN_PLACE=false, tcc/tccd copies the contents of the test -case execution directory to a location below the temporary directory. -During this processing the code attempts to detect a recursive copy. -This code incorrectly reports a recursive copy when the source directory -name is an initial substring of the destination directory name. - -Fixed. - -Files changed: -src/tet3/dtet2lib/fcopy.c 1.14 - ------------------------------------------------------------------------- -Problem: -On UNIX systems, tet_eaccess() doesn't check group access permissions -w.r.t. the supplementary groups list. - -Fixed. - -Files changed: -src/tet3/dtet2lib/eaccess.c 1.12 -src/tet3/dtet2lib/shared.mk 1.14 - ------------------------------------------------------------------------- -Problem: -tccd dies on RedHat Linux while performing a configuration variable -exchange with tcc. - -Analysis: -When tcc sends the result code file to tccd, the file gets closed twice -in tccd. -It seems that the glibc version of fclose(fp) frees the area at *fp. -This causes problems with the malloc subsystem when fclose() is called a -second time. - -Fixed. - -Files changed: -src/tet3/servlib/fio.c 1.7 - ------------------------------------------------------------------------- -Problem: -If a test case changes the system time, this can sometimes confuse the -timeout mechanism in tcc's execution engine. -When this happens, tcc fails with an ASSERT error. - -Fix: -Instead of checking the delay with ASSERT(), just change it so that it -is within the expected range. - -Files changed: -src/tet3/tcc/scenario.c 1.8 - ------------------------------------------------------------------------- -Enhancement: -Added user-contributed defines.mk files for DYNIX/ptx, Solaris 2.7, BSDI. -Enhanced configure and GuessOS to recognise these systems and choose the -appropriate defines.mk file. - -Originally these files were written by their contributors for use with -the TETware 3.2 makefile scheme. -The makefile scheme changed between release 3.2 and release 3.3. -The contributed files have been modified for use with the 3.3 makefile -scheme but haven't been tested yet. - -Files changed: -configure 1.9 -src/helpers/GuessOS 1.3 - -New files: -src/defines/UNTESTED/bsdi.mk 1.1 -src/defines/UNTESTED/dynix.mk 1.1 -src/defines/UNTESTED/solaris7.mk 1.1 - -Problem: -There is no makefile target to remove the compatibility links that are -installed below {inc|lib}/{dtet2|posix_c} by 'make compat'. - -Fix: -Added new target: compat_clean -The following commands can now be used to remove the compatibility links -that are installed by 'make compat': - - cd $TET_ROOT/src - make compat_clean - -Note: -As with make compat, make compat_clean is not supported on Win32 systems. - -Files changed: -src/makefile 1.7 - ------------------------------------------------------------------------- -Problem: -'tcc -i results-dir' can overwrite an existing journal file in -results-dir. - -Fixed. - -Files changed: -src/tet3/tcc/journal.c 1.12 - ------------------------------------------------------------------------- -Problem: -tcm/ictp.c needs <string.h> when building TETware-Lite. - -Fixed. - -Files changed: -src/tet3/tcm/ictp.c 1.22 - ------------------------------------------------------------------------- -Problem: -In TETware-Lite, expanded configuration variables are not visible to -test cases. - -The Lite version of tcc passes the master configs to a test case. -Since configuration variable expansion is performed on the per-system -configurations, the test case only sees the unexpanded variables. - -Fix: -Write the per-system configurations for the local system to the -TET_CONFIG file(s) instead of the master configurations. - -Files changed: -src/tet3/tcc/config.c 1.12 - ------------------------------------------------------------------------- -Problem: -Korn Shell API fails with EBADF error when used with ksh 93. - -This is due to a bug in ksh 93. -When a numbered file descriptor is closed in a subshell (i.e., a -sequence of commands enclosed in parentheses) this has the effect of -closing the file descriptor in the parent shell as well. -Previous versions of ksh did not contain this bug. - -The TCM main loop reads IC numbers from fd 3. -Each test purpose defined in the IC list is executed in a subshell. -If the test purpose also manipulates fd 3 (as does the SHELL-API demo), -it upsets the execution of the main loop when ksh93 is used. - -Workaround: -The main IC loop has been recoded to eliminate the use of numbered file -descriptors in the parent shell. - - -Files changed: -src/ksh/api/tcm.ksh 1.6 - ------------------------------------------------------------------------- -Enhancement: -Added support for FreeBSD. - -Note: -This enhancement based on information kindly supplied by someone at -freebsd.org. -It has not been tested by the TETware development team at this time. - -Files changed: -configure 1.8 -src/defines/UNTESTED/freebsd.mk 1.1 -src/tet3/inc/tetdir.h 1.3 -src/tet3/tcclib/lsdir.c 1.3 - diff --git a/makefile.old b/makefile.old deleted file mode 100644 index 8725c1af..00000000 --- a/makefile.old +++ /dev/null @@ -1,5 +0,0 @@ -all: - mkdir bin lib lib/ksh lib/perl lib/tet3 lib/xpg3sh || true - sh configure -t lite - make -C src all install - make -C xts5 diff --git a/src/makefile.old b/src/makefile.old deleted file mode 100644 index 34944e57..00000000 --- a/src/makefile.old +++ /dev/null @@ -1,151 +0,0 @@ -# -# SCCS: @(#)makefile 1.7 (98/09/22) -# -# UniSoft Ltd., London, England -# -# (C) Copyright 1996 X/Open Company Limited -# -# All rights reserved. No part of this source code may be reproduced, -# stored in a retrieval system, or transmitted, in any form or by any -# means, electronic, mechanical, photocopying, recording or otherwise, -# except as stated in the end-user licence agreement, without the prior -# permission of the copyright owners. -# A copy of the end-user licence agreement is contained in the file -# Licence which accompanies this distribution. -# -# X/Open and the 'X' symbol are trademarks of X/Open Company Limited in -# the UK and other countries. -# -# ************************************************************************ -# -# SCCS: @(#)makefile 1.7 98/09/22 TETware release 3.3 -# NAME: makefile -# PRODUCT: TETware -# AUTHOR: Geoff Clare, UniSoft Ltd. -# DATE CREATED: August 1996 -# -# DESCRIPTION: -# TETWare top-level makefile -# -# MODIFICATIONS: -# Geoff Clare, UniSoft Ltd., Sept 1996 -# Changes for TETware-Lite -# -# Geoff Clare, UniSoft Ltd., Oct 1996 -# Skip perl API if perl not available -# -# Andrew Dingwall, UniSoft Ltd., June 1998 -# Added the scripts directory. -# -# Andrew Dingwall, UniSoft Ltd., September 1998 -# added compat_clean targets -# -# Andrew Josey, The Open Group, May 2001 -# Minor update to make compat -# ************************************************************************ - -DIRS = tet3 xpg3sh/api ksh/api scripts # not perl - -first_make_rule: all - -all install CLEAN clean CLOBBER clobber FORCE FRC: defines.mk - @case $$MAKEFLAGS in *k*) set +e;; esac; \ - for i in $(DIRS); do echo $$i...; ( cd $$i && $(MAKE) $@ ); done; \ - x=`(perl -e 'exit 0') 2>&1 || true`; \ - if test "$$x" = "" -o \( $@ != all -a $@ != install \); \ - then echo perl...; ( cd perl && $(MAKE) $@ ); \ - else echo 'perl... skipped (cannot execute perl)'; \ - fi - -# remainder is all to produce duplicate targets in TET/ETET/dTET2 locations -# on UNIX systems for backwards compatibility with previous TET implementations - -include defines.mk - -# source directories -INCDIR = ../inc/tet3 -LIBDIR = ../lib/tet3 - -# directories that will hold the compatibility links -TETINC = ../inc/posix_c -TETLIB = ../lib/posix_c -DTETINC = ../inc/dtet2 -DTETLIB = ../lib/dtet2 - -COMPAT_DIRS = $(TETINC) $(TETLIB) $(DTETINC) $(DTETLIB) - -# compatibility links that are always installed -COMPAT_FILES = $(TETINC)/tet_api.h $(DTETINC)/tet_api.h \ - $(TETINC)/tet_jrnl.h $(DTETINC)/tet_jrnl.h \ - $(TETLIB)/libapi$A $(DTETLIB)/libapi$A \ - $(TETLIB)/tcm$O $(DTETLIB)/tcm$O \ - $(TETLIB)/tcmchild$O $(DTETLIB)/tcmchild$O - -# compatibility links that are only installed if the corresponding TETware -# files are supported on this system -COMPAT_FILES_OPT = $(DTETLIB)/tcmrem$O \ - $(TETLIB)/libCtcm$A $(TETLIB)/libCtcmc$A - -# published targets -compat compat_clean: - @case `uname -s` in \ - Windows_NT|Windows_95|DOS) \ - echo "make $@ not suported on Win32 systems" \ - exit 1 \ - ;; \ - *) \ - $(MAKE) unix_$@ \ - ;; \ - esac - -# targets below here are unpublished (private) targets -# and should not be invoked directly by a user -unix_compat: $(COMPAT_DIRS) $(COMPAT_FILES) compat_files_opt - -unix_compat_clean: - rm -f $(COMPAT_FILES) $(COMPAT_FILES_OPT) - rmdir $(COMPAT_DIRS) 2> /dev/null || true - -$(COMPAT_DIRS): - mkdir $@ - -# compatibility links that are always installed -$(TETINC)/tet_api.h $(DTETINC)/tet_api.h: $(INCDIR)/tet_api.h - rm -f $@ - ln $(INCDIR)/tet_api.h $@ - -$(TETINC)/tet_jrnl.h $(DTETINC)/tet_jrnl.h: $(INCDIR)/tet_jrnl.h - rm -f $@ - ln $(INCDIR)/tet_jrnl.h $@ - -$(TETLIB)/libapi$A $(DTETLIB)/libapi$A: $(LIBDIR)/libapi$A - rm -f $@ - ln $(LIBDIR)/libapi$A $@ - -$(TETLIB)/tcm$O $(DTETLIB)/tcm$O: $(LIBDIR)/tcm$O - rm -f $@ - ln $(LIBDIR)/tcm$O $@ - -$(TETLIB)/tcmchild$O $(DTETLIB)/tcmchild$O: $(LIBDIR)/tcmchild$O - rm -f $@ - ln $(LIBDIR)/tcmchild$O $@ - -# compatibility links that are only installed if the corresponding TETware -# files are supported on this system -compat_files_opt: - @test ! -f $(LIBDIR)/tcmrem$O || $(MAKE) $(DTETLIB)/tcmrem$O - @test ! -f $(LIBDIR)/Ctcm$O || $(MAKE) $(TETLIB)/libCtcm$A - @test ! -f $(LIBDIR)/Ctcmchild$O || $(MAKE) $(TETLIB)/libCtcmc$A - -$(DTETLIB)/tcmrem$O: $(LIBDIR)/tcmrem$O - rm -f $@ - ln $(LIBDIR)/tcmrem$O $@ - -$(TETLIB)/libCtcm$A: $(LIBDIR)/Ctcm$O - $(AR) rv $@ $(LIBDIR)/Ctcm$O - $(RANLIB) $@ - -$(TETLIB)/libCtcmc$A: $(LIBDIR)/Ctcmchild$O - $(AR) rv $@ $(LIBDIR)/Ctcmchild$O - $(RANLIB) $@ - diff --git a/src/tet3/apilib/makefile.old b/src/tet3/apilib/makefile.old deleted file mode 100644 index 20fede91..00000000 --- a/src/tet3/apilib/makefile.old +++ /dev/null @@ -1,98 +0,0 @@ -# -# SCCS: @(#)makefile 1.13 (98/08/28) -# -# UniSoft Ltd., London, England -# -# (C) Copyright 1992 X/Open Company Limited -# -# All rights reserved. No part of this source code may be reproduced, -# stored in a retrieval system, or transmitted, in any form or by any -# means, electronic, mechanical, photocopying, recording or otherwise, -# except as stated in the end-user licence agreement, without the prior -# permission of the copyright owners. -# -# X/Open and the 'X' symbol are trademarks of X/Open Company Limited in -# the UK and other countries. -# -# -# ************************************************************************ -# -# SCCS: @(#)makefile 1.13 98/08/28 -# NAME: makefile -# PRODUCT: TETware -# AUTHOR: Andrew Dingwall, UniSoft Ltd. -# DATE CREATED: June 1992 -# -# DESCRIPTION: -# apilib makefile -# -# MODIFICATIONS: -# -# Geoff Clare, UniSoft Ltd., July 1996 -# Changes for TETWare. -# -# Geoff Clare, UniSoft Ltd., Sept 1996 -# Moved alarm.c to dtet2lib. -# -# Geoff Clare, UniSoft Ltd., Oct 1996 -# Use shared.mk. -# New library rules. -# -# Andrew Dingwall, UniSoft Ltd., July 1998 -# Added support for shared API libraries. -# -# ************************************************************************ - -include ../../defines.mk -include ../ts.mk - -LOCAL_TET_CDEFS = $(TET_CDEFS) -LOCAL_DTET_CDEFS = $(DTET_CDEFS) -LOCAL_CDEFS = -LOCAL_COPTS = $(COPTS) -LOCAL_CC = $(CC) - -# TET_CFLAGS and DTET_CFLAGS are set in ../common.mk -include ../common.mk - - -LIBNAME = $(LIBDAPI) - -first_make_rule: all - -all install: lib_made - -# source is in this directory -APISRC = - -# shared.mk contains definitions for API_OFILES -include shared.mk - -OFILES = $(API_OFILES) - -lib_made: $(OFILES) - if test -f lib_made; then \ - $(AR) rv $(LIBNAME) $? ;\ - else \ - $(AR) rv $(LIBNAME) `$(LORDER) $(OFILES) | $(TSORT)` ;\ - fi - $(RANLIB) $(LIBNAME) - touch lib_made - -.PRECIOUS: $(LIBNAME) - -CLEAN clean: - rm -f $(OFILES) - -CLOBBER clobber: clean - rm -f lib_made - -FORCE FRC: clobber all - - -# remove suffix rules from this makefile -# all .o files are made by explicit rules -.SUFFIXES: - -.SUFFIXES: .none - diff --git a/src/tet3/apishlib/makefile.old b/src/tet3/apishlib/makefile.old deleted file mode 100644 index 4d726adb..00000000 --- a/src/tet3/apishlib/makefile.old +++ /dev/null @@ -1,140 +0,0 @@ -# -# SCCS: @(#)makefile 1.1 (98/09/01) -# -# UniSoft Ltd., London, England -# -# Copyright (c) 1998 The Open Group -# All rights reserved. -# -# No part of this source code may be reproduced, stored in a retrieval -# system, or transmitted, in any form or by any means, electronic, -# mechanical, photocopying, recording or otherwise, except as stated in -# the end-user licence agreement, without the prior permission of the -# copyright owners. -# A copy of the end-user licence agreement is contained in the file -# Licence which accompanies this distribution. -# -# Motif, OSF/1, UNIX and the "X" device are registered trademarks and -# IT DialTone and The Open Group are trademarks of The Open Group in -# the US and other countries. -# -# X/Open is a trademark of X/Open Company Limited in the UK and other -# countries. -# -# ************************************************************************ -# -# SCCS: @(#)makefile 1.1 98/09/01 TETware release 3.3 -# NAME: makefile -# PRODUCT: TETware -# AUTHOR: Andrew Dingwall, UniSoft Ltd. -# DATE CREATED: August 1998 -# -# DESCRIPTION: -# makefile used to build the shared version of the API library -# -# MODIFICATIONS: -# -# ************************************************************************ - - -include ../../defines.mk -include ../ts.mk - -LOCAL_TET_CDEFS = $(TET_CDEFS) -LOCAL_DTET_CDEFS = $(DTET_CDEFS) -LOCAL_CDEFS = -DTET_SHLIB_SOURCE -LOCAL_COPTS = $(COPTS) $(SHLIB_COPTS) -LOCAL_CC = $(SHLIB_CC) - -# TET_CFLAGS and DTET_CFLAGS are set in ../common.mk -include ../common.mk - - -# the main library name; -# on Win32 systems this is the name of the import library -LIBNAME = libapi_s$(SO) - -# The name of the DLL on Win32 systems. -# The DLL is a byproduct of the process that builds the shared library. -# Since this file is only generated on a Win32 system, it can't be used -# as a target or as a dependency in a platform-independent makefile; -# instead, a proxy target called lib_installed is used to determine when -# the DLL needs to be installed. -DLLNAME = libapi_s.dll - -ALL = $(LIBNAME) - -TARGETS = $(LIB)/$(LIBNAME) lib_installed - - -all: $(ALL) - -install: $(TARGETS) - -$(LIB)/$(LIBNAME): $(LIBNAME) - rm -f $@ - cp $? $@ - -lib_installed: $(LIBNAME) - @set -x; \ - case `uname -s` in \ - Windows_NT|Windows_95|DOS) \ - rm -f $(BIN)/$(DLLNAME); \ - cp $(DLLNAME) $(BIN)/$(DLLNAME); \ - ;; \ - esac - touch $@ - -# single-threaded shared libraries are not supported on Win32 systems -dynlink.gen: - touch $@ - -# tcm/shared.mk contains a definition of TCM_SHARED_OFILES -TCMSRC = ../tcm/ -include ../tcm/shared.mk - -# apilib/shared.mk contains a definition of API_SHARED_OFILES -APISRC = ../apilib/ -include ../apilib/shared.mk - -# the include ../servlib/shared.mk is done in ts.mk if needed - -# dtet2lib/shared.mk contains a definition of DTET_SHARED_OFILES -DTETSRC = ../dtet2lib/ -include ../dtet2lib/shared.mk - -# ts.mk contains a definition of TS_SHARED_OFILES and SERV_SHARED_OFILES -include ts.mk - -OFILES = $(API_SHARED_OFILES) $(TCM_SHARED_OFILES) $(SERV_SHARED_OFILES) \ - $(TS_SHARED_OFILES) $(DTET_SHARED_OFILES) - -$(LIBNAME): $(OFILES) - $(SHLIB_BUILD) -o $@ $(OFILES) $(SHLIB_BUILD_END) - $(MCS) -c $@ - -.PRECIOUS: $(LIBNAME) - - -CLEAN clean: - rm -f $(ALL) $(OFILES) *.sym dynlink.gen - -CLOBBER clobber: clean - rm -f $(TARGETS) - @set -x; \ - case `uname -s` in \ - Windows_NT|Windows_95|DOS) \ - rm -f $(BIN)/$(DLLNAME); \ - ;; \ - esac - -FORCE FRC: clobber all - - -# remove suffix rules from this makefile -# all .o files are made by explicit rules -.SUFFIXES: - -.SUFFIXES: .none - - diff --git a/src/tet3/dtet2lib/makefile.old b/src/tet3/dtet2lib/makefile.old deleted file mode 100644 index 42ca182b..00000000 --- a/src/tet3/dtet2lib/makefile.old +++ /dev/null @@ -1,111 +0,0 @@ -# -# SCCS: @(#)makefile 1.15 (98/08/28) -# -# UniSoft Ltd., London, England -# -# (C) Copyright 1992 X/Open Company Limited -# (C) Copyright 1994 UniSoft Limited -# -# All rights reserved. No part of this source code may be reproduced, -# stored in a retrieval system, or transmitted, in any form or by any -# means, electronic, mechanical, photocopying, recording or otherwise, -# except as stated in the end-user licence agreement, without the prior -# permission of the copyright owners. -# -# X/Open and the 'X' symbol are trademarks of X/Open Company Limited in -# the UK and other countries. -# -# -# ************************************************************************ -# -# SCCS: @(#)makefile 1.15 98/08/28 -# NAME: makefile -# PRODUCT: TETware -# AUTHOR: Andrew Dingwall, UniSoft Ltd. -# DATE CREATED: June 1992 -# -# DESCRIPTION: -# dtetlib makefile -# -# MODIFICATIONS: -# Denis McConalogue, UniSoft Limited, August 1993 -# Added fcopy.o and modetoi.o in list of OFILES -# -# Denis McConalogue, UniSoft Limited, September 1993 -# Added error.h to dependency list for dtsize.o -# Added errmap.o to list of .o files. -# -# Andrew Dingwall, UniSoft Ltd, November 1993 -# Enhancements for FIFO transport interface. -# Moved modetoi.c to xtilib. -# -# Andrew Dingwall, UniSoft Ltd., August 1996 -# added mapstat.c -# moved rescode.c from xresd to here -# -# Geoff Clare, UniSoft Ltd., Sept 1996 -# added sigsafe.c -# Moved alarm.c to here from apilib. -# -# Geoff Clare, UniSoft Ltd., Oct 1996 -# Use shared.mk. -# New library rules. -# -# Andrew Dingwall, UniSoft Ltd., July 1998 -# Added support for shared API libraries. -# -# ************************************************************************ - -include ../../defines.mk -include ../ts.mk - -LOCAL_TET_CDEFS = $(TET_CDEFS) -LOCAL_DTET_CDEFS = $(DTET_CDEFS) -LOCAL_CDEFS = -LOCAL_COPTS = $(COPTS) -LOCAL_CC = $(CC) - -# TET_CFLAGS and DTET_CFLAGS are set in ../common.mk -include ../common.mk - - -LIBNAME = $(LIBDAPI) - -first_make_rule: all - -all install: lib_made - -# source is in this directory -DTETSRC = - -# shared.mk contains a definition of DTET_OFILES -include shared.mk - -OFILES = $(DTET_OFILES) - -lib_made: $(OFILES) - if test -f lib_made; then \ - $(AR) rv $(LIBNAME) $? ;\ - else \ - $(AR) rv $(LIBNAME) `$(LORDER) $(OFILES) | $(TSORT)` ;\ - fi - $(RANLIB) $(LIBNAME) - touch lib_made - -.PRECIOUS: $(LIBNAME) - -CLEAN clean: - rm -f $(OFILES) - -CLOBBER clobber: clean - rm -f lib_made - -FORCE FRC: clobber all - - -# remove suffix rules from this makefile -# all .o files are made by explicit rules -.SUFFIXES: - -.SUFFIXES: .none - diff --git a/src/tet3/inetlib/makefile.old b/src/tet3/inetlib/makefile.old deleted file mode 100644 index fe10728c..00000000 --- a/src/tet3/inetlib/makefile.old +++ /dev/null @@ -1,94 +0,0 @@ -# -# SCCS: @(#)makefile 1.11 (98/09/01) -# -# UniSoft Ltd., London, England -# -# (C) Copyright 1992 X/Open Company Limited -# -# All rights reserved. No part of this source code may be reproduced, -# stored in a retrieval system, or transmitted, in any form or by any -# means, electronic, mechanical, photocopying, recording or otherwise, -# except as stated in the end-user licence agreement, without the prior -# permission of the copyright owners. -# -# X/Open and the 'X' symbol are trademarks of X/Open Company Limited in -# the UK and other countries. -# -# -# ************************************************************************ -# -# SCCS: @(#)makefile 1.11 98/09/01 -# NAME: makefile -# PRODUCT: TETware -# AUTHOR: Andrew Dingwall, UniSoft Ltd. -# DATE CREATED: June 1992 -# -# DESCRIPTION: -# inetlib makefile -# -# MODIFICATIONS: -# Andrew Dingwall, UniSoft Ltd., December 1993 -# Added entry for discon.c -# -# Geoff Clare, UniSoft Ltd., Oct 1996 -# Use shared.mk. -# New library rules. -# -# Andrew Dingwall, UniSoft Ltd., July 1998 -# Added support for shared API libraries. -# -# ************************************************************************ - -include ../../defines.mk -include ../ts.mk - -LOCAL_TET_CDEFS = $(TET_CDEFS) -LOCAL_DTET_CDEFS = $(DTET_CDEFS) -LOCAL_CDEFS = -LOCAL_COPTS = $(COPTS) -LOCAL_CC = $(CC) - -# TET_CFLAGS and DTET_CFLAGS are set in ../common.mk -include ../common.mk - - -LIBNAME = $(LIBDAPI) - -first_make_rule: all - -all install: lib_made - -# source is in this directory -INETSRC = - -# shared.mk contains a definition of TS_OFILES -include shared.mk - -OFILES = $(TS_OFILES) - -lib_made: $(OFILES) - if test -f lib_made; then \ - $(AR) rv $(LIBNAME) $? ;\ - else \ - $(AR) rv $(LIBNAME) `$(LORDER) $(OFILES) | $(TSORT)` ;\ - fi - $(RANLIB) $(LIBNAME) - touch lib_made - -.PRECIOUS: $(LIBNAME) - -CLEAN clean: - rm -f $(OFILES) - -CLOBBER clobber: clean - rm -f lib_made - -FORCE FRC: clobber all - - -# remove suffix rules from this makefile -# all .o files are made by explicit rules -.SUFFIXES: - -.SUFFIXES: .none - diff --git a/src/tet3/makefile.old b/src/tet3/makefile.old deleted file mode 100644 index cd162435..00000000 --- a/src/tet3/makefile.old +++ /dev/null @@ -1,205 +0,0 @@ -# -# SCCS: @(#)makefile 1.15 (98/09/01) -# -# UniSoft Ltd., London, England -# -# (C) Copyright 1992 X/Open Company Limited -# -# All rights reserved. No part of this source code may be reproduced, -# stored in a retrieval system, or transmitted, in any form or by any -# means, electronic, mechanical, photocopying, recording or otherwise, -# except as stated in the end-user licence agreement, without the prior -# permission of the copyright owners. -# -# X/Open and the 'X' symbol are trademarks of X/Open Company Limited in -# the UK and other countries. -# -# -# ************************************************************************ -# -# SCCS: @(#)makefile 1.15 98/09/01 TETware release 3.3 -# NAME: makefile -# PRODUCT: TETware -# AUTHOR: Andrew Dingwall, UniSoft Ltd. -# DATE CREATED: June 1992 -# -# DESCRIPTION: -# TETware makefile -# -# MODIFICATIONS: -# Denis McConalogue, UniSoft Limited, September 1993 -# specify transport library via "include" -# -# Denis McConalogue, UniSoft Limited, September 1993 -# added ../xpg3sh/api to list of DIRS -# -# Denis McConalogue, UniSoft Limited, October 1993 -# change references to tet2 to dtet2 -# -# Andrew Dingwall, UniSoft Limited, January 1994 -# added "first makefile rule" to overcome problems with makes -# that want to make ALL the targets listed on the first rule line -# -# Geoff Clare, UniSoft Ltd., August 1996 -# Changes for TETWare. -# -# Geoff Clare, UniSoft Ltd., Sept 1996 -# Changes for TETWare-Lite. -# -# Geoff Clare, UniSoft Ltd., Oct 1996 -# Moved generic part of DIRS to here from *lib.mk -# Moved tcm to the front of DIRS (it puts files in libapi) -# Moved tcmthr likewise, and added tcmthr(C++). -# -# Andrew Dingwall, UniSoft Ltd., October 1996 -# added tcclib -# -# Andrew Dingwall, UniSoft Ltd., July 1998 -# added support for shared libraries -# -# ************************************************************************ - -include ../defines.mk -include common.mk -include ts.mk - -# the order of the library source directories is intended to produce -# optimal member ordering in libapi.a - -DIRS = tcm apilib $(TS_LIBDIRS) dtet2lib tcclib tcc $(TS_BINDIRS) -THRDIRS = tcmthr apithr - -# for the *SHLIBDIRS, we make the api library before the tcm library -# because on win32 systems making the api library generates a file -# (dynlink.gen) that is needed by the tcm library -SHLIBDIRS = apishlib tcmshlib -THRSHLIBDIRS = apithrshlib tcmthrshlib - -first_make_rule: all - -# there follows a large in-line shell script -# remember that all shell commands need to be terminated by a ';' - -all install CLEAN clean: - @case $$MAKEFLAGS in \ - *k*) \ - set +e; \ - ;; \ - esac; \ - \ - : "tcm, api library and programs"; \ - for i in $(DIRS); \ - do \ - echo $$i:; \ - (cd $$i && $(MAKE) $@); \ - done; \ - \ - : "thread-safe tcm and api library"; \ - case "$(THR_COPTS)" in \ - *NOT_SUPPORTED*) \ - ;; \ - *) \ - for i in $(THRDIRS); \ - do \ - echo $$i:; \ - (cd $$i && $(MAKE) $@); \ - done; \ - esac; \ - \ - : "shared tcm and api libraries (not win32)"; \ - case "$(SHLIB_COPTS):`uname -s`" in \ - *NOT_SUPPORTED*|*:Windows_NT|*:Windows_95|*:DOS) \ - ;; \ - *) \ - for i in $(SHLIBDIRS); \ - do \ - echo $$i:; \ - (cd $$i && $(MAKE) $@); \ - done; \ - esac; \ - \ - : "thread-safe shared tcm and api libraries"; \ - case "$(SHLIB_COPTS)$(THR_COPTS)" in \ - *NOT_SUPPORTED*) \ - ;; \ - *) \ - for i in $(THRSHLIBDIRS); \ - do \ - echo $$i:; \ - (cd $$i && $(MAKE) $@); \ - done; \ - esac; \ - \ - : "C++ tcm"; \ - case "$(C_PLUS):$@" in \ - *NOT_SUPPORTED*) \ - ;; \ - *:all) \ - echo "tcm(C++):"; \ - (cd tcm && $(MAKE) allC); \ - ;; \ - *:install) \ - echo "tcm(C++):"; \ - (cd tcm && $(MAKE) installC); \ - ;; \ - esac; \ - \ - : "C++ thread-safe tcm"; \ - case "$(THR_COPTS)$(C_PLUS):$@" \ - in *NOT_SUPPORTED*) \ - ;; \ - *:all) \ - echo "tcmthr(C++):"; \ - (cd tcmthr && $(MAKE) allC); \ - ;; \ - *:install) \ - echo "tcmthr(C++):"; \ - (cd tcmthr && $(MAKE) installC); \ - ;; \ - esac; \ - \ - : "C++ shared tcm (not win32)"; \ - case "$(SHLIB_COPTS)$(C_PLUS):`uname -s`:$@" in \ - *NOT_SUPPORTED*|*:Windows_NT:*|*:Windows_95:*|*:DOS:*) \ - ;; \ - *:all) \ - echo "tcmshlib(C++):"; \ - (cd tcmshlib && $(MAKE) allC); \ - ;; \ - *:install) \ - echo "tcmshlib(C++):"; \ - (cd tcmshlib && $(MAKE) installC); \ - ;; \ - esac; \ - \ - : "C++ thread-safe shared tcm"; \ - case "$(THR_COPTS)$(SHLIB_COPTS)$(C_PLUS):$@" in \ - *NOT_SUPPORTED*) \ - ;; \ - *:all) \ - echo "tcmthrshlib(C++):"; \ - (cd tcmthrshlib && $(MAKE) allC); \ - ;; \ - *:install) \ - echo "tcmsthrhlib(C++):"; \ - (cd tcmthrshlib && $(MAKE) installC); \ - ;; \ - esac; - - -# below are two rules: the first line and then the multi-line script - -CLOBBER clobber FORCE FRC: - @set $(DIRS); set -x; cd $$1; rm -f $(LIBDAPI) $(LIBTHRAPI) - @case $$MAKEFLAGS in \ - *k*) \ - set +e; \ - ;; \ - esac; \ - for i in $(DIRS) $(THRDIRS) $(SHLIBDIRS) $(THRSHLIBDIRS); \ - do \ - echo $$i:; \ - (cd $$i && $(MAKE) $@); \ - done; - - diff --git a/src/tet3/servlib/makefile.old b/src/tet3/servlib/makefile.old deleted file mode 100644 index 23b53dc7..00000000 --- a/src/tet3/servlib/makefile.old +++ /dev/null @@ -1,97 +0,0 @@ -# -# SCCS: @(#)makefile 1.15 (98/09/01) -# -# UniSoft Ltd., London, England -# -# (C) Copyright 1992 X/Open Company Limited -# -# All rights reserved. No part of this source code may be reproduced, -# stored in a retrieval system, or transmitted, in any form or by any -# means, electronic, mechanical, photocopying, recording or otherwise, -# except as stated in the end-user licence agreement, without the prior -# permission of the copyright owners. -# -# X/Open and the 'X' symbol are trademarks of X/Open Company Limited in -# the UK and other countries. -# -# -# ************************************************************************ -# -# SCCS: @(#)makefile 1.15 98/09/01 -# NAME: makefile -# PRODUCT: TETware -# AUTHOR: Andrew Dingwall, UniSoft Ltd. -# DATE CREATED: June 1992 -# -# DESCRIPTION: -# servlib makefile -# -# MODIFICATIONS: -# Denis McConalogue, UniSoft Limited, August 1993 -# added tccopy.o and xdxrclose.o to list of OFILES -# -# Andrew Dingwall, UniSoft Ltd., August 1996 -# Changes for TETware -# -# Geoff Clare, UniSoft Ltd., Oct 1996 -# Use shared.mk. -# New library rules. -# -# Andrew Dingwall, UniSoft Ltd., July 1998 -# Added support for shared API libraries. -# -# ************************************************************************ - -include ../../defines.mk -include ../ts.mk - -LOCAL_TET_CDEFS = $(TET_CDEFS) -LOCAL_DTET_CDEFS = $(DTET_CDEFS) -LOCAL_CDEFS = -LOCAL_COPTS = $(COPTS) -LOCAL_CC = $(CC) - -# TET_CFLAGS and DTET_CFLAGS are set in ../common.mk -include ../common.mk - - -LIBNAME = $(LIBDAPI) - -first_make_rule: all - -all install: lib_made - -# source is in this directory -SERVSRC = - -# shared.mk contains a definition for SERV_OFILES -include shared.mk - -OFILES = $(SERV_OFILES) - -lib_made: $(OFILES) - if test -f lib_made; then \ - $(AR) rv $(LIBNAME) $? ;\ - else \ - $(AR) rv $(LIBNAME) `$(LORDER) $(OFILES) | $(TSORT)` ;\ - fi - $(RANLIB) $(LIBNAME) - touch lib_made - -.PRECIOUS: $(LIBNAME) - -CLEAN clean: - rm -f $(OFILES) - -CLOBBER clobber: clean - rm -f lib_made - -FORCE FRC: clobber all - - -# remove suffix rules from this makefile -# all .o files are made by explicit rules -.SUFFIXES: - -.SUFFIXES: .none - diff --git a/src/tet3/tcc/makefile.old b/src/tet3/tcc/makefile.old deleted file mode 100644 index 48e5633b..00000000 --- a/src/tet3/tcc/makefile.old +++ /dev/null @@ -1,366 +0,0 @@ -# -# SCCS: @(#)makefile 1.10 (98/09/01) -# -# UniSoft Ltd., London, England -# -# (C) Copyright 1996 X/Open Company Limited -# -# All rights reserved. No part of this source code may be reproduced, -# stored in a retrieval system, or transmitted, in any form or by any -# means, electronic, mechanical, photocopying, recording or otherwise, -# except as stated in the end-user licence agreement, without the prior -# permission of the copyright owners. -# A copy of the end-user licence agreement is contained in the file -# Licence which accompanies this distribution. -# -# X/Open and the 'X' symbol are trademarks of X/Open Company Limited in -# the UK and other countries. -# -# ************************************************************************ -# -# SCCS: @(#)makefile 1.10 98/09/01 TETware release 3.3 -# NAME: makefile -# PRODUCT: TETware -# AUTHOR: Andrew Dingwall, UniSoft Ltd. -# DATE CREATED: August 1996 -# -# DESCRIPTION: -# tcc makefile -# -# MODIFICATIONS: -# -# ************************************************************************ - -include ../../defines.mk -include ../ts.mk - -LOCAL_TET_CDEFS = $(TET_CDEFS) -LOCAL_DTET_CDEFS = $(DTET_CDEFS) -LOCAL_CDEFS = -LOCAL_COPTS = $(COPTS) - -# TET_CFLAGS and DTET_CFLAGS are set in ../common.mk -include ../common.mk - - -# generic tcc .o files -OFILES_GN = tcc$O cleanup$O config$O copysave$O dirtab$O dtcc$O \ - environ$O error$O exec$O fake$O global$O jnlproc$O \ - journal$O keys$O lock$O procdir$O proctab$O proctc$O proctcd$O \ - rescode$O resdir$O rrproc$O scen1$O scen2$O scen3$O scenario$O \ - scentab$O service$O sigtrap$O syscall$O systab$O tcname$O tool$O \ - utils$O ynstr$O - -# INET tcc .o files -OFILES_IN = tcc_in$O tcc_bs$O fake_in$O - -# XTI tcc .o files -OFILES_XT = tcc_xt$O tcc_bs$O fake_xt$O - -# ts.mk contains an assignment for OFILES and TCCLIB -include ts.mk - - -ALL = tcc$E - -TARGETS = $(BIN)/tcc$E - -all: $(ALL) - -install: all $(TARGETS) - -$(BIN)/tcc$E: tcc$E - cp $? $@ - -tcc$E: $(OFILES) $(TCCLIB) $(LIBDAPI) - $(CC) $(LDFLAGS) -o $@ $(OFILES) $(TCCLIB) $(LIBDAPI) $(SYSLIBS) - $(MCS) -c $@ - -CLEAN clean: ppclean - rm -f $(ALL) $(OFILES) - -CLOBBER clobber: clean - rm -f $(TARGETS) - -FORCE FRC: clobber all - - -# the so-called scenario preprocessor - note that this is not part of TETware -PP_OFILES = scenpp$O dirtab$O global$O scen1$O scen2$O scen3$O \ - scentab$O utils$O ynstr$O -tetscpp$E: $(PP_OFILES) $(LIBDAPI) - $(CC) $(LDFLAGS) -o $@ $(PP_OFILES) $(TCCLIB) $(LIBDAPI) - $(MCS) -c $@ - -ppclean: - rm -f tetscpp$E scenpp$O - - -# compilations using TET_CFLAGS - -cleanup$O: cleanup.c - $(CC) $(TET_CFLAGS) -c cleanup.c - -config$O: config.c - $(CC) $(TET_CFLAGS) -c config.c - -copysave$O: copysave.c - $(CC) $(TET_CFLAGS) -c copysave.c - -dirtab$O: dirtab.c - $(CC) $(TET_CFLAGS) -c dirtab.c - -dtcc$O: dtcc.c - $(CC) $(TET_CFLAGS) -c dtcc.c - -environ$O: environ.c - $(CC) $(TET_CFLAGS) -c environ.c - -error$O: error.c - $(CC) $(TET_CFLAGS) -c error.c - -exec$O: exec.c - $(CC) $(TET_CFLAGS) -c exec.c - -fake$O: fake.c - $(CC) $(TET_CFLAGS) -c fake.c - -global$O: global.c - $(CC) $(TET_CFLAGS) -c global.c - -jnlproc$O: jnlproc.c - $(CC) $(TET_CFLAGS) -c jnlproc.c - -journal$O: journal.c - $(CC) $(TET_CFLAGS) -c journal.c - -keys$O: keys.c - $(CC) $(TET_CFLAGS) -c keys.c - -lock$O: lock.c - $(CC) $(TET_CFLAGS) -c lock.c - -procdir$O: procdir.c - $(CC) $(TET_CFLAGS) -c procdir.c - -proctab$O: proctab.c - $(CC) $(TET_CFLAGS) -c proctab.c - -proctc$O: proctc.c - $(CC) $(TET_CFLAGS) -c proctc.c - -proctcd$O: proctcd.c - $(CC) $(TET_CFLAGS) -c proctcd.c - -rescode$O: rescode.c - $(CC) $(TET_CFLAGS) -c rescode.c - -resdir$O: resdir.c - $(CC) $(TET_CFLAGS) -c resdir.c - -rrproc$O: rrproc.c - $(CC) $(TET_CFLAGS) -c rrproc.c - -scen1$O: scen1.c - $(CC) $(TET_CFLAGS) -c scen1.c - -scen2$O: scen2.c - $(CC) $(TET_CFLAGS) -c scen2.c - -scen3$O: scen3.c - $(CC) $(TET_CFLAGS) -c scen3.c - -scenario$O: scenario.c - $(CC) $(TET_CFLAGS) -c scenario.c - -scenpp$O: scenpp.c - $(CC) $(TET_CFLAGS) -c scenpp.c - -scentab$O: scentab.c - $(CC) $(TET_CFLAGS) -c scentab.c - -service$O: service.c - $(CC) $(TET_CFLAGS) -c service.c - -sigtrap$O: sigtrap.c - $(CC) $(TET_CFLAGS) -c sigtrap.c - -syscall$O: syscall.c - $(CC) $(TET_CFLAGS) -c syscall.c - -systab$O: systab.c - $(CC) $(TET_CFLAGS) -c systab.c - -tcc$O: tcc.c - $(CC) $(TET_CFLAGS) -c tcc.c - -tcc_bs$O: tcc_bs.c - $(CC) $(TET_CFLAGS) -c tcc_bs.c - -tcname$O: tcname.c - $(CC) $(TET_CFLAGS) -c tcname.c - -tool$O: tool.c - $(CC) $(TET_CFLAGS) -c tool.c - -utils$O: utils.c - $(CC) $(TET_CFLAGS) -c utils.c - -ynstr$O: ynstr.c - $(CC) $(TET_CFLAGS) -c ynstr.c - - -# compilations using DTET_CFLAGS - -fake_in$O: fake_in.c - $(CC) $(DTET_CFLAGS) -c fake_in.c - -fake_xt$O: fake_xt.c - $(CC) $(DTET_CFLAGS) -c fake_xt.c - -tcc_in$O: tcc_in.c - $(CC) $(DTET_CFLAGS) -c tcc_in.c - -tcc_xt$O: tcc_xt.c - $(CC) $(DTET_CFLAGS) -c tcc_xt.c - - -# clear the suffix list in this makefile -# all .o file are made by explicit rules -.SUFFIXES: - -.SUFFIXES: .none - - -# dependencies -cleanup$O: $(DINC)/tet_api.h $(INC)/dtmac.h $(INC)/ltoa.h tcc.h - -config$O: $(INC)/tet3_config.h $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/dtmsg.h \ - $(INC)/error.h $(INC)/globals.h $(INC)/ltoa.h $(INC)/ptab.h \ - $(INC)/servlib.h dtcc.h systab.h tcc.h - -copysave$O: $(INC)/tet3_config.h $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/dtmsg.h \ - $(INC)/error.h $(INC)/ltoa.h $(INC)/servlib.h $(INC)/tcclib.h \ - proctab.h scentab.h systab.h tcc.h - -dirtab$O: $(INC)/dtmac.h $(INC)/ltoa.h dirtab.h - -dtcc$O: $(INC)/tet3_config.h $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/dtmsg.h \ - $(INC)/error.h $(INC)/globals.h $(INC)/ltoa.h $(INC)/ptab.h \ - $(INC)/server.h $(INC)/servlib.h $(INC)/tslib.h dtcc.h systab.h tcc.h - -environ$O: $(INC)/tet3_config.h $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/error.h \ - $(INC)/ltoa.h $(INC)/servlib.h systab.h tcc.h - -error$O: $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/globals.h $(INC)/ltoa.h \ - proctab.h scentab.h tcc.h - -exec$O: $(INC)/tet3_config.h $(INC)/dtmac.h $(INC)/error.h $(INC)/ltoa.h \ - $(INC)/servlib.h $(INC)/tcclib.h proctab.h scentab.h systab.h tcc.h - -fake$O: $(INC)/dtmac.h $(INC)/dtmsg.h $(INC)/error.h $(INC)/ptab.h \ - $(INC)/server.h - -fake_in$O: $(INC)/dtmac.h $(INC)/dtmsg.h $(INC)/error.h $(INC)/ptab.h \ - $(INC)/server_in.h - -fake_xt$O: $(INC)/dtmac.h $(INC)/dtmsg.h $(INC)/error.h $(INC)/ptab.h \ - $(INC)/server_xt.h - -global$O: $(INC)/dtmac.h tcc.h - -jnlproc$O: $(DINC)/tet_api.h $(DINC)/tet_jrnl.h $(INC)/dtetlib.h \ - $(INC)/dtmac.h $(INC)/error.h $(INC)/ltoa.h $(INC)/servlib.h \ - proctab.h scentab.h tcc.h - -journal$O: $(DINC)/tet_jrnl.h $(INC)/bstring.h $(INC)/tet3_config.h \ - $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/error.h $(INC)/globals.h \ - $(INC)/ltoa.h proctab.h scentab.h tcc.h - -keys$O: $(INC)/dtmac.h keys.h - -lock$O: $(INC)/dtmac.h $(INC)/dtmsg.h $(INC)/error.h $(INC)/globals.h \ - $(INC)/ltoa.h $(INC)/servlib.h $(INC)/tcclib.h proctab.h scentab.h \ - tcc.h - -procdir$O: $(INC)/dtmac.h $(INC)/error.h $(INC)/ltoa.h dirtab.h proctab.h \ - scentab.h tcc.h - -proctab$O: $(INC)/bstring.h $(INC)/dtmac.h $(INC)/error.h $(INC)/ftoa.h \ - $(INC)/ltoa.h proctab.h scentab.h tcc.h - -proctc$O: $(DINC)/tet_jrnl.h $(INC)/dtmac.h $(INC)/error.h $(INC)/ltoa.h \ - proctab.h scentab.h tcc.h - -proctcd$O: $(INC)/tet3_config.h $(INC)/dtmac.h $(INC)/error.h $(INC)/ltoa.h \ - $(INC)/servlib.h proctab.h scentab.h systab.h tcc.h - -rescode$O: $(INC)/tet3_config.h $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/dtmsg.h \ - $(INC)/error.h $(INC)/globals.h $(INC)/ltoa.h $(INC)/restab.h \ - $(INC)/servlib.h systab.h tcc.h - -resdir$O: $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/error.h $(INC)/tetdir.h \ - tcc.h - -rrproc$O: $(DINC)/tet_jrnl.h $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/error.h \ - $(INC)/ltoa.h dirtab.h scentab.h tcc.h - -scen1$O: $(INC)/bstring.h $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/error.h \ - $(INC)/llist.h $(INC)/ltoa.h dirtab.h scentab.h tcc.h - -scen2$O: $(INC)/dtmac.h $(INC)/error.h $(INC)/ltoa.h dirtab.h scentab.h tcc.h - -scen3$O: $(INC)/dtmac.h $(INC)/error.h $(INC)/ltoa.h dirtab.h scentab.h tcc.h - -scenario$O: $(INC)/dtmac.h $(INC)/error.h $(INC)/ltoa.h dirtab.h proctab.h \ - scentab.h tcc.h - -scenpp$O: $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/dtmsg.h $(INC)/error.h \ - $(INC)/globals.h dirtab.h scentab.h tcc.h - -scentab$O: $(INC)/bstring.h $(INC)/dtmac.h $(INC)/error.h $(INC)/ftoa.h \ - $(INC)/llist.h $(INC)/ltoa.h dirtab.h scentab.h tcc.h - -service$O: $(INC)/dtmac.h $(INC)/error.h $(INC)/ltoa.h dirtab.h proctab.h \ - scentab.h tcc.h - -sigtrap$O: $(INC)/dtmac.h $(INC)/error.h $(INC)/ltoa.h $(INC)/tcclib.h \ - proctab.h scentab.h tcc.h - -syscall$O: $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/dtmsg.h $(INC)/error.h \ - $(INC)/ltoa.h $(INC)/servlib.h $(INC)/tcclib.h tcc.h - -systab$O: $(INC)/bstring.h $(INC)/tet3_config.h $(INC)/dtmac.h $(INC)/dtmsg.h \ - $(INC)/error.h $(INC)/llist.h $(INC)/ltoa.h $(INC)/ptab.h dirtab.h \ - scentab.h systab.h tcc.h - -tcc$O: $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/dtmsg.h $(INC)/error.h \ - $(INC)/globals.h $(INC)/sigsafe.h keys.h tcc.h - -tcc_bs$O: $(INC)/avmsg.h $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/dtmsg.h \ - $(INC)/error.h $(INC)/ptab.h $(INC)/server_bs.h $(INC)/servlib.h \ - $(INC)/valmsg.h dtcc.h tcc.h - -tcc_in$O: $(INC)/bstring.h $(INC)/tet3_config.h $(INC)/dtetlib.h $(INC)/dtmac.h \ - $(INC)/dtmsg.h $(INC)/error.h $(INC)/globals.h $(INC)/inetlib_in.h \ - $(INC)/ltoa.h $(INC)/ptab.h $(INC)/server.h $(INC)/server_in.h \ - $(INC)/sysent.h $(INC)/tptab_in.h $(INC)/tsinfo_in.h $(INC)/tslib.h \ - dtcc.h tcc.h - -tcc_xt$O: $(INC)/tet3_config.h $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/dtmsg.h \ - $(INC)/error.h $(INC)/globals.h $(INC)/ltoa.h $(INC)/ptab.h \ - $(INC)/server.h $(INC)/server_xt.h $(INC)/sysent.h $(INC)/tptab_xt.h \ - $(INC)/tsinfo_xt.h $(INC)/tslib.h $(INC)/xtilib_xt.h dtcc.h tcc.h - -tcname$O: $(INC)/dtmac.h $(INC)/error.h proctab.h scentab.h tcc.h - -tool$O: $(DINC)/tet_jrnl.h $(INC)/tet3_config.h $(INC)/dtetlib.h $(INC)/dtmac.h \ - $(INC)/dtmsg.h $(INC)/error.h $(INC)/ltoa.h $(INC)/servlib.h \ - proctab.h scentab.h systab.h tcc.h - -utils$O: $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/error.h $(INC)/ftoa.h \ - $(INC)/globals.h tcc.h - -ynstr$O: $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/error.h $(INC)/ltoa.h tcc.h - - diff --git a/src/tet3/tcclib/makefile.old b/src/tet3/tcclib/makefile.old deleted file mode 100644 index 8f264702..00000000 --- a/src/tet3/tcclib/makefile.old +++ /dev/null @@ -1,141 +0,0 @@ -# -# SCCS: @(#)makefile 1.2 (98/09/01) -# -# UniSoft Ltd., London, England -# -# (C) Copyright 1996 X/Open Company Limited -# -# All rights reserved. No part of this source code may be reproduced, -# stored in a retrieval system, or transmitted, in any form or by any -# means, electronic, mechanical, photocopying, recording or otherwise, -# except as stated in the end-user licence agreement, without the prior -# permission of the copyright owners. -# A copy of the end-user licence agreement is contained in the file -# Licence which accompanies this distribution. -# -# X/Open and the 'X' symbol are trademarks of X/Open Company Limited in -# the UK and other countries. -# -# ************************************************************************ -# -# SCCS: @(#)makefile 1.2 98/09/01 -# NAME: makefile -# PRODUCT: TETware -# AUTHOR: Andrew Dingwall, UniSoft Ltd. -# DATE CREATED: October 1996 -# -# DESCRIPTION: -# tcclib makefile -# -# MODIFICATIONS: -# -# Andrew Dingwall, UniSoft Ltd., July 1998 -# Added support for shared API libraries. -# -# ************************************************************************ - -include ../../defines.mk -include ../ts.mk - -LOCAL_TET_CDEFS = $(TET_CDEFS) -LOCAL_DTET_CDEFS = $(DTET_CDEFS) -LOCAL_CDEFS = -LOCAL_COPTS = $(COPTS) - -# TET_CFLAGS and DTET_CFLAGS are set in ../common.mk -include ../common.mk - - -LIBNAME = libtcc$A - -OFILES = lockfile$O lsdir$O mktmpdir$O procdir$O rmrf$O sharlock$O \ - tcfexec$O w32wait$O - -first_make_rule: all - -all install: lib_made - -lib_made: $(OFILES) - if test -f lib_made; then \ - $(AR) rv $(LIBNAME) $? ;\ - else \ - $(AR) rv $(LIBNAME) `$(LORDER) $(OFILES) | $(TSORT)` ;\ - fi - $(RANLIB) $(LIBNAME) - touch lib_made - -.PRECIOUS: $(LIBNAME) - -CLEAN clean: - rm -f $(OFILES) - -CLOBBER clobber: clean - rm -f $(LIBNAME) lib_made - -FORCE FRC: clobber all - - -# clear the suffix list in this makefile -# all .o file are made by explicit rules -.SUFFIXES: - -.SUFFIXES: .none - - -# compilations - all with $TET_CFLAGS - -lockfile$O: lockfile.c - $(CC) $(TET_CFLAGS) -c lockfile.c - -lsdir$O: lsdir.c - $(CC) $(TET_CFLAGS) -c lsdir.c - -mktmpdir$O: mktmpdir.c - $(CC) $(TET_CFLAGS) -c mktmpdir.c - -procdir$O: procdir.c - $(CC) $(TET_CFLAGS) -c procdir.c - -rmrf$O: rmrf.c - $(CC) $(TET_CFLAGS) -c rmrf.c - -sharlock$O: sharlock.c - $(CC) $(TET_CFLAGS) -c sharlock.c - -tcfexec$O: tcfexec.c - $(CC) $(TET_CFLAGS) -c tcfexec.c - -w32wait$O: w32wait.c - $(CC) $(TET_CFLAGS) -c w32wait.c - - - -# dependencies - -lockfile$O: $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/dtmsg.h $(INC)/error.h \ - $(INC)/tcclib.h - -lsdir$O: $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/error.h $(INC)/tcclib.h \ - $(INC)/tetdir.h - -mktmpdir$O: $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/dtmsg.h $(INC)/error.h \ - $(INC)/globals.h $(INC)/ltoa.h $(INC)/tcclib.h - -procdir$O: $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/dtmsg.h $(INC)/error.h \ - $(INC)/globals.h $(INC)/ltoa.h $(INC)/ptab.h $(INC)/servlib.h \ - $(INC)/tcclib.h - -rmrf$O: $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/dtmsg.h $(INC)/error.h \ - $(INC)/globals.h $(INC)/ltoa.h $(INC)/tcclib.h - -sharlock$O: $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/dtmsg.h $(INC)/error.h \ - $(INC)/ltoa.h $(INC)/tcclib.h - -tcfexec$O: $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/dtmsg.h $(INC)/error.h \ - $(INC)/globals.h $(INC)/ltoa.h $(INC)/servlib.h $(INC)/synreq.h \ - $(INC)/tcclib.h - -w32wait$O: $(INC)/dtetlib.h $(INC)/dtmac.h $(INC)/dtmsg.h $(INC)/error.h \ - $(INC)/ltoa.h $(INC)/tcclib.h - - diff --git a/src/tet3/tcm/makefile.old b/src/tet3/tcm/makefile.old deleted file mode 100644 index 53ecb2f4..00000000 --- a/src/tet3/tcm/makefile.old +++ /dev/null @@ -1,143 +0,0 @@ -# -# SCCS: @(#)makefile 1.13 (98/09/01) -# -# UniSoft Ltd., London, England -# -# (C) Copyright 1992 X/Open Company Limited -# (C) Copyright 1994 UniSoft Ltd. -# -# All rights reserved. No part of this source code may be reproduced, -# stored in a retrieval system, or transmitted, in any form or by any -# means, electronic, mechanical, photocopying, recording or otherwise, -# except as stated in the end-user licence agreement, without the prior -# permission of the copyright owners. -# -# X/Open and the 'X' symbol are trademarks of X/Open Company Limited in -# the UK and other countries. -# -# -# ************************************************************************ -# -# SCCS: @(#)makefile 1.13 98/09/01 TETware release 3.3 -# NAME: makefile -# PRODUCT: TETware -# AUTHOR: Andrew Dingwall, UniSoft Ltd. -# DATE CREATED: June 1992 -# -# DESCRIPTION: -# tcm makefile -# -# MODIFICATIONS: -# Denis McConalogue, UniSoft Limited, September 1993 -# adapted from the makefile in src/dtet/tcm/makefile. -# -# Andrew Dingwall, UniSoft Ltd., December 1993 -# Enhancements for FIFO transport interface. -# Moved lists of transport-specific files to ts.mk -# -# Geoff Clare, UniSoft Ltd., August 1996 -# Changes for TETWare. -# -# Geoff Clare, UniSoft Ltd., Sept 1996 -# Changes for TETware-Lite. -# -# Geoff Clare, UniSoft Ltd., Oct 1996 -# restructured tcm source to avoid "ld -r" -# -# Andrew Dingwall, UniSoft Ltd., August 1998 -# Added support for shared libraries. -# -# ************************************************************************ - -include ../../defines.mk -include ../ts.mk - -LOCAL_TET_CDEFS = $(TET_CDEFS) -LOCAL_DTET_CDEFS = $(DTET_CDEFS) -LOCAL_CDEFS = -LOCAL_COPTS = $(COPTS) -LOCAL_CC = $(CC) - -# TET_CFLAGS and DTET_CFLAGS are set in ../common.mk -include ../common.mk - - -LIBNAME = $(LIBDAPI) - -# generic C build targets -ALL_GN = tcm$O tcmchild$O -TARGETS_GN = $(LIB)/tcm$O $(LIB)/tcmchild$O - -# additional targets when building the TCM in Distributed TETware -ALL_DIST = tcmrem$O -TARGETS_DIST = $(LIB)/tcmrem$O - -# this sets ALL_TS, TARGETS_TS and TCM_OFILES_TS -include ts.mk - -# C build targets -ALL = $(ALL_GN) $(ALL_TS) -TARGETS = $(TARGETS_GN) $(TARGETS_TS) - -# C++ build targets -# (tcmrem$O isn't supported in the C++ API) -ALLC = Ctcm$O Ctcmchild$O -TARGETSC = $(LIB)/Ctcm$O $(LIB)/Ctcmchild$O - -all: $(ALL) lib_made - -allC: $(ALLC) - -install: $(TARGETS) lib_made - -installC: $(TARGETSC) - -# this sets TCM_OFILES -TCMSRC = -APISHLIBSRC = -include shared.mk - -$(LIB)/tcm$O: tcm$O dtcm$O - ld -r -o $@ tcm$O dtcm$O - -$(LIB)/tcmrem$O: tcmrem$O - cp $? $@ - -$(LIB)/tcmchild$O: tcmchild$O - cp $? $@ - -$(LIB)/Ctcm$O: Ctcm$O dtcm$O - ld -r -o $@ Ctcm$O dtcm$O - -$(LIB)/Ctcmchild$O: Ctcmchild$O - cp $? $@ - -OFILES = $(TCM_OFILES) - -lib_made: $(OFILES) - if test -f lib_made; then \ - $(AR) rv $(LIBNAME) $? ;\ - else \ - $(AR) rv $(LIBNAME) `$(LORDER) $(OFILES) | $(TSORT)` ;\ - fi - $(RANLIB) $(LIBNAME) - touch lib_made - -.PRECIOUS: $(LIBNAME) - - -CLEAN clean: - rm -f $(OFILES) $(ALL) $(ALLC) dynlink_gen_made - -CLOBBER clobber: clean - rm -f $(TARGETS) $(TARGETSC) lib_made - -FORCE FRC: clobber all - - -# remove suffix rules from this makefile -# all .o files are made by explicit rules -.SUFFIXES: - -.SUFFIXES: .none - diff --git a/xts5/makefile.old b/xts5/makefile.old deleted file mode 100644 index b943bd96..00000000 --- a/xts5/makefile.old +++ /dev/null @@ -1,216 +0,0 @@ -# -# Copyright (c) 2005 X.Org Foundation LLC -# -# 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. -# -# -# Copyright (c) Applied Testing and Technology, Inc. 1995 -# All Rights Reserved. -# -# Project: VSW5 -# -# File: Makefile -# -# Description: -# Master makefile for installing VSW5 -# -# Modifications: -# $Log: Makefile,v $ -# Revision 1.7 2005-11-03 08:42:00 jmichael -# clean up all vsw5 paths to use xts5 instead. -# -# Revision 1.6 2005/11/01 01:38:05 idr -# Numerous changes to eliminate the need for wclean. It is replaced by doing -# 'wbuild clean'. tetclean.cfg will soon get the axe as well. -# -# Revision 1.5 2005/11/01 01:23:34 jamey -# Add a target for compiling the tests, and include it in make all. -# -# Revision 1.4 2005/11/01 00:41:26 jamey -# Copy tetbuild.cfg from the configs directory if possible and needed; cvsignore output from make build. -# -# Revision 1.3 2005/04/19 05:13:34 anderson -# Add a step to ensure the wbuild scrpt is executable -# -# Revision 1.2 2005/02/12 16:50:15 anderson -# Build the local version of libXaw & Xmu to make all of this stand-alone -# -# Revision 1.1.1.1 2005/02/12 15:14:15 anderson -# VSW5 Source under an MIT license This is version 5.0.2 as received from -# AppTest with the new license applied. -# -# Revision 8.0 1998/12/23 23:39:33 mar -# Branch point for Release 5.0.2 -# -# Revision 7.0 1998/10/30 23:02:41 mar -# Branch point for Release 5.0.2b1 -# -# Revision 6.0 1998/03/02 05:30:33 tbr -# Branch point for Release 5.0.1 -# -# Revision 5.0 1998/01/26 03:27:07 tbr -# Branch point for Release 5.0.1b1 -# -# Revision 4.1 1998/01/12 21:36:08 andy -# Changed bin/creport to bin/reports -# -# Revision 4.0 1995/12/15 09:25:50 tbr -# Branch point for Release 5.0.0 -# -# Revision 3.2 1995/12/15 00:32:44 andy -# Prepare for GA Release -# - -# Portions of this software are based on Xlib and X Protocol Test Suite. -# We have used this material under the terms of its copyright, which grants -# free use, subject to the conditions below. Note however that those -# portions of this software that are based on the original Test Suite have -# been significantly revised and that all such revisions are copyright (c) -# 1995 Applied Testing and Technology, Inc. Insomuch as the proprietary -# revisions cannot be separated from the freely copyable material, the net -# result is that use of this software is governed by the ApTest copyright. -# -# Copyright (c) 1990, 1991 X Consortium -# -# 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 -# X CONSORTIUM 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. -# -# Except as contained in this notice, the name of the X Consortium shall not be -# used in advertising or otherwise to promote the sale, use or other dealings -# in this Software without prior written authorization from the X Consortium. -# -# Copyright 1990, 1991 UniSoft Group Limited. -# -# Permission to use, copy, modify, distribute, and sell this software and -# its documentation for any purpose is hereby granted without fee, -# provided that the above copyright notice appear in all copies and that -# both that copyright notice and this permission notice appear in -# supporting documentation, and that the names of MIT and UniSoft not be -# used in advertising or publicity pertaining to distribution of the -# software without specific, written prior permission. MIT and UniSoft -# make no representations about the suitability of this software for any -# purpose. It is provided "as is" without express or implied warranty. -# - -# -# For full details on what needs to be built and how to build, refer -# to the User Guide. -# -# First, work through the instructions in the section entitled -# "INSTALLING VSW5" in the User's Guide. This involves -# setting the configuration parameters correctly for your system. -# -# Ensure your PATH environment variable is set to include $TET_ROOT/xts5/bin. -# -# Then, just type "make" in this directory: -# -# You then need to build and install the test fonts as described in the -# User's Guide. -# - -.IGNORE: - -all: build install tests - -build: tetbuild.cfg - chmod ugo+x bin/wbuild - @if [ -s $(TET_ROOT)/xts5/results/install.log ]; \ - then \ - mv -f $(TET_ROOT)/xts5/results/install.log $(TET_ROOT)/xts5/results/install.log.o; \ - fi - @(echo VSW5 INSTALLATION LOG|tee -a $(TET_ROOT)/xts5/results/install.log) - @(echo |tee -a $(TET_ROOT)/xts5/results/install.log) - @(date |tee -a $(TET_ROOT)/xts5/results/install.log) - @(uname -a |tee -a $(TET_ROOT)/xts5/results/install.log) - @(id |tee -a $(TET_ROOT)/xts5/results/install.log) - @(echo |tee -a $(TET_ROOT)/xts5/results/install.log) - @(echo Building libxtest |tee -a $(TET_ROOT)/xts5/results/install.log) - @(cd $(TET_ROOT)/xts5/src/lib; wbuild install 2>&1 | tee -a $(TET_ROOT)/xts5/results/install.log) - @(echo Building libXst |tee -a $(TET_ROOT)/xts5/results/install.log) - @(cd $(TET_ROOT)/xts5/src/libproto; wbuild install 2>&1 | tee -a $(TET_ROOT)/xts5/results/install.log) - @(echo Building libximtest |tee -a $(TET_ROOT)/xts5/results/install.log) - @(cd $(TET_ROOT)/xts5/src/xim; wbuild install 2>&1 | tee -a $(TET_ROOT)/xts5/results/install.log) - @(echo Building libfonts |tee -a $(TET_ROOT)/xts5/results/install.log) - @(cd $(TET_ROOT)/xts5/fonts; wbuild install 2>&1 | tee -a $(TET_ROOT)/xts5/results/install.log) - @(echo Building libXR5 |tee -a $(TET_ROOT)/xts5/results/install.log) - @(cd $(TET_ROOT)/xts5/src/libXR5; wbuild install 2>&1 | tee -a $(TET_ROOT)/xts5/results/install.log) - @(echo Building libXtaw |tee -a $(TET_ROOT)/xts5/results/install.log) - @(cd $(TET_ROOT)/xts5/src/libXtaw; wbuild install 2>&1 | tee -a $(TET_ROOT)/xts5/results/install.log) - @(echo Building libXtmu |tee -a $(TET_ROOT)/xts5/results/install.log) - @(cd $(TET_ROOT)/xts5/src/libXtmu; wbuild install 2>&1 | tee -a $(TET_ROOT)/xts5/results/install.log) -#not included in the Lite version - @if [ -d $(TET_ROOT)/xts5/src/libXtTest ]; \ - then \ - echo Building libXtTest |tee -a $(TET_ROOT)/xts5/results/install.log; \ - cd $(TET_ROOT)/xts5/src/libXtTest; wbuild install 2>&1 | tee -a $(TET_ROOT)/xts5/results/install.log; \ - fi - @(echo Building mc utility |tee -a $(TET_ROOT)/xts5/results/install.log) - @(cd $(TET_ROOT)/xts5/src/bin/mc; wbuild install 2>&1 | tee -a $(TET_ROOT)/xts5/results/install.log) - @(echo Building report generators |tee -a $(TET_ROOT)/xts5/results/install.log) - @(cd $(TET_ROOT)/xts5/src/bin/reports; wbuild install 2>&1 | tee -a $(TET_ROOT)/xts5/results/install.log) - @(echo Building blowup utility |tee -a $(TET_ROOT)/xts5/results/install.log) - @(cd $(TET_ROOT)/xts5/src/pixval/blowup; wbuild install 2>&1 | tee -a $(TET_ROOT)/xts5/results/install.log) - @(echo |tee -a $(TET_ROOT)/xts5/results/install.log) - -tetbuild.cfg: - cp configs/tetbuild.cfg.`uname` tetbuild.cfg - -tests: - tcc -b - -install: - @(echo Setting 775 directory permissions |tee -a $(TET_ROOT)/xts5/results/install.log) - @(find . -type d -print | xargs chmod 775) - @(echo INSTALLATION OF LIBRARIES AND TOOLS COMPLETED |tee -a $(TET_ROOT)/xts5/results/install.log) - @(echo FONTS MUST ALSO BE INSTALLED BEFORE RUNNING TESTS |tee -a $(TET_ROOT)/xts5/results/install.log) - -athena: - @(echo Building VSW Xaw and Xmu libraries |tee -a $(TET_ROOT)/xts5/results/install.log) - @(cd $(TET_ROOT)/xts5/src/libXtaw; wbuild install 2>&1 | tee -a $(TET_ROOT)/xts5/results/install.log) - @(cd $(TET_ROOT)/xts5/src/libXtmu; wbuild install 2>&1 | tee -a $(TET_ROOT)/xts5/results/install.log) - -clean: - @(cd src/lib; wbuild clean) - @(cd src/libXR5; wbuild clean) - @if [ -d $(TET_ROOT)/xts5/src/libXtTest ]; \ - then \ - cd src/libXtTest; wbuild clean; \ - fi - @(cd src/libproto; wbuild clean) - @(cd src/libXtaw; wbuild clean) - @(cd src/libXtmu; wbuild clean) - @(cd src/xim; wbuild clean) - @(cd fonts; wbuild clean) - @(cd src/bin/mc ; wbuild clean) - @(cd src/bin/reports ; wbuild clean) - @(cd src/pixval/blowup; wbuild clean) |