dmake 3.6 patch 1 (part 03/04)

Dennis Vadura dvadura at watdragon.waterloo.edu
Thu Nov 1 12:28:28 AEST 1990


#!/bin/sh
# this is part 3 of a multipart archive
# do not concatenate these parts, unpack them in order with /bin/sh
# file dm36.p1 continued
#
CurArch=3
if test ! -r s2_seq_.tmp
then echo "Please unpack part 1 first!"
     exit 1; fi
( read Scheck
  if test "$Scheck" != $CurArch
  then echo "Please unpack part $Scheck next!"
       exit 1;
  else exit 0; fi
) < s2_seq_.tmp || exit 1
sed 's/^X//' << 'SHAR_EOF' >> dm36.p1
XX!    Two command interpretters are supported in the shipped startup.mk file,
XX!    command.com, and the MKS Korn shell.
XX  
XX!    dmake does not contain any builtin commands.  It gets all commands it
XX!    executes from an external file system.  It is therefore most useful if it
XX!    is used in conjunction with an environment similar to that provided by
XX!    the MKS Tool kit, or equivalent.
XX  
XX!    dmake now supports the MKS argument passing conventions.  The facility is
XX!    enabled by setting .MKSARGS:=1 and is set by default in the startup.mk file
XX!    if an MKS Korn shell is detected as being the active command interpretter.
XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/patchlvl.h	Sat Oct  6 12:04:26 1990
XX--- patchlvl.h	Mon Oct 22 17:36:08 1990
XX***************
XX*** 1,3 ****
XX  /* dmake patch level, reset to 1 for each new version release. */
XX  
XX! #define PATCHLEVEL 1
XX--- 1,3 ----
XX  /* dmake patch level, reset to 1 for each new version release. */
XX  
XX! #define PATCHLEVEL 2
XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/msdos/tccdos/tempnam.c	Sat Oct  6 12:05:12 1990
XX--- msdos/tccdos/tempnam.c	Sun Oct 28 23:16:19 1990
XX***************
XX*** 2,8 ****
XX  #include <stdio.h>
XX  #include <string.h>
XX  #include <stdlib.h>
XX! #include <time.h>
XX  
XX  #if defined(max)
XX  #   undef  max
XX--- 2,8 ----
XX  #include <stdio.h>
XX  #include <string.h>
XX  #include <stdlib.h>
XX! #include <dos.h>
XX  
XX  #if defined(max)
XX  #   undef  max
XX***************
XX*** 32,38 ****
XX     if( (tmpdir = getenv("TMPDIR")) != NULL ) tl = strlen(tmpdir);
XX     if( dir != NULL ) dl = strlen(dir);
XX  
XX!    if( (p = malloc((unsigned)(max(max(dl,tl),pl)+12))) == NULL )
XX       return(NULL);
XX  
XX     *p = '\0';
XX--- 32,38 ----
XX     if( (tmpdir = getenv("TMPDIR")) != NULL ) tl = strlen(tmpdir);
XX     if( dir != NULL ) dl = strlen(dir);
XX  
XX!    if( (p = malloc((unsigned)(max(max(dl,tl),pl)+13))) == NULL )
XX       return(NULL);
XX  
XX     *p = '\0';
XX***************
XX*** 49,61 ****
XX        (void)strncat(p, prefix, 2);
XX     }
XX  
XX!    sprintf( buf, "%ld", (long) time((time_t *)0) );
XX!    (void)strcat(p, buf+strlen(buf)-6 );
XX!    sprintf( buf, "%03d", count++ );
XX     q=p+strlen(p)-6;
XX!    *q++ = buf[0];
XX!    *q++ = buf[1];
XX!    *q++ = buf[2];
XX  
XX     if( (q = strrchr(p,'.')) != NULL ) *q = '\0';
XX  
XX--- 49,61 ----
XX        (void)strncat(p, prefix, 2);
XX     }
XX  
XX!    sprintf( buf, "%08x", _psp );
XX!    buf[6]='\0';
XX!    (void)strcat(p, buf );
XX!    sprintf( buf, "%04d", count++ );
XX     q=p+strlen(p)-6;
XX!    *q++ = buf[0]; *q++ = buf[1];
XX!    *q++ = buf[2]; *q++ = buf[3];
XX  
XX     if( (q = strrchr(p,'.')) != NULL ) *q = '\0';
XX  
XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/msdos/tccdos/startup.mk	Thu Oct  4 09:57:38 1990
XX--- msdos/tccdos/startup.mk	Sun Oct 28 23:16:19 1990
XX***************
XX*** 53,59 ****
XX     SHELLMETAS  := *"?<>|()&][$$\#`'
XX     GROUPSUFFIX := .ksh
XX     .MKSARGS    := yes
XX!    DIVFILE      = $(TMPFILE:s,/,${DIVSEP_shell_${DIVSHELL}})
XX     DIVSEP_shell_yes := \\\
XX     DIVSEP_shell_no  := \\
XX  .END
XX--- 53,59 ----
XX     SHELLMETAS  := *"?<>|()&][$$\#`'
XX     GROUPSUFFIX := .ksh
XX     .MKSARGS    := yes
XX!    DIVFILE      = $(TMPFILE:s,/,${DIVSEP_shell_${USESHELL}})
XX     DIVSEP_shell_yes := \\\
XX     DIVSEP_shell_no  := \\
XX  .END
XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/msdos/tccdos/objswp.rsp	Thu Oct  4 10:25:38 1990
XX--- msdos/tccdos/objswp.rsp	Tue Oct 30 16:28:47 1990
XX***************
XX*** 1,4 ****
XX! c:\lib.tcc\c0c.obj+
XX  objects\exec.obj+
XX  objects\infer.obj+
XX  objects\make.obj+
XX--- 1,4 ----
XX! c:\cc\tcc\lib\c0c.obj+
XX  objects\exec.obj+
XX  objects\infer.obj+
XX  objects\make.obj+
XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/msdos/tccdos/obj.rsp	Thu Oct  4 10:25:24 1990
XX--- msdos/tccdos/obj.rsp	Tue Oct 30 16:27:56 1990
XX***************
XX*** 1,4 ****
XX! c:\lib.tcc\c0c.obj+
XX  objects\infer.obj+
XX  objects\make.obj+
XX  objects\stat.obj+
XX--- 1,4 ----
XX! c:\cc\tcc\lib\c0c.obj+
XX  objects\infer.obj+
XX  objects\make.obj+
XX  objects\stat.obj+
XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/msdos/tccdos/libswp.rsp	Thu Oct  4 10:25:38 1990
XX--- msdos/tccdos/libswp.rsp	Tue Oct 30 16:28:48 1990
XX***************
XX*** 1 ****
XX! c:\lib.tcc\cc
XX--- 1 ----
XX! c:\cc\tcc\lib\cc
XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/msdos/tccdos/lib.rsp	Thu Oct  4 10:25:24 1990
XX--- msdos/tccdos/lib.rsp	Tue Oct 30 16:27:57 1990
XX***************
XX*** 1 ****
XX! c:\lib.tcc\cc
XX--- 1 ----
XX! c:\cc\tcc\lib\cc
XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/msdos/tccdos/config.mk	Thu Oct  4 09:27:28 1990
XX--- msdos/tccdos/config.mk	Thu Oct 25 20:08:30 1990
XX***************
XX*** 13,20 ****
XX  .EXPORT : TMPDIR
XX  
XX  # Definition of macros for library, and C startup code.
XX! LDLIBS	        = c:/lib.tcc/c$(MODEL)
XX! CSTARTUP	= c:/lib.tcc/c0$(MODEL).obj
XX  
XX  # The following sources are required for TURBO C 2.0
XX  OSR_SRC = tempnam.c utime.c
XX--- 13,20 ----
XX  .EXPORT : TMPDIR
XX  
XX  # Definition of macros for library, and C startup code.
XX! LDLIBS	        = c:/cc/tcc/lib/c$(MODEL)
XX! CSTARTUP	= c:/cc/tcc/lib/c0$(MODEL).obj
XX  
XX  # The following sources are required for TURBO C 2.0
XX  OSR_SRC = tempnam.c utime.c
XX***************
XX*** 33,38 ****
XX--- 33,42 ----
XX  #CFLAGS += -1
XX  CFLAGS  += -I$(osrdir) -f- -d -O -N- -w-nod $(C_$(MODEL))
XX  ASFLAGS += -t -mx $(S_$(MODEL))
XX+ 
XX+ # Debugging information for Turbo-C
XX+ DB_CFLAGS  += -v
XX+ DB_LDFLAGS += /v
XX  
XX  # See if we modify anything in the lower levels.
XX  .IF $(OSENVIRONMENT) != $(NULL)
XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/msdos/switchar.c	Sat Oct  6 12:05:32 1990
XX--- msdos/switchar.c	Mon Oct 22 16:52:57 1990
XX***************
XX*** 1,11 ****
XX  /*
XX  ** return switch char
XX  */
XX! #if defined(OS2)
XX  #include <stdlib.h>
XX! #else
XX  #include <dos.h>
XX! #endif /* OS2 */
XX  #include <stdio.h>
XX  #include "stdmacs.h"
XX  
XX--- 1,12 ----
XX  /*
XX  ** return switch char
XX  */
XX! #if defined(OS2) || defined(_MSC_VER)
XX  #include <stdlib.h>
XX! #endif
XX! #if !defined(OS2)
XX  #include <dos.h>
XX! #endif /* !OS2 */
XX  #include <stdio.h>
XX  #include "stdmacs.h"
XX  
XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/msdos/spawn.c	Sat Oct  6 12:05:46 1990
XX--- msdos/spawn.c	Sun Oct 28 23:16:18 1990
XX***************
XX*** 1,4 ****
XX! /* RCS      -- $Header: /u2/dvadura/src/generic/dmake/src/msdos/RCS/spawn.c,v 1.1 90/10/06 12:05:46 dvadura Exp $
XX  -- SYNOPSIS -- spawnvpe code to emulate spawnvpe call common to DOS compilers.
XX  -- 
XX  -- DESCRIPTION
XX--- 1,4 ----
XX! /* RCS      -- $Header: /u2/dvadura/src/generic/dmake/src/msdos/RCS/spawn.c,v 1.1 90/10/06 12:05:46 dvadura Exp Locker: dvadura $
XX  -- SYNOPSIS -- spawnvpe code to emulate spawnvpe call common to DOS compilers.
XX  -- 
XX  -- DESCRIPTION
XX***************
XX*** 5,11 ****
XX  --	This implementation is further integrated into dmake in that it
XX  --	determines the program to execute and if it's extension is either
XX  --	.bat or .ksh it executes it using the appropriate shell based on the
XX! --	setting of .MKSARGS.  Additionally if .MKSARGS is set then in addition
XX  --	to the command tail getting built the arguments are also passed in the
XX  --	environment pursuant to the published MKS argument passing conventions.
XX  --	If the variable Swap_on_exec is set and the DOS OS supports it
XX--- 5,11 ----
XX  --	This implementation is further integrated into dmake in that it
XX  --	determines the program to execute and if it's extension is either
XX  --	.bat or .ksh it executes it using the appropriate shell based on the
XX! --	setting of .MKSARGS.  If .MKSARGS is set then in addition
XX  --	to the command tail getting built the arguments are also passed in the
XX  --	environment pursuant to the published MKS argument passing conventions.
XX  --	If the variable Swap_on_exec is set and the DOS OS supports it
XX***************
XX*** 51,57 ****
XX  
XX  #include <stdio.h>
XX  #include <stdlib.h>
XX! #include <process.h>
XX  #include <dos.h>
XX  #include <errno.h>
XX  #include <string.h>
XX--- 51,69 ----
XX  
XX  #include <stdio.h>
XX  #include <stdlib.h>
XX! 
XX! #if defined(_MSC_VER) && _MSC_VER >= 600
XX! 	/* Ignore the MSC 6.0 library's "const"-riddled prototype
XX! 	   for spawnvpe.
XX! 	*/
XX! # define spawnvpe _ignore_msc_spawnvpe
XX! # include <process.h>
XX! # undef spawnvpe
XX!   int spawnvpe(int, char *, char **, char **);
XX! #else
XX! # include <process.h>
XX! #endif
XX! 
XX  #include <dos.h>
XX  #include <errno.h>
XX  #include <string.h>
XX***************
XX*** 61,76 ****
XX  #include "sysintf.h"
XX  #include "extern.h"
XX  
XX- #ifdef DEBUG
XX- static void _dump_blocks();
XX- #endif
XX- 
XX  extern int Interrupted;
XX  
XX  /* variables and functions local to this file */
XX  static char     *_findexec ANSI((char *, int *));
XX  static char    **_getpath ANSI(());
XX- static void      _dos_free  ANSI((char far *));
XX  static char far *_dos_alloc ANSI((uint16));
XX  
XX  static uint16 _swap_mask;
XX--- 73,83 ----
XX***************
XX*** 89,100 ****
XX  /* How to make a long pointer */
XX  #define CF(x) (char far *)x
XX  
XX- #if defined(_MSC60_)
XX- #define CONST const
XX- #else
XX- #define CONST
XX- #endif
XX- 
XX  int
XX  spawnvpe(mode, program, av, ep)/*
XX  =================================
XX--- 96,101 ----
XX***************
XX*** 104,116 ****
XX     path and to invoke the process. */
XX  int  mode;
XX  char *program;
XX! CONST char **av;
XX! CONST char **ep;
XX  {
XX     char **envp = ep;		/* Cause we are going to mess with it. */
XX     char **argv = av;		/* Same with this one.		       */
XX     char cmdtail[129];
XX-    char far *envsave;
XX     char far *environment;
XX     char *tail;
XX     char *swptmp;
XX--- 105,116 ----
XX     path and to invoke the process. */
XX  int  mode;
XX  char *program;
XX! char **av;
XX! char **ep;
XX  {
XX     char **envp = ep;		/* Cause we are going to mess with it. */
XX     char **argv = av;		/* Same with this one.		       */
XX     char cmdtail[129];
XX     char far *environment;
XX     char *tail;
XX     char *swptmp;
XX***************
XX*** 193,199 ****
XX     for(; *envp && **envp == '~'; envp++ );
XX     for(i=0, envsize=_mks_args?cmdsize:1; envp[i] != NIL(char); i++ )
XX        envsize += strlen(envp[i]) + 1;
XX-    envsize += strlen(program)+3;	/* Save space for program name	*/
XX  
XX     /* Set up temporary file for swapping */
XX     swptmp = (doswap=Swap_on_exec&_swap_mask)?tempnam(NIL(char),"mk"):""; 
XX--- 193,198 ----
XX***************
XX*** 203,213 ****
XX      * place in the executable image so that when we swap out the environment
XX      * is still present.  Use
XX      *    _dos_alloc
XX!     *    _dos_free
XX!     * to allocate and free the environment segment */
XX  
XX-    envsave = environment = _dos_alloc( envsize = ((envsize+16)>>4) );
XX- 
XX     /* First copy the arguments preceeded by ~ character if we are using
XX      * MKS style argument passing */
XX     if( _mks_args )
XX--- 202,211 ----
XX      * place in the executable image so that when we swap out the environment
XX      * is still present.  Use
XX      *    _dos_alloc
XX!     * to allocate the environment segment.  The segment is freed by the call
XX!     * to exec. */
XX!    environment = _dos_alloc( envsize = ((envsize+16)>>4) );
XX  
XX     /* First copy the arguments preceeded by ~ character if we are using
XX      * MKS style argument passing */
XX     if( _mks_args )
XX***************
XX*** 223,247 ****
XX        register char *p = *envp;
XX        while( *environment++ = *p++ );		/* Far dest, poss near ptr */
XX     }
XX  
XX-    /* Terminate the environment with a NULL char, and then a word containing
XX-     * the number 1 (why? beats me, but probably has something to do with
XX-     * sticking the program name at the end of the environment, and is possibly
XX-     * headed for an extension to argument passing conventions in future DOS
XX-     * versions.  For now all they have is the name of the program. */
XX-    *environment++ = '\0'; *environment++ = '\0'; *environment++ = '\1';
XX-    {
XX-       register char *p = program;
XX-       while( *environment++ = *p++ );		/* Far dest, poss near ptr */
XX-    }
XX- 
XX     /* Clear the interrupted flag, and exec  */
XX     Interrupted = 0;
XX!    i = exec(doswap,CF(program),CF(cmdtail),FP_SEG(environment),envsize,
XX!             CF(swptmp));
XX  
XX!    /* Now free the environment segment */
XX!    _dos_free( envsave );
XX     if( doswap ) FREE(swptmp);
XX  
XX     /* If swap was interrupted then quit properly from dmake. */
XX--- 221,233 ----
XX        register char *p = *envp;
XX        while( *environment++ = *p++ );		/* Far dest, poss near ptr */
XX     }
XX+    *environment = '\0';
XX  
XX     /* Clear the interrupted flag, and exec  */
XX     Interrupted = 0;
XX!    i = exec(doswap,CF(program),CF(cmdtail),FP_SEG(environment),CF(swptmp));
XX  
XX!    /* Now free the temporary file name */
XX     if( doswap ) FREE(swptmp);
XX  
XX     /* If swap was interrupted then quit properly from dmake. */
XX***************
XX*** 387,398 ****
XX  uint16 size;
XX  {
XX     union REGS r;
XX-    union REGS t;
XX  
XX-    r.x.ax = 0x5801;
XX-    r.x.bx = 0x0002;
XX-    intdos( &r, &r );
XX- 
XX     r.h.ah = 0x48;
XX     r.x.bx = size;
XX  
XX--- 373,379 ----
XX***************
XX*** 399,482 ****
XX     intdos( &r, &r );
XX     if( r.x.cflag ) No_ram();
XX     
XX-    t.x.ax = 0x5801;
XX-    t.x.bx = 0x0000;
XX-    intdos( &t, &t );
XX- 
XX     return( (char far *) MK_FP(r.x.ax, 0) );
XX  }
XX- 
XX- 
XX- #if defined(_MSC60_)
XX- #pragma pack(1)
XX- #endif
XX- typedef struct {
XX-    char 	 mode;
XX-    unsigned int  owner;
XX-    unsigned int  size;
XX- } MB, *MBPTR;
XX- #if defined(_MSC60_)
XX- #pragma pack()
XX- #endif
XX- 
XX- static void
XX- _dos_free( pblock )/*
XX- =====================
XX-    ALERT!!!! Major GROSSNESS HERE!!!!  This routine calls DOS free to free
XX-    a block of memory and then walks the DOS allocation chain from the current
XX-    psp forward and coallesces any free blocks it finds into one large free
XX-    block.  This prevents the No more memory error that was being caused by
XX-    long makes causing fragmentation of DOS memory.  I can probably avoid this
XX-    by using some weird combination of DOS calls, but I would have to figger
XX-    out what calls under DOS cause the coalesce to happen.  Haven't found this
XX-    so far so, for now, I will just go with this.  It work fine on my box :-)*/
XX- char far *pblock;
XX- {
XX-    union REGS r;
XX-    struct SREGS s;
XX-    MB far *p;
XX-    MB far *t;
XX-    int flag = 0;
XX- 
XX-    s.es = FP_SEG(pblock);
XX-    r.h.ah = 0x49;
XX-    intdosx( &r, &r, &s );
XX-    if( r.x.cflag ) Fatal( "FREE SEG" );
XX- 
XX-    p = (MB far *) MK_FP(_psp-1, 0);
XX- 
XX-    while(1) {
XX-       if( p->owner == 0 )
XX-          if( !flag ) {
XX- 	    t = p;
XX- 	    flag++;
XX- 	 }
XX- 	 else if( FP_SEG(t)+t->size+1 == FP_SEG(p) )
XX- 	    t->size += p->size+1;
XX- 
XX-       if( p->mode == 'Z' ) break;
XX-       p = (MB far *) MK_FP(FP_SEG(p)+p->size+1, 0);
XX-    }
XX- 
XX- }
XX- 
XX- 
XX- #ifdef DBUG
XX- static void
XX- _dump_blocks()/*
XX- ================
XX-    Walk DOS memory blocks and dump their headers. */
XX- {
XX-    MB far *p;
XX- 
XX-    p = (MB far *) MK_FP( _psp-1, 0 );
XX- 
XX-    while(1) {
XX-       printf( "%c 0x%04x 0x%04x 0x%04x:%d\n", p->mode, FP_SEG(p), p->owner,
XX-               p->size, p->size );
XX- 
XX-       if( p->mode == 'Z' ) break;
XX-       p = (MB far *) MK_FP( FP_SEG(p)+p->size+1, 0 );
XX-    }
XX- }
XX- #endif
XX--- 380,384 ----
XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/msdos/runargv.c	Sat Oct  6 12:05:30 1990
XX--- msdos/runargv.c	Mon Oct 22 16:53:11 1990
XX***************
XX*** 1,4 ****
XX! /* RCS      -- $Header: /u2/dvadura/src/generic/dmake/src/msdos/RCS/runargv.c,v 1.1 90/10/06 12:05:30 dvadura Exp $
XX  -- SYNOPSIS -- run a sub process.
XX  -- 
XX  -- DESCRIPTION
XX--- 1,4 ----
XX! /* RCS      -- $Header: /u2/dvadura/src/generic/dmake/src/msdos/RCS/runargv.c,v 1.1 90/10/06 12:05:30 dvadura Exp Locker: dvadura $
XX  -- SYNOPSIS -- run a sub process.
XX  -- 
XX  -- DESCRIPTION
XX***************
XX*** 52,58 ****
XX--- 52,60 ----
XX  int	shell;
XX  char	*cmd;
XX  {
XX+ #if ! defined(_MSC_VER)
XX     extern char **environ;
XX+ #endif
XX     int status;
XX     char **argv;
XX  
XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/msdos/mscdos/tempnam.c	Sat Oct  6 12:05:08 1990
XX--- msdos/mscdos/tempnam.c	Sun Oct 28 23:16:18 1990
XX***************
XX*** 2,8 ****
XX  #include <stdio.h>
XX  #include <string.h>
XX  #include <stdlib.h>
XX! #include <time.h>
XX  
XX  #if defined(max)
XX  #   undef  max
XX--- 2,8 ----
XX  #include <stdio.h>
XX  #include <string.h>
XX  #include <stdlib.h>
XX! #include <dos.h>
XX  
XX  #if defined(max)
XX  #   undef  max
XX***************
XX*** 14,20 ****
XX  int _access();
XX  
XX  /* MSC stdio.h defines P_tmpdir, so let's undo it here */
XX! /* Under DOS leave the default tmpdir pointing here!   */
XX  #ifdef P_tmpdir
XX  #undef P_tmpdir
XX  #endif
XX--- 14,20 ----
XX  int _access();
XX  
XX  /* MSC stdio.h defines P_tmpdir, so let's undo it here */
XX! /* Under DOS leave the default tmpdir pointing here!		*/
XX  #ifdef P_tmpdir
XX  #undef P_tmpdir
XX  #endif
XX***************
XX*** 28,34 ****
XX     static         int count = 0;
XX     register char *p, *q, *tmpdir;
XX     int            tl=0, dl=0, pl;
XX-    time_t	  ctm;
XX     char		  buf[30];
XX  
XX     pl = strlen(P_tmpdir);
XX--- 28,33 ----
XX***************
XX*** 36,42 ****
XX     if( (tmpdir = getenv("TMPDIR")) != NULL ) tl = strlen(tmpdir);
XX     if( dir != NULL ) dl = strlen(dir);
XX  
XX!    if( (p = malloc((unsigned)(max(max(dl,tl),pl)+12))) == NULL )
XX       return(NULL);
XX  
XX     *p = '\0';
XX--- 35,41 ----
XX     if( (tmpdir = getenv("TMPDIR")) != NULL ) tl = strlen(tmpdir);
XX     if( dir != NULL ) dl = strlen(dir);
XX  
XX!    if( (p = malloc((unsigned)(max(max(dl,tl),pl)+13))) == NULL )
XX       return(NULL);
XX  
XX     *p = '\0';
XX***************
XX*** 53,65 ****
XX        (void)strncat(p, prefix, 2);
XX     }
XX  
XX!    sprintf( buf, "%ld", (long) time((time_t *)0) );
XX!    (void)strcat(p, buf+strlen(buf)-6 );
XX!    sprintf( buf, "%03d", count++ );
XX     q=p+strlen(p)-6;
XX!    *q++ = buf[0];
XX!    *q++ = buf[1];
XX!    *q++ = buf[2];
XX  
XX     if( (q = strrchr(p,'.')) != NULL ) *q = '\0';
XX  
XX--- 52,64 ----
XX        (void)strncat(p, prefix, 2);
XX     }
XX  
XX!    sprintf( buf, "%08x", _psp );
XX!    buf[6]='\0';
XX!    (void)strcat(p, buf );
XX!    sprintf( buf, "%04d", count++ );
XX     q=p+strlen(p)-6;
XX!    *q++ = buf[0]; *q++ = buf[1];
XX!    *q++ = buf[2]; *q++ = buf[3];
XX  
XX     if( (q = strrchr(p,'.')) != NULL ) *q = '\0';
XX  
XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/msdos/mscdos/startup.mk	Thu Oct  4 09:56:54 1990
XX--- msdos/mscdos/startup.mk	Sun Oct 28 23:16:17 1990
XX***************
XX*** 53,59 ****
XX     SHELLMETAS  := *"?<>|()&][$$\#`'
XX     GROUPSUFFIX := .ksh
XX     .MKSARGS    := yes
XX!    DIVFILE      = $(TMPFILE:s,/,${DIVSEP_shell_${DIVSHELL}})
XX     DIVSEP_shell_yes := \\\
XX     DIVSEP_shell_no  := \\
XX  .END
XX--- 53,59 ----
XX     SHELLMETAS  := *"?<>|()&][$$\#`'
XX     GROUPSUFFIX := .ksh
XX     .MKSARGS    := yes
XX!    DIVFILE      = $(TMPFILE:s,/,${DIVSEP_shell_${USESHELL}})
XX     DIVSEP_shell_yes := \\\
XX     DIVSEP_shell_no  := \\
XX  .END
XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/msdos/mscdos/mk60swp.bat	Thu Oct  4 10:26:28 1990
XX--- msdos/mscdos/mk60swp.bat	Tue Oct 30 16:33:07 1990
XX***************
XX*** 1,64 ****
XX  mkdir objects
XX  masm -t -mx -Dmcompact msdos\exec.asm;
XX  mv exec.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ infer.c
XX  mv infer.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ make.c
XX  mv make.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ stat.c
XX  mv stat.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ expand.c
XX  mv expand.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ string.c
XX  mv string.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ hash.c
XX  mv hash.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ dag.c
XX  mv dag.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ dmake.c
XX  mv dmake.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ path.c
XX  mv path.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ imacs.c
XX  mv imacs.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ sysintf.c
XX  mv sysintf.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ parse.c
XX  mv parse.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ getinp.c
XX  mv getinp.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ quit.c
XX  mv quit.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ basename.c
XX  mv basename.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ dump.c
XX  mv dump.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ macparse.c
XX  mv macparse.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ rulparse.c
XX  mv rulparse.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ percent.c
XX  mv percent.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ function.c
XX  mv function.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\ruletab.c
XX  mv ruletab.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\dirbrk.c
XX  mv dirbrk.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\runargv.c
XX  mv runargv.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\arlib.c
XX  mv arlib.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\_chdir.c
XX  mv _chdir.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\switchar.c
XX  mv switchar.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\rmprq.c
XX  mv rmprq.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\find.c
XX  mv find.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\spawn.c
XX  mv spawn.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\mscdos\tempnam.c
XX  mv tempnam.obj objects
XX! link @msdos\mscdos\obj60swp.rsp,dmake.exe,NUL.MAP;
XX--- 1,64 ----
XX  mkdir objects
XX  masm -t -mx -Dmcompact msdos\exec.asm;
XX  mv exec.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs infer.c
XX  mv infer.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs make.c
XX  mv make.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs stat.c
XX  mv stat.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs expand.c
XX  mv expand.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs string.c
XX  mv string.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs hash.c
XX  mv hash.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs dag.c
XX  mv dag.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs dmake.c
XX  mv dmake.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs path.c
XX  mv path.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs imacs.c
XX  mv imacs.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs sysintf.c
XX  mv sysintf.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs parse.c
XX  mv parse.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs getinp.c
XX  mv getinp.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs quit.c
XX  mv quit.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs basename.c
XX  mv basename.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs dump.c
XX  mv dump.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs macparse.c
XX  mv macparse.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs rulparse.c
XX  mv rulparse.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs percent.c
XX  mv percent.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs function.c
XX  mv function.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\ruletab.c
XX  mv ruletab.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\dirbrk.c
XX  mv dirbrk.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\runargv.c
XX  mv runargv.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\arlib.c
XX  mv arlib.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\_chdir.c
XX  mv _chdir.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\switchar.c
XX  mv switchar.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\rmprq.c
XX  mv rmprq.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\find.c
XX  mv find.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\spawn.c
XX  mv spawn.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\mscdos\tempnam.c
XX  mv tempnam.obj objects
XX! link @msdos\mscdos\objswp.rsp,dmake.exe,NUL.MAP;
XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/msdos/mscdos/mk60.bat	Thu Oct  4 10:26:00 1990
XX--- msdos/mscdos/mk60.bat	Tue Oct 30 16:32:40 1990
XX***************
XX*** 1,58 ****
XX  mkdir objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ infer.c
XX  mv infer.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ make.c
XX  mv make.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ stat.c
XX  mv stat.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ expand.c
XX  mv expand.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ string.c
XX  mv string.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ hash.c
XX  mv hash.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ dag.c
XX  mv dag.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ dmake.c
XX  mv dmake.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ path.c
XX  mv path.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ imacs.c
XX  mv imacs.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ sysintf.c
XX  mv sysintf.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ parse.c
XX  mv parse.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ getinp.c
XX  mv getinp.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ quit.c
XX  mv quit.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ basename.c
XX  mv basename.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ dump.c
XX  mv dump.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ macparse.c
XX  mv macparse.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ rulparse.c
XX  mv rulparse.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ percent.c
XX  mv percent.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ function.c
XX  mv function.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\ruletab.c
XX  mv ruletab.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\dirbrk.c
XX  mv dirbrk.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\runargv.c
XX  mv runargv.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\arlib.c
XX  mv arlib.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\_chdir.c
XX  mv _chdir.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\switchar.c
XX  mv switchar.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\rmprq.c
XX  mv rmprq.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -D__STDC__=1 -DM_I86=1 -mc -Osecgle -Gs -D_MSC60_ msdos\mscdos\tempnam.c
XX  mv tempnam.obj objects
XX! link @msdos\mscdos\obj60.rsp,dmake.exe,NUL.MAP;
XX--- 1,58 ----
XX  mkdir objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs infer.c
XX  mv infer.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs make.c
XX  mv make.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs stat.c
XX  mv stat.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs expand.c
XX  mv expand.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs string.c
XX  mv string.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs hash.c
XX  mv hash.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs dag.c
XX  mv dag.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs dmake.c
XX  mv dmake.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs path.c
XX  mv path.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs imacs.c
XX  mv imacs.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs sysintf.c
XX  mv sysintf.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs parse.c
XX  mv parse.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs getinp.c
XX  mv getinp.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs quit.c
XX  mv quit.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs basename.c
XX  mv basename.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs dump.c
XX  mv dump.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs macparse.c
XX  mv macparse.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs rulparse.c
XX  mv rulparse.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs percent.c
XX  mv percent.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs function.c
XX  mv function.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\ruletab.c
XX  mv ruletab.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\dirbrk.c
XX  mv dirbrk.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\runargv.c
XX  mv runargv.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\arlib.c
XX  mv arlib.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\_chdir.c
XX  mv _chdir.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\switchar.c
XX  mv switchar.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\rmprq.c
XX  mv rmprq.obj objects
XX! cl -c -DHELP -I. -Icommon -Imsdos -Imsdos\mscdos -AC -D__STDC__=1 -Osecgl -Gs msdos\mscdos\tempnam.c
XX  mv tempnam.obj objects
XX! link @msdos\mscdos\obj.rsp,dmake.exe,NUL.MAP;
XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/msdos/mscdos/config.mk	Thu Oct  4 09:27:58 1990
XX--- msdos/mscdos/config.mk	Mon Oct 29 14:45:10 1990
XX***************
XX*** 20,52 ****
XX  SRC += $(OSR_SRC)
XX  .SOURCE.h : $(osrdir)
XX  
XX! # Local configuration modifications for CFLAGS, there's local BSD includes
XX! # too.
XX  # If you have a 286, you can use -G2 or appropriate to get better code, 
XX! # in that case uncomment the line below.
XX  #CFLAGS += -G2
XX- CFLAGS += -I$(osrdir) -D__STDC__=1 -DM_I86=1 $(C_$(MODEL))
XX  ASFLAGS += -t -mx $(S_$(MODEL))
XX  
XX  # Redefine this, it isn't needed!
XX  LDTAIL = ;
XX  
XX! # Debugging Flags
XX! DB_CFLAGS     += -Zi
XX! DB_LDFLAGS    += /co /li /map
XX! DB_LDLIBS     +=
XX  
XX! # NO Debug flags, MSC 6.0 flags, set the environment variable MSC_VER to be
XX! # 6.0 to get these by default when you make dmake using 'dmake'.
XX  .IMPORT .IGNORE : MSC_VER
XX! .IF $(MSC_VER) == 6.0
XX!    NDB_CFLAGS    += -Osecgle -Gs -D_MSC60_
XX!    DB_CFLAGS     += -D_MSC60_
XX!    NDB_LDFLAGS   += /exe /packc /batch
XX!    NDB_LDLIBS    +=
XX  .ELSE
XX!    NDB_CFLAGS    += -Zp
XX!    DB_CFLAGS     += -Zp
XX  .END
XX  
XX  # See if we modify anything in the lower levels.
XX--- 20,69 ----
XX  SRC += $(OSR_SRC)
XX  .SOURCE.h : $(osrdir)
XX  
XX! # Local configuration modifications for CFLAGS 
XX  # If you have a 286, you can use -G2 or appropriate to get better code, 
XX! # in that case uncomment the line below.  (You can also simply set
XX! # it in the CL environment variable.)
XX  #CFLAGS += -G2
XX  ASFLAGS += -t -mx $(S_$(MODEL))
XX  
XX  # Redefine this, it isn't needed!
XX  LDTAIL = ;
XX  
XX! # Debugging libraries
XX! DB_LDFLAGS += /co /li /map
XX! DB_LDLIBS  +=
XX  
XX! # NO Debug MSC flags:
XX! # Set the environment variable MSC_VER to be one of 4.0, 5.0, 5.1, or 6.0
XX! # to get these by default when you make dmake using 'dmake'.
XX! #
XX! # Setting MSC_VER to one of the above sets the variable _MSC_VER appropriately
XX! # and sets the flags appropriately.
XX! 
XX  .IMPORT .IGNORE : MSC_VER
XX! MSC_VER *= 6.0			  # If unset, assume 6.0 by default.
XX! 
XX! .IF $(MSC_VER) == 4.0
XX!    CFLAGS      += -I$(osrdir) $(C_$(MODEL):s/A/m/)
XX!    CFLAGS      += -DM_I86=1	  # 5.0+ define this automatically
XX!    CFLAGS      += -D__STDC__=1    # 5.0, 5.1, but not 6.0 do this automatically
XX!    NDB_CFLAGS  +=
XX!    DB_CFLAGS   += -Zi
XX  .ELSE
XX!    DB_CFLAGS   += -Zi
XX!    CFLAGS      += -I$(osrdir) $(C_$(MODEL))
XX!    .IF $(MSC_VER) != 6.0
XX!       # For 5.0 and 5.1, we define _MSC_VER=500 or 510
XX!       CFLAGS      += -D_MSC_VER=$(MSC_VER:s,.,,)0
XX!       NDB_CFLAGS  += -Oscl -Gs
XX!    .ELSE
XX!       # Microsoft C 6.0 auto defines _MSC_VER=600, but not __STDC__
XX!       CFLAGS      += -D__STDC__=1 # incredibly not auto done by 6.0
XX!       NDB_CFLAGS  += -Osecgl -Gs
XX!    .END
XX!    NDB_LDFLAGS += /exe /packc /batch
XX!    NDB_LDLIBS  +=
XX  .END
XX  
XX  # See if we modify anything in the lower levels.
XX***************
XX*** 55,63 ****
XX  .END
XX  
XX  C_s =
XX! C_m = -mm
XX! C_c = -mc
XX! C_l = -ml
XX  
XX  S_s = -Dmsmall
XX  S_m = -Dmmedium
XX--- 72,80 ----
XX  .END
XX  
XX  C_s =
XX! C_m = -AM
XX! C_c = -AC
XX! C_l = -AL
XX  
XX  S_s = -Dmsmall
XX  S_m = -Dmmedium
XX*** /u2/dvadura/src/generic/dmake/src-patchlvl1/msdos/mscdos/config.h	Sat Oct  6 12:05:06 1990
XX--- msdos/mscdos/config.h	Mon Oct 22 17:13:51 1990
SHAR_EOF
echo "End of part 3, continue with part 4"
echo "4" > s2_seq_.tmp
exit 0
-- 
--------------------------------------------------------------------------------
"This is almost worth the HIGH blood pressure!" he  |Dennis Vadura
thought as yet another mosquito exploded.-R.Patching|dvadura at dragon.uwaterloo.ca
================================================================================



More information about the Comp.sources.bugs mailing list