v19i047: dmake - dmake version 3.7, Part26/37

Dennis Vadura dvadura at watdragon.waterloo.edu
Mon May 13 08:15:14 AEST 1991


Submitted-by: Dennis Vadura <dvadura at watdragon.waterloo.edu>
Posting-number: Volume 19, Issue 47
Archive-name: dmake/part26
Supersedes: dmake-3.6: Volume 15, Issue 52-77

---- Cut Here and feed the following to sh ----
#!/bin/sh
# this is dmake.shar.26 (part 26 of a multipart archive)
# do not concatenate these parts, unpack them in order with /bin/sh
# file dmake/msdos/tee.c continued
#
if test ! -r _shar_seq_.tmp; then
	echo 'Please unpack part 1 first!'
	exit 1
fi
(read Scheck
 if test "$Scheck" != 26; then
	echo Please unpack part "$Scheck" next!
	exit 1
 else
	exit 0
 fi
) < _shar_seq_.tmp || exit 1
if test -f _shar_wnt_.tmp; then
sed 's/^X//' << 'SHAR_EOF' >> 'dmake/msdos/tee.c' &&
--      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
--
-- LOG
--     $Log:	tee.c,v $
X * Revision 1.1  91/05/06  15:25:36  dvadura
X * dmake Release Version 3.7
X * 
*/
X
PUBLIC void
Hook_std_writes( file )
char *file;
{
}
SHAR_EOF
chmod 0640 dmake/msdos/tee.c ||
echo 'restore of dmake/msdos/tee.c failed'
Wc_c="`wc -c < 'dmake/msdos/tee.c'`"
test 1353 -eq "$Wc_c" ||
	echo 'dmake/msdos/tee.c: original size 1353, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= dmake/os2/_chdir.c ==============
if test ! -d 'dmake/os2'; then
    mkdir 'dmake/os2'
fi
if test -f 'dmake/os2/_chdir.c' -a X"$1" != X"-c"; then
	echo 'x - skipping dmake/os2/_chdir.c (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/_chdir.c' &&
/* RCS      -- $Header: /u2/dvadura/src/generic/dmake/src/os2/RCS/_chdir.c,v 1.1 91/05/06 15:33:20 dvadura Exp $
-- SYNOPSIS -- Change directory.
-- 
-- DESCRIPTION
--	Under DOS change the current drive as well as the current directory.
--
-- AUTHOR
--      Dennis Vadura, dvadura at watdragon.uwaterloo.ca
--      CS DEPT, University of Waterloo, Waterloo, Ont., Canada
--
-- COPYRIGHT
--      Copyright (c) 1990 by Dennis Vadura.  All rights reserved.
-- 
--      This program is free software; you can redistribute it and/or
--      modify it under the terms of the GNU General Public License
--      (version 1), as published by the Free Software Foundation, and
--      found in the file 'LICENSE' included with this distribution.
-- 
--      This program is distributed in the hope that it will be useful,
--      but WITHOUT ANY WARRANTY; without even the implied warrant of
--      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
--      GNU General Public License for more details.
-- 
--      You should have received a copy of the GNU General Public License
--      along with this program;  if not, write to the Free Software
--      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
--
-- LOG
--     $Log:	_chdir.c,v $
X * Revision 1.1  91/05/06  15:33:20  dvadura
X * dmake Release Version 3.7
X * 
*/
X
#include <dos.h>
#include <os2.h>
#include "extern.h"
X
PUBLIC int
_chdir(path)
char *path;
{
X   int res;
X
X   res = chdir(path);
X
X   if (res == 0 && path[1] == ':' && *path != *Pwd)
#ifdef OS2
X      DosSelectDisk((*path & ~0x20) - '@');
#else
X      unsigned new_drive;
X      unsigned max_drives;
X
X      new_drive = (*path & ~0x20) - 'A' + 1;
X      _dos_setdrive(new_drive, &max_drives);
#endif
X
X   return (res);
}
SHAR_EOF
chmod 0640 dmake/os2/_chdir.c ||
echo 'restore of dmake/os2/_chdir.c failed'
Wc_c="`wc -c < 'dmake/os2/_chdir.c'`"
test 1746 -eq "$Wc_c" ||
	echo 'dmake/os2/_chdir.c: original size 1746, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= dmake/os2/config.mk ==============
if test -f 'dmake/os2/config.mk' -a X"$1" != X"-c"; then
	echo 'x - skipping dmake/os2/config.mk (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/config.mk' &&
# This is an OS specific configuration file
#	It assumes that OBJDIR, TARGET and DEBUG are previously defined.
#	It defines	CFLAGS, LDARGS, CPPFLAGS, STARTUPFILE, LDOBJS
#	It augments	SRC, OBJDIR, TARGET, CFLAGS, LDLIBS
#
OSRELEASE *= mscdos
# Memory model to compile for
# set to s - small, m - medium, c - compact, l - large
.IF $(DEBUG)
X   MODEL = l
.ELSE
X   MODEL = c
.END
X
STARTUPFILE	= $(OS)/startup.mk
X
CPPFLAGS 	= $(CFLAGS)
LDOBJS		= $(CSTARTUP) $(OBJDIR)/{$(<:f)}
LDARGS		= @$(LDTMPOBJ),$(TARGET),NUL.MAP$(LDTAIL)
LDTAIL		= ,@$(LDTMPLIB)$(LDFLAGS),$(OS)\$(TARGET:b).def
LDTMPOBJ	= <+$(LDOBJS:s,/,\\,:t"+\n")+>
LDTMPLIB	= <+$(LDLIBS:s,/,\\,:t"+\n")+>
X
# Debug flags
DB_CFLAGS	= -DDBUG
DB_LDFLAGS	= /ST:8000
DB_LDLIBS	=
X
# NO Debug flags
NDB_CFLAGS	= -B2 C2L -WX # -B3 C3L
NDB_LDFLAGS	= /ST:8000
NDB_LDLIBS	=
X
# Local configuration modifications for CFLAGS.
CFLAGS         += -I$(OS) -DOS2
X
# OS2 does not have a swap version. The operating system will
# handle all swapping.
# To save copying unchanged files in from elsewhere, I shall use them in situ.
OS_SRC  += ruletab.c runargv.c _chdir.c switchar.c
DOS_SRC = dirbrk.c arlib.c
UNIX_SRC = rmprq.c
X
SRC += $(OS_SRC) $(DOS_SRC) $(UNIX_SRC)
.SETDIR=$(OS) : $(ASRC) $(OS_SRC)
.SETDIR=msdos : $(DOS_SRC)
.SETDIR=unix : $(UNIX_SRC)
X
# Set source dirs so that we can find files named in this
# config file.
.SOURCE.h : $(OS)
X
# See if we modify anything in the lower levels.
.IF $(OSRELEASE) != $(NULL)
X   .INCLUDE .IGNORE : $(OS)$(DIRSEPSTR)$(OSRELEASE)$(DIRSEPSTR)config.mk
.END
SHAR_EOF
chmod 0640 dmake/os2/config.mk ||
echo 'restore of dmake/os2/config.mk failed'
Wc_c="`wc -c < 'dmake/os2/config.mk'`"
test 1536 -eq "$Wc_c" ||
	echo 'dmake/os2/config.mk: original size 1536, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= dmake/os2/dmake.bad ==============
if test -f 'dmake/os2/dmake.bad' -a X"$1" != X"-c"; then
	echo 'x - skipping dmake/os2/dmake.bad (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/dmake.bad' &&
DOSCWAIT
DOSKILLPROCESS
SHAR_EOF
chmod 0640 dmake/os2/dmake.bad ||
echo 'restore of dmake/os2/dmake.bad failed'
Wc_c="`wc -c < 'dmake/os2/dmake.bad'`"
test 24 -eq "$Wc_c" ||
	echo 'dmake/os2/dmake.bad: original size 24, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= dmake/os2/dmake.cs ==============
if test -f 'dmake/os2/dmake.cs' -a X"$1" != X"-c"; then
	echo 'x - skipping dmake/os2/dmake.cs (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/dmake.cs' &&
(-I. -Icommon -Ios2 -Ios2\mscdos -DHELP -DOS2 -D__STDC__=1 -W1
infer.c make.c stat.c expand.c string.c hash.c dag.c
dmake.c path.c imacs.c sysintf.c parse.c getinp.c quit.c
basename.c dump.c macparse.c rulparse.c percent.c function.c
os2\ruletab.c os2\_chdir.c os2\switchar.c os2\mscdos\tempnam.c os2\runargv.c
msdos\dirbrk.c msdos\arlib.c
unix\rmprq.c unix\explode.c
)
X
dmake.exe
os2\dmake.def
os2\dmake.bad
X
-AC -LB -S0x2000
SHAR_EOF
chmod 0640 dmake/os2/dmake.cs ||
echo 'restore of dmake/os2/dmake.cs failed'
Wc_c="`wc -c < 'dmake/os2/dmake.cs'`"
test 427 -eq "$Wc_c" ||
	echo 'dmake/os2/dmake.cs: original size 427, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= dmake/os2/dmake.def ==============
if test -f 'dmake/os2/dmake.def' -a X"$1" != X"-c"; then
	echo 'x - skipping dmake/os2/dmake.def (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/dmake.def' &&
NAME DMAKE WINDOWCOMPAT NEWFILES
DESCRIPTION 'DMAKE Version 3.7 - for MS-DOS and OS/2'
X
; IMPORTS
;	SESMGR.DOSSMSETTITLE
SHAR_EOF
chmod 0640 dmake/os2/dmake.def ||
echo 'restore of dmake/os2/dmake.def failed'
Wc_c="`wc -c < 'dmake/os2/dmake.def'`"
test 121 -eq "$Wc_c" ||
	echo 'dmake/os2/dmake.def: original size 121, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= dmake/os2/mscdos/config.h ==============
if test ! -d 'dmake/os2/mscdos'; then
    mkdir 'dmake/os2/mscdos'
fi
if test -f 'dmake/os2/mscdos/config.h' -a X"$1" != X"-c"; then
	echo 'x - skipping dmake/os2/mscdos/config.h (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/config.h' &&
/* RCS      -- $Header: /u2/dvadura/src/generic/dmake/src/os2/mscdos/RCS/config.h,v 1.1 91/05/06 15:34:02 dvadura Exp $
-- SYNOPSIS -- Configurarion include file.
-- 
-- DESCRIPTION
-- 	There is one of these for each specific machine configuration.
--	It can be used to further tweek the machine specific sources
--	so that they compile.
--
-- AUTHOR
--      Dennis Vadura, dvadura at watdragon.uwaterloo.ca
--      CS DEPT, University of Waterloo, Waterloo, Ont., Canada
--
-- COPYRIGHT
--      Copyright (c) 1990 by Dennis Vadura.  All rights reserved.
-- 
--      This program is free software; you can redistribute it and/or
--      modify it under the terms of the GNU General Public License
--      (version 1), as published by the Free Software Foundation, and
--      found in the file 'LICENSE' included with this distribution.
-- 
--      This program is distributed in the hope that it will be useful,
--      but WITHOUT ANY WARRANTY; without even the implied warrant of
--      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
--      GNU General Public License for more details.
-- 
--      You should have received a copy of the GNU General Public License
--      along with this program;  if not, write to the Free Software
--      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
--
-- LOG
--     $Log:	config.h,v $
X * Revision 1.1  91/05/06  15:34:02  dvadura
X * dmake Release Version 3.7
X * 
*/
X
#if defined (_MSC_VER)
# if _MSC_VER < 500
X	Force a compile-time blowup.
X	Do not define define _MSC_VER for MSC compilers ealier than 5.0.
# endif
#endif
X
/* define this for configurations that don't have the coreleft function
X * so that the code compiles.  To my knowledge coreleft exists only on
X * Turbo C, but it is needed here since the function is used in many debug
X * macros. */
#define coreleft() 0L
X
/* MSC Version 4.0 doesn't understand SIGTERM, later versions do. */
#ifndef SIGTERM
#   define SIGTERM SIGINT
#endif
X
/* This should already be defined under C6.0, also for OS/2 we want buffering
X * to minimise the mess during parallel makes.
X */
#ifndef _IOLBF
#   define _IOLBF   _IOFBF
#endif
X
/* in alloc.h: size_t is redefined
X * defined in stdio.h which is included by alloc.h
X */
#if defined(MSDOS) && defined (_MSC_VER)
#   define _TYPES_
#endif
X
/* in sysintf.c: SIGQUIT is used, this is not defined in MSC */
#ifndef SIGQUIT
#   define SIGQUIT SIGTERM
#endif
SHAR_EOF
chmod 0640 dmake/os2/mscdos/config.h ||
echo 'restore of dmake/os2/mscdos/config.h failed'
Wc_c="`wc -c < 'dmake/os2/mscdos/config.h'`"
test 2414 -eq "$Wc_c" ||
	echo 'dmake/os2/mscdos/config.h: original size 2414, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= dmake/os2/mscdos/config.mk ==============
if test -f 'dmake/os2/mscdos/config.mk' -a X"$1" != X"-c"; then
	echo 'x - skipping dmake/os2/mscdos/config.mk (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/config.mk' &&
# This is the MSC 4.0 and higher OS/2 configuration file for DMAKE
#	It simply modifies the values of SRC, and checks to see if
#	OSENVIRONMENT is defined.  If so it includes the appropriate
#	config.mk file.
#
# It also sets the values of .SOURCE.c and .SOURCE.h to include the local
# directory.
#
osrdir := $(OS)$(DIRSEPSTR)$(OSRELEASE)
X
TMPDIR :=
.EXPORT : TMPDIR
X
# Definition of macros for library, and C startup code.
X
# The following sources are required for MSC
OSR_SRC = tempnam.c
.SETDIR=$(osrdir) : $(OSR_SRC)
X
SRC += $(OSR_SRC)
.SOURCE.h : $(osrdir)
X
# Local configuration modifications for CFLAGS 
# OS/2 always has at least a 286 so this is enabled by default:
CFLAGS += -G2
X
# For OS/2 we need the LDTAIL defined in os2\config.mk
# Debugging libraries
DB_LDFLAGS += /co /li /map
DB_LDLIBS  +=
X
# NO Debug MSC flags:
# Set the environment variable MSC_VER to be one of 4.0, 5.0, 5.1, or 6.0
# to get these by default when you make dmake using 'dmake'.
#
# Setting MSC_VER to one of the above sets the variable _MSC_VER appropriately
# and sets the flags appropriately.
X
.IMPORT .IGNORE : MSC_VER
MSC_VER *= 6.0			  # If unset, assume 6.0 by default.
X
.IF $(MSC_VER) == 4.0
X   CFLAGS      += -I$(osrdir) $(C_$(MODEL):s/A/m/)
X   CFLAGS      += -DM_I86=1	  # 5.0+ define this automatically
X   CFLAGS      += -D__STDC__=1    # 5.0, 5.1, but not 6.0 do this automatically
X   NDB_CFLAGS  +=
X   DB_CFLAGS   += -Zi
.ELSE
X   DB_CFLAGS   += -Zi
X   CFLAGS      += -I$(osrdir) $(C_$(MODEL))
X   .IF $(MSC_VER) != 6.0
X      # For 5.0 and 5.1, we define _MSC_VER=500 or 510
X      CFLAGS      += -D_MSC_VER=$(MSC_VER:s,.,,)0
X      NDB_CFLAGS  += -Oscl -Gs
X   .ELSE
X      # Microsoft C 6.0 auto defines _MSC_VER=600, but not __STDC__
X      CFLAGS      += -D__STDC__=1 # incredibly not auto done by 6.0
X      NDB_CFLAGS  += -Osecgl -Gs
X
X       # Redefine rule for making our objects, we don't need mv
X      %$O : %.c ;% $(CC) -c $(CFLAGS) -Fo$@ $<
X   .END
X   NDB_LDFLAGS += /exe /packc /batch
X   NDB_LDLIBS  +=
.END
X
# See if we modify anything in the lower levels.
.IF $(OSENVIRONMENT) != $(NULL)
X   .INCLUDE .IGNORE : $(osrdir)$(DIRSEPSTR)$(OSENVIRONMENT)$(DIRSEPSTR)config.mk
.END
X
C_s =
C_m = -AM
C_c = -AC
C_l = -AL
X
S_s = -Dmsmall
S_m = -Dmmedium
S_c = -Dmcompact
S_l = -Dmlarge
SHAR_EOF
chmod 0640 dmake/os2/mscdos/config.mk ||
echo 'restore of dmake/os2/mscdos/config.mk failed'
Wc_c="`wc -c < 'dmake/os2/mscdos/config.mk'`"
test 2282 -eq "$Wc_c" ||
	echo 'dmake/os2/mscdos/config.mk: original size 2282, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= dmake/os2/mscdos/dmake.ini ==============
if test -f 'dmake/os2/mscdos/dmake.ini' -a X"$1" != X"-c"; then
	echo 'x - skipping dmake/os2/mscdos/dmake.ini (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/dmake.ini' &&
# MSDOS DMAKE startup file.  Customize to suit your needs.
# Assumes MKS toolkit for the tool commands, and Microsoft C.  Change as req'd.
# See the documentation for a description of internally defined macros.
#
# Disable warnings for macros redefined here that were given
# on the command line.
__.SILENT := $(.SILENT)
.SILENT   := yes
X
# Configuration parameters for DMAKE startup.mk file
# Set these to NON-NULL if you wish to turn the parameter on.
_HAVE_RCS	:= yes		# yes => RCS  is installed.
_HAVE_SCCS	:= 		# yes => SCCS is installed.
X
# Applicable suffix definitions
A := .lib	# Libraries
E := .exe	# Executables
F := .for	# Fortran
O := .obj	# Objects
P := .pas	# Pascal
S := .asm	# Assembler sources
V := 		# RCS suffix
X
# See if these are defined
TMPDIR := $(ROOTDIR)/tmp
.IMPORT .IGNORE : TMPDIR SHELL COMSPEC
X
# Recipe execution configurations
# First set SHELL, If it is not defined, use COMSPEC, otherwise
# it is assumed to be MKS Korn SHELL.
.IF $(SHELL) == $(NULL)
.IF $(COMSPEC) == $(NULL)
X   SHELL := $(ROOTDIR)/bin/sh$E
.ELSE
X   SHELL := $(COMSPEC)
.END
.END
GROUPSHELL := $(SHELL)
X
# Now set remaining arguments depending on which SHELL we
# are going to use.  COMSPEC (assumed to be cmd.exe) or
# MKS Korn Shell.
.IF $(SHELL)==$(COMSPEC)
X   SHELLFLAGS  := $(SWITCHAR)c
X   GROUPFLAGS  := $(SHELLFLAGS)
X   SHELLMETAS  := *"?<>|&
X   GROUPSUFFIX := .cmd
X   DIRSEPSTR   := \\
X   DIVFILE      = $(TMPFILE:s,/,\)
.ELSE
X   SHELLFLAGS  := -c
X   GROUPFLAGS  := 
X   SHELLMETAS  := *"?<>|()&][$$\#`'
X   GROUPSUFFIX := .ksh
X   .MKSARGS    := yes
X   DIVFILE      = $(TMPFILE:s,/,${DIVSEP_shell_${USESHELL}})
X   DIVSEP_shell_yes := \\\
X   DIVSEP_shell_no  := \\
.END
X
# Standard C-language command names and flags
X   CC      := cl		# C-compiler and flags
X   CFLAGS  +=
X
X   AS      := masm		# Assembler and flags
X   ASFLAGS +=
X
X   LD       = link		# Loader and flags
X   LDFLAGS +=
X   LDLIBS   =
X
# Definition of $(MAKE) macro for recursive makes.
X   MAKE = $(MAKECMD) $(MFLAGS)
X
# Language and Parser generation Tools and their flags
X   YACC	  := yacc		# standard yacc
X   YFLAGS +=
X   YTAB	  := ytab		# yacc output files name stem.
X
X   LEX	  := lex		# standard lex
X   LFLAGS +=
X   LEXYY  := lex_yy		# lex output file
X
# Other Compilers, Tools and their flags
X   PC	:= any_pc		# pascal compiler
X   RC	:= anyf77		# ratfor compiler
X   FC	:= anyf77		# fortran compiler
X
X   CO	   := co		# check out for RCS
X   COFLAGS += -q
X
X   AR     := ar			# archiver
X   ARFLAGS+= ruv
X
X   RM	   := rm		# remove a file command
X   RMFLAGS +=
X
# Implicit generation rules for making inferences.
# We don't provide .yr or .ye rules here.  They're obsolete.
# Rules for making *$O
X   %$O : %.c ; $(CC) $(CFLAGS) -c $<
X   %$O : %$P ; $(PC) $(PFLAGS) -c $<
X   %$O : %$S ; $(AS) $(ASFLAGS) $(<:s,/,\);
X   %$O : %.cl ; class -c $<
X   %$O : %.e %.r %.F %$F ; $(FC) $(RFLAGS) $(EFLAGS) $(FFLAGS) -c $<
X
# Executables
X   %$E : %$O ; $(CC) $(LDFLAGS) -o$@ $< $(LDLIBS)
X
# lex and yacc rules
X   %.c : %.y ; $(YACC)  $(YFLAGS) $<; mv $(YTAB).c $@
X   %.c : %.l ; $(LEX)   $(LFLAGS) $<; mv $(LEXYY).c $@
X
# RCS support
.IF $(_HAVE_RCS)
X   % : $$(@:d)RCS$$(DIRSEPSTR)$$(@:f)$V;- $(CO) $(COFLAGS) $@
X   .NOINFER : $$(@:d)RCS$$(DIRSEPSTR)$$(@:f)$V
.END
X
# SCCS support
.IF $(_HAVE_SCCS)
X   % : s.% ; get $@
X   .NOINFER : s.%
.END
X
# Recipe to make archive files.
%$A :
[
X   $(AR) $(ARFLAGS) $@ $?
X   $(RM) $(RMFLAGS) $?
]
X
# DMAKE uses this recipe to remove intermediate targets
.REMOVE :; $(RM) -f $<
X
# AUGMAKE extensions for SYSV compatibility
@B = $(@:b)
@D = $(@:d)
@F = $(@:f)
*B = $(*:b)
*D = $(*:d)
*F = $(*:f)
<B = $(<:b)
<D = $(<:d)
<F = $(<:f)
?B = $(?:b)
?F = $(?:f)
?D = $(?:d)
X
# Turn warnings back to previous setting.
.SILENT := $(__.SILENT)
X
# Local init file if any, gets parsed before user makefile
.INCLUDE .IGNORE: "_startup.mk"
SHAR_EOF
chmod 0640 dmake/os2/mscdos/dmake.ini ||
echo 'restore of dmake/os2/mscdos/dmake.ini failed'
Wc_c="`wc -c < 'dmake/os2/mscdos/dmake.ini'`"
test 3820 -eq "$Wc_c" ||
	echo 'dmake/os2/mscdos/dmake.ini: original size 3820, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= dmake/os2/mscdos/lib.rsp ==============
if test -f 'dmake/os2/mscdos/lib.rsp' -a X"$1" != X"-c"; then
	echo 'x - skipping dmake/os2/mscdos/lib.rsp (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/lib.rsp' &&
X
SHAR_EOF
chmod 0640 dmake/os2/mscdos/lib.rsp ||
echo 'restore of dmake/os2/mscdos/lib.rsp failed'
Wc_c="`wc -c < 'dmake/os2/mscdos/lib.rsp'`"
test 1 -eq "$Wc_c" ||
	echo 'dmake/os2/mscdos/lib.rsp: original size 1, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= dmake/os2/mscdos/mk40.cmd ==============
if test -f 'dmake/os2/mscdos/mk40.cmd' -a X"$1" != X"-c"; then
	echo 'x - skipping dmake/os2/mscdos/mk40.cmd (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/mk40.cmd' &&
mkdir objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX infer.c
mv infer.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX make.c
mv make.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX stat.c
mv stat.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX expand.c
mv expand.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX dmstring.c
mv dmstring.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX hash.c
mv hash.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX dag.c
mv dag.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX dmake.c
mv dmake.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX path.c
mv path.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX imacs.c
mv imacs.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX sysintf.c
mv sysintf.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX parse.c
mv parse.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX getinp.c
mv getinp.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX quit.c
mv quit.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX state.c
mv state.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX basename.c
mv basename.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX dmdump.c
mv dmdump.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX macparse.c
mv macparse.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX rulparse.c
mv rulparse.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX percent.c
mv percent.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX function.c
mv function.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX os2\ruletab.c
mv ruletab.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX os2\runargv.c
mv runargv.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX os2\_chdir.c
mv _chdir.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX os2\switchar.c
mv switchar.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX msdos\dirbrk.c
mv dirbrk.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX msdos\arlib.c
mv arlib.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX unix\rmprq.c
mv rmprq.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -mC -DM_I86=1 -D__STDC__=1 -B2 C2L -WX os2\mscdos\tempnam.c
mv tempnam.obj objects
link @\tmp\mkAAA009963,dmake.exe,NUL.MAP,@\tmp\mkBAA009963\ST:8000,os2\dmake.def
cp os2\mscdos\startup.mk startup.mk
SHAR_EOF
chmod 0640 dmake/os2/mscdos/mk40.cmd ||
echo 'restore of dmake/os2/mscdos/mk40.cmd failed'
Wc_c="`wc -c < 'dmake/os2/mscdos/mk40.cmd'`"
test 3330 -eq "$Wc_c" ||
	echo 'dmake/os2/mscdos/mk40.cmd: original size 3330, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= dmake/os2/mscdos/mk50.cmd ==============
if test -f 'dmake/os2/mscdos/mk50.cmd' -a X"$1" != X"-c"; then
	echo 'x - skipping dmake/os2/mscdos/mk50.cmd (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/mk50.cmd' &&
mkdir objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs infer.c
mv infer.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs make.c
mv make.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs stat.c
mv stat.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs expand.c
mv expand.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs dmstring.c
mv dmstring.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs hash.c
mv hash.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs dag.c
mv dag.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs dmake.c
mv dmake.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs path.c
mv path.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs imacs.c
mv imacs.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs sysintf.c
mv sysintf.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs parse.c
mv parse.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs getinp.c
mv getinp.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs quit.c
mv quit.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs state.c
mv state.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs basename.c
mv basename.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs dmdump.c
mv dmdump.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs macparse.c
mv macparse.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs rulparse.c
mv rulparse.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs percent.c
mv percent.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs function.c
mv function.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs os2\ruletab.c
mv ruletab.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs os2\runargv.c
mv runargv.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs os2\_chdir.c
mv _chdir.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs os2\switchar.c
mv switchar.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs msdos\dirbrk.c
mv dirbrk.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs msdos\arlib.c
mv arlib.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs unix\rmprq.c
mv rmprq.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=500 -B2 C2L -WX -Oscl -Gs os2\mscdos\tempnam.c
mv tempnam.obj objects
link @\tmp\mkAAA009990,dmake.exe,NUL.MAP,@\tmp\mkBAA009990\ST:8000 \exe \packc \batch,os2\dmake.def
cp os2\mscdos\startup.mk startup.mk
SHAR_EOF
chmod 0640 dmake/os2/mscdos/mk50.cmd ||
echo 'restore of dmake/os2/mscdos/mk50.cmd failed'
Wc_c="`wc -c < 'dmake/os2/mscdos/mk50.cmd'`"
test 3407 -eq "$Wc_c" ||
	echo 'dmake/os2/mscdos/mk50.cmd: original size 3407, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= dmake/os2/mscdos/mk51.cmd ==============
if test -f 'dmake/os2/mscdos/mk51.cmd' -a X"$1" != X"-c"; then
	echo 'x - skipping dmake/os2/mscdos/mk51.cmd (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/mk51.cmd' &&
mkdir objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs infer.c
mv infer.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs make.c
mv make.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs stat.c
mv stat.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs expand.c
mv expand.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs dmstring.c
mv dmstring.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs hash.c
mv hash.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs dag.c
mv dag.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs dmake.c
mv dmake.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs path.c
mv path.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs imacs.c
mv imacs.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs sysintf.c
mv sysintf.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs parse.c
mv parse.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs getinp.c
mv getinp.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs quit.c
mv quit.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs state.c
mv state.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs basename.c
mv basename.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs dmdump.c
mv dmdump.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs macparse.c
mv macparse.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs rulparse.c
mv rulparse.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs percent.c
mv percent.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs function.c
mv function.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs os2\ruletab.c
mv ruletab.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs os2\runargv.c
mv runargv.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs os2\_chdir.c
mv _chdir.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs os2\switchar.c
mv switchar.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs msdos\dirbrk.c
mv dirbrk.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs msdos\arlib.c
mv arlib.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs unix\rmprq.c
mv rmprq.obj objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D_MSC_VER=510 -B2 C2L -WX -Oscl -Gs os2\mscdos\tempnam.c
mv tempnam.obj objects
link @\tmp\mkAAA010015,dmake.exe,NUL.MAP,@\tmp\mkBAA010015\ST:8000 \exe \packc \batch,os2\dmake.def
cp os2\mscdos\startup.mk startup.mk
SHAR_EOF
chmod 0640 dmake/os2/mscdos/mk51.cmd ||
echo 'restore of dmake/os2/mscdos/mk51.cmd failed'
Wc_c="`wc -c < 'dmake/os2/mscdos/mk51.cmd'`"
test 3407 -eq "$Wc_c" ||
	echo 'dmake/os2/mscdos/mk51.cmd: original size 3407, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= dmake/os2/mscdos/mk60.cmd ==============
if test -f 'dmake/os2/mscdos/mk60.cmd' -a X"$1" != X"-c"; then
	echo 'x - skipping dmake/os2/mscdos/mk60.cmd (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/mk60.cmd' &&
mkdir objects
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\infer.obj infer.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\make.obj make.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\stat.obj stat.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\expand.obj expand.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\dmstring.obj dmstring.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\hash.obj hash.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\dag.obj dag.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\dmake.obj dmake.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\path.obj path.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\imacs.obj imacs.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\sysintf.obj sysintf.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\parse.obj parse.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\getinp.obj getinp.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\quit.obj quit.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\state.obj state.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\basename.obj basename.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\dmdump.obj dmdump.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\macparse.obj macparse.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\rulparse.obj rulparse.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\percent.obj percent.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\function.obj function.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\ruletab.obj os2\ruletab.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\runargv.obj os2\runargv.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\_chdir.obj os2\_chdir.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\switchar.obj os2\switchar.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\dirbrk.obj msdos\dirbrk.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\arlib.obj msdos\arlib.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\rmprq.obj unix\rmprq.c
cl -c -I. -Ios2 -DOS2 -G2 -Ios2\mscdos -AC -D__STDC__=1 -B2 C2L -WX -Osecgl -Gs -Foobjects\tempnam.obj os2\mscdos\tempnam.c
link @\tmp\mkAAA010057,dmake.exe,NUL.MAP,@\tmp\mkBAA010057\ST:8000 \exe \packc \batch,os2\dmake.def
cp os2\mscdos\startup.mk startup.mk
SHAR_EOF
chmod 0640 dmake/os2/mscdos/mk60.cmd ||
echo 'restore of dmake/os2/mscdos/mk60.cmd failed'
Wc_c="`wc -c < 'dmake/os2/mscdos/mk60.cmd'`"
test 3407 -eq "$Wc_c" ||
	echo 'dmake/os2/mscdos/mk60.cmd: original size 3407, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= dmake/os2/mscdos/obj.rsp ==============
if test -f 'dmake/os2/mscdos/obj.rsp' -a X"$1" != X"-c"; then
	echo 'x - skipping dmake/os2/mscdos/obj.rsp (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/obj.rsp' &&
objects\infer.obj+
objects\make.obj+
objects\stat.obj+
objects\expand.obj+
objects\dmstring.obj+
objects\hash.obj+
objects\dag.obj+
objects\dmake.obj+
objects\path.obj+
objects\imacs.obj+
objects\sysintf.obj+
objects\parse.obj+
objects\getinp.obj+
objects\quit.obj+
objects\state.obj+
objects\basename.obj+
objects\dmdump.obj+
objects\macparse.obj+
objects\rulparse.obj+
objects\percent.obj+
objects\function.obj+
objects\ruletab.obj+
objects\runargv.obj+
objects\_chdir.obj+
objects\switchar.obj+
objects\dirbrk.obj+
objects\arlib.obj+
objects\rmprq.obj+
objects\tempnam.obj
SHAR_EOF
chmod 0640 dmake/os2/mscdos/obj.rsp ||
echo 'restore of dmake/os2/mscdos/obj.rsp failed'
Wc_c="`wc -c < 'dmake/os2/mscdos/obj.rsp'`"
test 576 -eq "$Wc_c" ||
	echo 'dmake/os2/mscdos/obj.rsp: original size 576, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= dmake/os2/mscdos/optoff.h ==============
if test -f 'dmake/os2/mscdos/optoff.h' -a X"$1" != X"-c"; then
	echo 'x - skipping dmake/os2/mscdos/optoff.h (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/optoff.h' &&
#if _MSC_VER < 600
# pragma loop_opt(off)
#endif
SHAR_EOF
chmod 0640 dmake/os2/mscdos/optoff.h ||
echo 'restore of dmake/os2/mscdos/optoff.h failed'
Wc_c="`wc -c < 'dmake/os2/mscdos/optoff.h'`"
test 49 -eq "$Wc_c" ||
	echo 'dmake/os2/mscdos/optoff.h: original size 49, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= dmake/os2/mscdos/public.h ==============
if test -f 'dmake/os2/mscdos/public.h' -a X"$1" != X"-c"; then
	echo 'x - skipping dmake/os2/mscdos/public.h (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
sed 's/^X//' << 'SHAR_EOF' > 'dmake/os2/mscdos/public.h' &&
/* RCS      -- $Header: /u2/dvadura/src/generic/dmake/src/os2/mscdos/RCS/public.h,v 1.1 91/05/06 15:34:04 dvadura Exp Locker: dvadura $
-- WARNING  -- This file is AUTOMATICALLY GENERATED DO NOT EDIT IT
--
-- SYNOPSIS -- Local functions exported to be visible by others.
--
-- DESCRIPTION
--      This file is generated by 'genpub'.  Function declarations
--      that appear in this file are extracted by 'genpub' from
--      source files.  Any function in the source file whose definition
--      appears like:
--
--          PUBLIC return_type
--          function( arg_list );
--          type_expr1 arg1;
--          ...
--
--      has its definition extracted and a line of the form:
--
--          return_type function ANSI((type_expr1,type_expr2,...));
--
--      entered into the output file.
--
-- AUTHOR
--      Dennis Vadura, dvadura at watdragon.uwaterloo.ca
--      CS DEPT, University of Waterloo, Waterloo, Ont., Canada
--
-- COPYRIGHT
--      Copyright (c) 1990 by Dennis Vadura.  All rights reserved.
-- 
--      This program is free software; you can redistribute it and/or
--      modify it under the terms of the GNU General Public License
--      (version 1), as published by the Free Software Foundation, and
--      found in the file 'LICENSE' included with this distribution.
-- 
--      This program is distributed in the hope that it will be useful,
--      but WITHOUT ANY WARRANTY; without even the implied warrant of
--      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
--      GNU General Public License for more details.
-- 
--      You should have received a copy of the GNU General Public License
--      along with this program;  if not, write to the Free Software
--      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
--
-- LOG
--     $Log:	public.h,v $
X * Revision 1.1  91/05/06  15:34:04  dvadura
X * dmake Release Version 3.7
X * 
*/
X
#ifndef _DMAKE_PUBLIC_h
#define _DMAKE_PUBLIC_h
X
void Infer_recipe ANSI((CELLPTR, CELLPTR));
int Make_targets ANSI(());
int Exec_commands ANSI((CELLPTR));
void Pop_dir ANSI((int));
void Append_line ANSI((char *, int, FILE *, char *, int, int));
void Stat_target ANSI((CELLPTR, int));
char * Expand ANSI((char *));
char * Apply_edit ANSI((char *, char *, char *, int, int));
void Map_esc ANSI((char *));
char* Apply_modifiers ANSI((int, char *));
char* Tokenize ANSI((char *, char *));
char * _strjoin ANSI((char *, char *, int, int));
char * _stradd ANSI((char *, char *, int));
char * _strapp ANSI((char *, char *));
char * _strdup ANSI((char *));
char * _strpbrk ANSI((char *, char *));
char * _strspn ANSI((char *, char *));
char * _strstr ANSI((char *, char *));
char * _substr ANSI((char *, char *));
uint16 Hash ANSI((char *, uint32 *));
HASHPTR Get_name ANSI((char *, HASHPTR *, int));
HASHPTR Search_table ANSI((HASHPTR *, char *, uint16 *, uint32 *));
HASHPTR Def_macro ANSI((char *, char *, int));
CELLPTR Def_cell ANSI((char *));
LINKPTR Add_prerequisite ANSI((CELLPTR, CELLPTR, int, int));
void Clear_prerequisites ANSI((CELLPTR));
int Test_circle ANSI((CELLPTR, int));
STRINGPTR Def_recipe ANSI((char *, STRINGPTR, int, int));
t_attr Rcp_attribute ANSI((char *));
int main ANSI((int, char **));
FILE * Openfile ANSI((char *, int, int));
FILE * Closefile ANSI(());
FILE * Search_file ANSI((char *, char **));
char * Filename ANSI(());
void No_ram ANSI(());
int Usage ANSI((int));
int Version ANSI(());
char * Get_suffix ANSI((char *));
char * Build_path ANSI((char *, char *));
void Make_rules ANSI(());
void Create_macro_vars ANSI(());
time_t Do_stat ANSI((char *, char *, char **));
int Do_touch ANSI((char *, char *, char **));
void Void_lib_cache ANSI((char *, char *));
time_t Do_time ANSI(());
int Do_cmnd ANSI((char *, int, int, CELLPTR, int, int, int));
char ** Pack_argv ANSI((int, int, char *));
char * Read_env_string ANSI((char *));
int Write_env_string ANSI((char *, char *));
void ReadEnvironment ANSI(());
SHAR_EOF
true || echo 'restore of dmake/os2/mscdos/public.h failed'
fi
echo 'End of part 26, continue with part 27'
echo 27 > _shar_seq_.tmp
exit 0

exit 0 # Just in case...
-- 
Kent Landfield                   INTERNET: kent at sparky.IMD.Sterling.COM
Sterling Software, IMD           UUCP:     uunet!sparky!kent
Phone:    (402) 291-8300         FAX:      (402) 291-4362
Please send comp.sources.misc-related mail to kent at uunet.uu.net.



More information about the Comp.sources.misc mailing list