From 7032632e11cbcbb13de1c019efbaec493f1867f2 Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Fri, 23 Dec 2011 00:23:20 +0000 Subject: Remove old files from the TET3 import. CHANGES, README.old and RELEASE come from the previous millenium and probably don't help much. Autotooling the package totally obsoleted makefile.old files. Clean this up. Signed-off-by: Cyril Brulebois Reviewed-by: Aaron Plattner Signed-off-by: Aaron Plattner --- src/makefile.old | 151 ----------------- src/tet3/apilib/makefile.old | 98 ----------- src/tet3/apishlib/makefile.old | 140 ---------------- src/tet3/dtet2lib/makefile.old | 111 ------------- src/tet3/inetlib/makefile.old | 94 ----------- src/tet3/makefile.old | 205 ----------------------- src/tet3/servlib/makefile.old | 97 ----------- src/tet3/tcc/makefile.old | 366 ----------------------------------------- src/tet3/tcclib/makefile.old | 141 ---------------- src/tet3/tcm/makefile.old | 143 ---------------- 10 files changed, 1546 deletions(-) delete mode 100644 src/makefile.old delete mode 100644 src/tet3/apilib/makefile.old delete mode 100644 src/tet3/apishlib/makefile.old delete mode 100644 src/tet3/dtet2lib/makefile.old delete mode 100644 src/tet3/inetlib/makefile.old delete mode 100644 src/tet3/makefile.old delete mode 100644 src/tet3/servlib/makefile.old delete mode 100644 src/tet3/tcc/makefile.old delete mode 100644 src/tet3/tcclib/makefile.old delete mode 100644 src/tet3/tcm/makefile.old (limited to 'src') 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 - -- cgit v1.2.3