home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume14 / dmake / patch01pt3 < prev    next >
Encoding:
Text File  |  1990-08-03  |  38.9 KB  |  984 lines

  1. Newsgroups: comp.sources.misc
  2. subject: v14i048: dmake version 3.5 patch 1 part 03/04
  3. From: dvadura@watdragon.waterloo.edu (Dennis Vadura)
  4. Sender: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc)
  5.  
  6. Posting-number: Volume 14, Issue 48
  7. Submitted-by: dvadura@watdragon.waterloo.edu (Dennis Vadura)
  8. Archive-name: dmake/patch01pt3
  9.  
  10. #!/bin/sh
  11. # this is part 3 of a multipart archive
  12. # do not concatenate these parts, unpack them in order with /bin/sh
  13. # file dmake-3.5-patch1 continued
  14. #
  15. CurArch=3
  16. if test ! -r s2_seq_.tmp
  17. then echo "Please unpack part 1 first!"
  18.      exit 1; fi
  19. ( read Scheck
  20.   if test "$Scheck" != $CurArch
  21.   then echo "Please unpack part $Scheck next!"
  22.        exit 1;
  23.   else exit 0; fi
  24. ) < s2_seq_.tmp || exit 1
  25. sed 's/^X//' << 'SHAR_EOF' >> dmake-3.5-patch1
  26. XX*** /u2/dvadura/src/generic/dmake/src.dist/unix/sysintf.h    Mon Jul 30 11:50:41 1990
  27. XX--- unix/sysintf.h    Tue Jul 31 13:35:34 1990
  28. XX***************
  29. XX*** 12,18 ****
  30. XX  /*
  31. XX  ** standard C items
  32. XX  */
  33. XX! #include "macros.h"
  34. XX  
  35. XX  /*
  36. XX  ** DOS interface standard items
  37. XX--- 12,18 ----
  38. XX  /*
  39. XX  ** standard C items
  40. XX  */
  41. XX! #include "stdmacs.h"
  42. XX  
  43. XX  /*
  44. XX  ** DOS interface standard items
  45. XX*** /u2/dvadura/src/generic/dmake/src.dist/unix/config.mk    Mon Jul 30 11:50:46 1990
  46. XX--- unix/config.mk    Tue Jul 31 10:45:52 1990
  47. XX***************
  48. XX*** 25,31 ****
  49. XX  CFLAGS         += -I$(OS)
  50. XX  
  51. XX  # Sources that must be defined for each different version
  52. XX! OSSRC := arlib.c dirbrk.c explode.c rmprq.c ruletab.c runargv.c
  53. XX  SRC  += $(OSSRC)
  54. XX  .SETDIR=$(OS) : $(OSSRC)
  55. XX  
  56. XX--- 25,31 ----
  57. XX  CFLAGS         += -I$(OS)
  58. XX  
  59. XX  # Sources that must be defined for each different version
  60. XX! OSSRC := arlib.c dirbrk.c explode.c rmprq.c ruletab.c
  61. XX  SRC  += $(OSSRC)
  62. XX  .SETDIR=$(OS) : $(OSSRC)
  63. XX  
  64. XX*** /u2/dvadura/src/generic/dmake/src.dist/unix/bsd43/uw/make.sh    Mon Jul 30 11:50:48 1990
  65. XX--- unix/bsd43/uw/make.sh    Tue Jul 31 20:26:06 1990
  66. XX***************
  67. XX*** 1,60 ****
  68. XX  mkdir objects
  69. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O infer.c
  70. XX! mv infer.o objects
  71. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O make.c
  72. XX! mv make.o objects
  73. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O stat.c
  74. XX! mv stat.o objects
  75. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O expand.c
  76. XX! mv expand.o objects
  77. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O string.c
  78. XX! mv string.o objects
  79. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O hash.c
  80. XX! mv hash.o objects
  81. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O dag.c
  82. XX! mv dag.o objects
  83. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O dmake.c
  84. XX! mv dmake.o objects
  85. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O path.c
  86. XX! mv path.o objects
  87. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O imacs.c
  88. XX! mv imacs.o objects
  89. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O sysintf.c
  90. XX! mv sysintf.o objects
  91. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O parse.c
  92. XX! mv parse.o objects
  93. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O getinp.c
  94. XX! mv getinp.o objects
  95. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O quit.c
  96. XX! mv quit.o objects
  97. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O basename.c
  98. XX! mv basename.o objects
  99. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O dump.c
  100. XX! mv dump.o objects
  101. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O macparse.c
  102. XX! mv macparse.o objects
  103. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O rulparse.c
  104. XX! mv rulparse.o objects
  105. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O percent.c
  106. XX! mv percent.o objects
  107. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/arlib.c
  108. XX! mv arlib.o objects
  109. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/dirbrk.c
  110. XX! mv dirbrk.o objects
  111. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/explode.c
  112. XX! mv explode.o objects
  113. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/rmprq.c
  114. XX! mv rmprq.o objects
  115. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/ruletab.c
  116. XX! mv ruletab.o objects
  117. XX! cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/runargv.c
  118. XX! mv runargv.o objects
  119. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/putenv.c
  120. XX! mv putenv.o objects
  121. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/tempnam.c
  122. XX! mv tempnam.o objects
  123. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/utime.c
  124. XX! mv utime.o objects
  125. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/setvbuf.c
  126. XX! mv setvbuf.o objects
  127. XX! cc  -o dmake  objects/infer.o objects/make.o objects/stat.o objects/expand.o objects/string.o objects/hash.o objects/dag.o objects/dmake.o objects/path.o objects/imacs.o objects/sysintf.o objects/parse.o objects/getinp.o objects/quit.o objects/basename.o objects/dump.o objects/macparse.o objects/rulparse.o objects/percent.o objects/arlib.o objects/dirbrk.o objects/explode.o objects/rmprq.o objects/ruletab.o objects/runargv.o objects/putenv.o objects/tempnam.o objects/utime.o objects/setvbuf.o -luw 
  128. XX--- 1,60 ----
  129. XX  mkdir objects
  130. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O infer.c
  131. XX! mv infer.o objects 
  132. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O make.c
  133. XX! mv make.o objects 
  134. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O stat.c
  135. XX! mv stat.o objects 
  136. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O expand.c
  137. XX! mv expand.o objects 
  138. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O string.c
  139. XX! mv string.o objects 
  140. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O hash.c
  141. XX! mv hash.o objects 
  142. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O dag.c
  143. XX! mv dag.o objects 
  144. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O dmake.c
  145. XX! mv dmake.o objects 
  146. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O path.c
  147. XX! mv path.o objects 
  148. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O imacs.c
  149. XX! mv imacs.o objects 
  150. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O sysintf.c
  151. XX! mv sysintf.o objects 
  152. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O parse.c
  153. XX! mv parse.o objects 
  154. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O getinp.c
  155. XX! mv getinp.o objects 
  156. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O quit.c
  157. XX! mv quit.o objects 
  158. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O basename.c
  159. XX! mv basename.o objects 
  160. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O dump.c
  161. XX! mv dump.o objects 
  162. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O macparse.c
  163. XX! mv macparse.o objects 
  164. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O rulparse.c
  165. XX! mv rulparse.o objects 
  166. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O percent.c
  167. XX! mv percent.o objects 
  168. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/arlib.c
  169. XX! mv arlib.o objects 
  170. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/dirbrk.c
  171. XX! mv dirbrk.o objects 
  172. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/explode.c
  173. XX! mv explode.o objects 
  174. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/rmprq.c
  175. XX! mv rmprq.o objects 
  176. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/ruletab.c
  177. XX! mv ruletab.o objects 
  178. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/putenv.c
  179. XX! mv putenv.o objects 
  180. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/tempnam.c
  181. XX! mv tempnam.o objects 
  182. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/utime.c
  183. XX! mv utime.o objects 
  184. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/setvbuf.c
  185. XX! mv setvbuf.o objects 
  186. XX! cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/runargv.c
  187. XX! mv runargv.o objects 
  188. XX! cc  -o dmake  objects/infer.o objects/make.o objects/stat.o objects/expand.o objects/string.o objects/hash.o objects/dag.o objects/dmake.o objects/path.o objects/imacs.o objects/sysintf.o objects/parse.o objects/getinp.o objects/quit.o objects/basename.o objects/dump.o objects/macparse.o objects/rulparse.o objects/percent.o objects/arlib.o objects/dirbrk.o objects/explode.o objects/rmprq.o objects/ruletab.o objects/putenv.o objects/tempnam.o objects/utime.o objects/setvbuf.o objects/runargv.o -luw 
  189. XX*** /u2/dvadura/src/generic/dmake/src.dist/unix/bsd43/string.h    Mon Jul 30 11:50:50 1990
  190. XX--- unix/bsd43/string.h    Tue Jul 31 13:36:53 1990
  191. XX***************
  192. XX*** 6,11 ****
  193. XX  #define    strchr(str,c)    index(str,c)
  194. XX  #define    strrchr(str,c)    rindex(str,c)
  195. XX  
  196. XX! #include "macros.h"
  197. XX  extern    char*    strpbrk ANSI((char* src, char* any));
  198. XX  
  199. XX--- 6,11 ----
  200. XX  #define    strchr(str,c)    index(str,c)
  201. XX  #define    strrchr(str,c)    rindex(str,c)
  202. XX  
  203. XX! #include "stdmacs.h"
  204. XX  extern    char*    strpbrk ANSI((char* src, char* any));
  205. XX  
  206. XX*** /u2/dvadura/src/generic/dmake/src.dist/unix/bsd43/setvbuf.c    Mon Jul 30 11:50:52 1990
  207. XX--- unix/bsd43/setvbuf.c    Tue Jul 31 10:48:37 1990
  208. XX***************
  209. XX*** 1,4 ****
  210. XX! /* RCS      -- $Header$
  211. XX  -- SYNOPSIS -- setvbuf for BSD
  212. XX  -- 
  213. XX  -- DESCRIPTION
  214. XX--- 1,4 ----
  215. XX! /* RCS      -- $Header: /u2/dvadura/src/generic/dmake/src/unix/bsd43/RCS/setvbuf.c,v 1.1 90/07/31 10:48:36 dvadura Exp $
  216. XX  -- SYNOPSIS -- setvbuf for BSD
  217. XX  -- 
  218. XX  -- DESCRIPTION
  219. XX***************
  220. XX*** 26,32 ****
  221. XX  --      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  222. XX  --
  223. XX  -- LOG
  224. XX! --     $Log$
  225. XX  */
  226. XX  
  227. XX  #include <stdio.h>
  228. XX--- 26,35 ----
  229. XX  --      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  230. XX  --
  231. XX  -- LOG
  232. XX! --     $Log:    setvbuf.c,v $
  233. XX!  * Revision 1.1  90/07/31  10:48:36  dvadura
  234. XX!  * Initial Revision Dmake 3.5
  235. XX!  * 
  236. XX  */
  237. XX  
  238. XX  #include <stdio.h>
  239. XX***************
  240. XX*** 37,46 ****
  241. XX  int    type;
  242. XX  int    len_unused;
  243. XX  {
  244. XX!     switch (type) {
  245. XX!     case _IOLBF: setlinebuf(fp);   return;
  246. XX!     case _IONBF: setbuf(fp, NULL); return;
  247. XX!     default:     setbuf(fp, bp);   return;
  248. XX!     }
  249. XX  }
  250. XX  
  251. XX--- 40,49 ----
  252. XX  int    type;
  253. XX  int    len_unused;
  254. XX  {
  255. XX!    switch (type) {
  256. XX!       case _IOLBF: setlinebuf(fp);   return;
  257. XX!       case _IONBF: setbuf(fp, NULL); return;
  258. XX!       default:     setbuf(fp, bp);   return;
  259. XX!    }
  260. XX  }
  261. XX  
  262. XX*** /u2/dvadura/src/generic/dmake/src.dist/unix/bsd43/putenv.c    Mon Jul 30 11:50:53 1990
  263. XX--- unix/bsd43/putenv.c    Tue Jul 31 14:19:55 1990
  264. XX***************
  265. XX*** 1,8 ****
  266. XX! /* RCS      -- $Header$
  267. XX  -- SYNOPSIS -- our own putenv for BSD systems.
  268. XX  -- 
  269. XX  -- DESCRIPTION
  270. XX! --     This originally came from MKS.
  271. XX  --
  272. XX  -- AUTHOR
  273. XX  --      Dennis Vadura, dvadura@watdragon.uwaterloo.ca
  274. XX--- 1,10 ----
  275. XX! /* RCS      -- $Header: /u2/dvadura/src/generic/dmake/src/unix/bsd43/RCS/putenv.c,v 1.1 90/07/31 14:19:53 dvadura Exp $
  276. XX  -- SYNOPSIS -- our own putenv for BSD systems.
  277. XX  -- 
  278. XX  -- DESCRIPTION
  279. XX! --     This originally came from MKS, but I rewrote it to fix a bug with
  280. XX! --    replacing existing strings, probably never happened but the code
  281. XX! --    was wrong nonetheless.
  282. XX  --
  283. XX  -- AUTHOR
  284. XX  --      Dennis Vadura, dvadura@watdragon.uwaterloo.ca
  285. XX***************
  286. XX*** 26,51 ****
  287. XX  --      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  288. XX  --
  289. XX  -- LOG
  290. XX! --     $Log$
  291. XX  */
  292. XX  
  293. XX- /*
  294. XX-  * System V.2 Emulation Library.
  295. XX-  * Copyright (c) 1985 by Mortice Kern Systems, Inc.
  296. XX-  *
  297. XX-  * putenv -- C library.
  298. XX-  */
  299. XX- 
  300. XX  #include <string.h>
  301. XX  
  302. XX! #ifndef    NULL
  303. XX! #define    NULL    0
  304. XX! #endif    NULL
  305. XX! 
  306. XX! /*
  307. XX!  * Put a string containing "name=value" into the environment.
  308. XX!  * The space pointed to by the string is put into the environment
  309. XX!  * so it should be static or malloc'd.
  310. XX   * Return 0 if OK, non-zero otherwise.
  311. XX   */
  312. XX  int
  313. XX--- 28,48 ----
  314. XX  --      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  315. XX  --
  316. XX  -- LOG
  317. XX! --     $Log:    putenv.c,v $
  318. XX!  * Revision 1.1  90/07/31  14:19:53  dvadura
  319. XX!  * Initial Revision dmake 3.5
  320. XX!  * 
  321. XX  */
  322. XX  
  323. XX  #include <string.h>
  324. XX+ #include <stdio.h>
  325. XX  
  326. XX! /* Put a string containing "name=value" into the environment.
  327. XX!  *
  328. XX!  * First search the environment for the string name, if found then
  329. XX!  * replace that string with the new one.  Otherwise add the string to the
  330. XX!  * environment as a new string.
  331. XX!  *
  332. XX   * Return 0 if OK, non-zero otherwise.
  333. XX   */
  334. XX  int
  335. XX***************
  336. XX*** 52,92 ****
  337. XX  putenv(string)
  338. XX  char *string;
  339. XX  {
  340. XX!     extern char **environ;
  341. XX!     static char **ourenv = NULL;
  342. XX!     register char *ep;
  343. XX!     register char **epp;
  344. XX  
  345. XX!     for (epp = environ; (ep = *epp) != NULL; epp++) {
  346. XX!         register char *np;
  347. XX!         register int c;
  348. XX  
  349. XX!         np = string;
  350. XX!         while ((c = *ep++) == *np++)
  351. XX!             if (c == '\0')
  352. XX!                 break;
  353. XX!         if (c=='=' || c=='\0') {
  354. XX!             *epp = string;
  355. XX!             return (0);
  356. XX!         }
  357. XX!     }
  358. XX!     if (environ != ourenv) {
  359. XX!         int neb = (epp-environ+1) * sizeof(char*);
  360. XX  
  361. XX!         ourenv = (char**) malloc(neb);
  362. XX!         if (ourenv == NULL)
  363. XX!             return 1;
  364. XX!         memcpy((char*)ourenv, (char*)environ, neb);
  365. XX!         epp = ourenv + (epp-environ);
  366. XX!         environ = ourenv;
  367. XX!     }
  368. XX!     ourenv = (char**) realloc(environ, (epp-environ+2) * sizeof(char*));
  369. XX!     if (ourenv == NULL)
  370. XX!         return 1;
  371. XX!     epp = ourenv + (epp-environ);
  372. XX!     *epp++ = string;
  373. XX!     *epp = NULL;
  374. XX!     environ = ourenv;
  375. XX!     return (0);
  376. XX! }
  377. XX  
  378. XX--- 49,93 ----
  379. XX  putenv(string)
  380. XX  char *string;
  381. XX  {
  382. XX!    extern   char **environ;
  383. XX!    static   char **newenv = NULL;
  384. XX!    register char *tmp;
  385. XX!    register char **env;
  386. XX!    register int  size;
  387. XX  
  388. XX!    for( env = environ; (tmp = *env) != NULL; env++ ) {
  389. XX!       register char *np = string;
  390. XX!       register char c;
  391. XX  
  392. XX!       /* Search the strings in environ, if name= matches then replace the
  393. XX!        * string with the new one. */
  394. XX!       while( (c = *tmp++) == *np++ ) {
  395. XX!      if( c == '\0' ) break;        /* skip this string */
  396. XX!      if( c == '='  ) {
  397. XX!         *env = string;
  398. XX!         return (0);
  399. XX!      }
  400. XX!       }
  401. XX!    }
  402. XX  
  403. XX!    /* Need to grow the environment, so compute its new size */
  404. XX!    size = (env-environ)+2;
  405. XX  
  406. XX+    /* make sure we don't try to realloc the original environment */
  407. XX+    if( environ != newenv ) {
  408. XX+       if( (newenv = (char**) malloc(size*sizeof(char*))) == NULL )
  409. XX+      return(1);
  410. XX+ 
  411. XX+       memcpy((char*)newenv, (char*)environ, (size-2)*sizeof(char*));
  412. XX+    }
  413. XX+    else
  414. XX+       /* realloc the environment to make room for the new string. */
  415. XX+       if( (newenv = (char**) realloc(environ, size*sizeof(char*))) == NULL )
  416. XX+      return(1);
  417. XX+ 
  418. XX+    newenv[--size] = NULL;
  419. XX+    newenv[--size] = string;
  420. XX+    environ = newenv;
  421. XX+ 
  422. XX+    return (0);
  423. XX+ }
  424. XX*** /u2/dvadura/src/generic/dmake/src.dist/unix/bsd43/make.sh    Mon Jul 30 11:50:53 1990
  425. XX--- unix/bsd43/make.sh    Tue Jul 31 20:26:02 1990
  426. XX***************
  427. XX*** 1,60 ****
  428. XX  mkdir objects
  429. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O infer.c
  430. XX! mv infer.o objects
  431. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O make.c
  432. XX! mv make.o objects
  433. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O stat.c
  434. XX! mv stat.o objects
  435. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O expand.c
  436. XX! mv expand.o objects
  437. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O string.c
  438. XX! mv string.o objects
  439. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O hash.c
  440. XX! mv hash.o objects
  441. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O dag.c
  442. XX! mv dag.o objects
  443. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O dmake.c
  444. XX! mv dmake.o objects
  445. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O path.c
  446. XX! mv path.o objects
  447. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O imacs.c
  448. XX! mv imacs.o objects
  449. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O sysintf.c
  450. XX! mv sysintf.o objects
  451. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O parse.c
  452. XX! mv parse.o objects
  453. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O getinp.c
  454. XX! mv getinp.o objects
  455. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O quit.c
  456. XX! mv quit.o objects
  457. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O basename.c
  458. XX! mv basename.o objects
  459. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O dump.c
  460. XX! mv dump.o objects
  461. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O macparse.c
  462. XX! mv macparse.o objects
  463. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O rulparse.c
  464. XX! mv rulparse.o objects
  465. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O percent.c
  466. XX! mv percent.o objects
  467. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/arlib.c
  468. XX! mv arlib.o objects
  469. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/dirbrk.c
  470. XX! mv dirbrk.o objects
  471. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/explode.c
  472. XX! mv explode.o objects
  473. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/rmprq.c
  474. XX! mv rmprq.o objects
  475. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/ruletab.c
  476. XX! mv ruletab.o objects
  477. XX! cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/runargv.c
  478. XX! mv runargv.o objects
  479. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/putenv.c
  480. XX! mv putenv.o objects
  481. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/tempnam.c
  482. XX! mv tempnam.o objects
  483. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/utime.c
  484. XX! mv utime.o objects
  485. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/setvbuf.c
  486. XX! mv setvbuf.o objects
  487. XX! cc  -o dmake  objects/infer.o objects/make.o objects/stat.o objects/expand.o objects/string.o objects/hash.o objects/dag.o objects/dmake.o objects/path.o objects/imacs.o objects/sysintf.o objects/parse.o objects/getinp.o objects/quit.o objects/basename.o objects/dump.o objects/macparse.o objects/rulparse.o objects/percent.o objects/arlib.o objects/dirbrk.o objects/explode.o objects/rmprq.o objects/ruletab.o objects/runargv.o objects/putenv.o objects/tempnam.o objects/utime.o objects/setvbuf.o 
  488. XX--- 1,60 ----
  489. XX  mkdir objects
  490. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O infer.c
  491. XX! mv infer.o objects 
  492. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O make.c
  493. XX! mv make.o objects 
  494. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O stat.c
  495. XX! mv stat.o objects 
  496. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O expand.c
  497. XX! mv expand.o objects 
  498. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O string.c
  499. XX! mv string.o objects 
  500. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O hash.c
  501. XX! mv hash.o objects 
  502. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O dag.c
  503. XX! mv dag.o objects 
  504. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O dmake.c
  505. XX! mv dmake.o objects 
  506. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O path.c
  507. XX! mv path.o objects 
  508. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O imacs.c
  509. XX! mv imacs.o objects 
  510. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O sysintf.c
  511. XX! mv sysintf.o objects 
  512. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O parse.c
  513. XX! mv parse.o objects 
  514. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O getinp.c
  515. XX! mv getinp.o objects 
  516. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O quit.c
  517. XX! mv quit.o objects 
  518. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O basename.c
  519. XX! mv basename.o objects 
  520. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O dump.c
  521. XX! mv dump.o objects 
  522. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O macparse.c
  523. XX! mv macparse.o objects 
  524. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O rulparse.c
  525. XX! mv rulparse.o objects 
  526. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O percent.c
  527. XX! mv percent.o objects 
  528. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/arlib.c
  529. XX! mv arlib.o objects 
  530. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/dirbrk.c
  531. XX! mv dirbrk.o objects 
  532. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/explode.c
  533. XX! mv explode.o objects 
  534. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/rmprq.c
  535. XX! mv rmprq.o objects 
  536. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/ruletab.c
  537. XX! mv ruletab.o objects 
  538. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/putenv.c
  539. XX! mv putenv.o objects 
  540. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/tempnam.c
  541. XX! mv tempnam.o objects 
  542. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/utime.c
  543. XX! mv utime.o objects 
  544. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/setvbuf.c
  545. XX! mv setvbuf.o objects 
  546. XX! cc -c -DHELP -I. -Icommon -Iunix -Iunix/bsd43 -O unix/bsd43/runargv.c
  547. XX! mv runargv.o objects 
  548. XX! cc  -o dmake  objects/infer.o objects/make.o objects/stat.o objects/expand.o objects/string.o objects/hash.o objects/dag.o objects/dmake.o objects/path.o objects/imacs.o objects/sysintf.o objects/parse.o objects/getinp.o objects/quit.o objects/basename.o objects/dump.o objects/macparse.o objects/rulparse.o objects/percent.o objects/arlib.o objects/dirbrk.o objects/explode.o objects/rmprq.o objects/ruletab.o objects/putenv.o objects/tempnam.o objects/utime.o objects/setvbuf.o objects/runargv.o 
  549. XX*** /u2/dvadura/src/generic/dmake/src.dist/unix/bsd43/config.mk    Mon Jul 30 11:50:58 1990
  550. XX--- unix/bsd43/config.mk    Tue Jul 31 10:47:04 1990
  551. XX***************
  552. XX*** 9,15 ****
  553. XX  osrdir := $(OS)$(DIRSEPSTR)$(OSRELEASE)
  554. XX  
  555. XX  # The following sources are required for BSD4.3
  556. XX! OSDSRC := putenv.c tempnam.c utime.c setvbuf.c
  557. XX  SRC    += $(OSDSRC)
  558. XX  .SETDIR=$(osrdir) : $(OSDSRC)
  559. XX  
  560. XX--- 9,15 ----
  561. XX  osrdir := $(OS)$(DIRSEPSTR)$(OSRELEASE)
  562. XX  
  563. XX  # The following sources are required for BSD4.3
  564. XX! OSDSRC := putenv.c tempnam.c utime.c setvbuf.c runargv.c
  565. XX  SRC    += $(OSDSRC)
  566. XX  .SETDIR=$(osrdir) : $(OSDSRC)
  567. XX  
  568. XX*** /u2/dvadura/src/generic/dmake/src.dist/unix/bsd43/config.h    Mon Jul 30 11:50:58 1990
  569. XX--- unix/bsd43/config.h    Tue Jul 31 10:48:35 1990
  570. XX***************
  571. XX*** 1,4 ****
  572. XX! /* RCS      -- $Header$
  573. XX  -- SYNOPSIS -- Configurarion include file.
  574. XX  -- 
  575. XX  -- DESCRIPTION
  576. XX--- 1,4 ----
  577. XX! /* RCS      -- $Header: /u2/dvadura/src/generic/dmake/src/unix/bsd43/RCS/config.h,v 1.1 90/07/31 10:48:34 dvadura Exp $
  578. XX  -- SYNOPSIS -- Configurarion include file.
  579. XX  -- 
  580. XX  -- DESCRIPTION
  581. XX***************
  582. XX*** 28,34 ****
  583. XX  --      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  584. XX  --
  585. XX  -- LOG
  586. XX! --     $Log$
  587. XX  */
  588. XX  
  589. XX  /* define this for configurations that don't have the coreleft function
  590. XX--- 28,37 ----
  591. XX  --      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  592. XX  --
  593. XX  -- LOG
  594. XX! --     $Log:    config.h,v $
  595. XX!  * Revision 1.1  90/07/31  10:48:34  dvadura
  596. XX!  * Initial Revision Dmake 3.5
  597. XX!  * 
  598. XX  */
  599. XX  
  600. XX  /* define this for configurations that don't have the coreleft function
  601. XX*** /u2/dvadura/src/generic/dmake/src.dist/unix/386ix/make.sh    Mon Jul 30 11:51:09 1990
  602. XX--- unix/386ix/make.sh    Tue Jul 31 20:26:28 1990
  603. XX***************
  604. XX*** 1,52 ****
  605. XX  mkdir objects
  606. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O infer.c
  607. XX! mv infer.o objects
  608. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O make.c
  609. XX! mv make.o objects
  610. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O stat.c
  611. XX! mv stat.o objects
  612. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O expand.c
  613. XX! mv expand.o objects
  614. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O string.c
  615. XX! mv string.o objects
  616. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O hash.c
  617. XX! mv hash.o objects
  618. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O dag.c
  619. XX! mv dag.o objects
  620. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O dmake.c
  621. XX! mv dmake.o objects
  622. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O path.c
  623. XX! mv path.o objects
  624. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O imacs.c
  625. XX! mv imacs.o objects
  626. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O sysintf.c
  627. XX! mv sysintf.o objects
  628. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O parse.c
  629. XX! mv parse.o objects
  630. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O getinp.c
  631. XX! mv getinp.o objects
  632. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O quit.c
  633. XX! mv quit.o objects
  634. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O basename.c
  635. XX! mv basename.o objects
  636. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O dump.c
  637. XX! mv dump.o objects
  638. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O macparse.c
  639. XX! mv macparse.o objects
  640. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O rulparse.c
  641. XX! mv rulparse.o objects
  642. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O percent.c
  643. XX! mv percent.o objects
  644. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O unix/arlib.c
  645. XX! mv arlib.o objects
  646. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O unix/dirbrk.c
  647. XX! mv dirbrk.o objects
  648. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O unix/explode.c
  649. XX! mv explode.o objects
  650. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O unix/rmprq.c
  651. XX! mv rmprq.o objects
  652. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O unix/ruletab.c
  653. XX! mv ruletab.o objects
  654. XX! cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O unix/runargv.c
  655. XX! mv runargv.o objects
  656. XX  cc  -o dmake  objects/infer.o objects/make.o objects/stat.o objects/expand.o objects/string.o objects/hash.o objects/dag.o objects/dmake.o objects/path.o objects/imacs.o objects/sysintf.o objects/parse.o objects/getinp.o objects/quit.o objects/basename.o objects/dump.o objects/macparse.o objects/rulparse.o objects/percent.o objects/arlib.o objects/dirbrk.o objects/explode.o objects/rmprq.o objects/ruletab.o objects/runargv.o 
  657. XX--- 1,52 ----
  658. XX  mkdir objects
  659. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O infer.c
  660. XX! mv infer.o objects 
  661. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O make.c
  662. XX! mv make.o objects 
  663. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O stat.c
  664. XX! mv stat.o objects 
  665. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O expand.c
  666. XX! mv expand.o objects 
  667. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O string.c
  668. XX! mv string.o objects 
  669. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O hash.c
  670. XX! mv hash.o objects 
  671. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O dag.c
  672. XX! mv dag.o objects 
  673. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O dmake.c
  674. XX! mv dmake.o objects 
  675. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O path.c
  676. XX! mv path.o objects 
  677. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O imacs.c
  678. XX! mv imacs.o objects 
  679. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O sysintf.c
  680. XX! mv sysintf.o objects 
  681. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O parse.c
  682. XX! mv parse.o objects 
  683. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O getinp.c
  684. XX! mv getinp.o objects 
  685. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O quit.c
  686. XX! mv quit.o objects 
  687. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O basename.c
  688. XX! mv basename.o objects 
  689. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O dump.c
  690. XX! mv dump.o objects 
  691. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O macparse.c
  692. XX! mv macparse.o objects 
  693. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O rulparse.c
  694. XX! mv rulparse.o objects 
  695. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O percent.c
  696. XX! mv percent.o objects 
  697. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O unix/arlib.c
  698. XX! mv arlib.o objects 
  699. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O unix/dirbrk.c
  700. XX! mv dirbrk.o objects 
  701. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O unix/explode.c
  702. XX! mv explode.o objects 
  703. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O unix/rmprq.c
  704. XX! mv rmprq.o objects 
  705. XX  cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O unix/ruletab.c
  706. XX! mv ruletab.o objects 
  707. XX! cc -c -DHELP -I. -Icommon -Iunix -Iunix/386ix -O unix/386ix/runargv.c
  708. XX! mv runargv.o objects 
  709. XX  cc  -o dmake  objects/infer.o objects/make.o objects/stat.o objects/expand.o objects/string.o objects/hash.o objects/dag.o objects/dmake.o objects/path.o objects/imacs.o objects/sysintf.o objects/parse.o objects/getinp.o objects/quit.o objects/basename.o objects/dump.o objects/macparse.o objects/rulparse.o objects/percent.o objects/arlib.o objects/dirbrk.o objects/explode.o objects/rmprq.o objects/ruletab.o objects/runargv.o 
  710. XX*** /u2/dvadura/src/generic/dmake/src.dist/unix/386ix/config.mk    Mon Jul 30 11:51:09 1990
  711. XX--- unix/386ix/config.mk    Tue Jul 31 10:51:05 1990
  712. XX***************
  713. XX*** 1,4 ****
  714. XX! # This is the SysV R3 UNIX configuration file for DMAKE
  715. XX  #    It simply modifies the values of SRC, and checks to see if
  716. XX  #    OSENVIRONMENT is defined.  If so it includes the appropriate
  717. XX  #    config.mk file.
  718. XX--- 1,4 ----
  719. XX! # This is the 386IX UNIX configuration file for DMAKE
  720. XX  #    It simply modifies the values of SRC, and checks to see if
  721. XX  #    OSENVIRONMENT is defined.  If so it includes the appropriate
  722. XX  #    config.mk file.
  723. XX***************
  724. XX*** 8,17 ****
  725. XX  #
  726. XX  osrdir := $(OS)$(DIRSEPSTR)$(OSRELEASE)
  727. XX  
  728. XX! # The following sources are required for SysV R3
  729. XX! SRC +=  #zero for now. we do have some .h's though
  730. XX  
  731. XX- #.SOURCE.c : $(osrdir)
  732. XX  .SOURCE.h : $(osrdir)
  733. XX  
  734. XX  # Local configuration modifications for CFLAGS, there's local SysV includes
  735. XX--- 8,18 ----
  736. XX  #
  737. XX  osrdir := $(OS)$(DIRSEPSTR)$(OSRELEASE)
  738. XX  
  739. XX! # The following are required sources
  740. XX! OSDSRC := runargv.c
  741. XX! SRC    += $(OSDSRC)
  742. XX! .SETDIR=$(osrdir) : $(OSDSRC)
  743. XX  
  744. XX  .SOURCE.h : $(osrdir)
  745. XX  
  746. XX  # Local configuration modifications for CFLAGS, there's local SysV includes
  747. XX*** /u2/dvadura/src/generic/dmake/src.dist/unix/386ix/config.h    Mon Jul 30 11:51:10 1990
  748. XX--- unix/386ix/config.h    Tue Jul 31 10:49:16 1990
  749. XX***************
  750. XX*** 1,4 ****
  751. XX! /* RCS      -- $Header$
  752. XX  -- SYNOPSIS -- Configurarion include file.
  753. XX  -- 
  754. XX  -- DESCRIPTION
  755. XX--- 1,4 ----
  756. XX! /* RCS      -- $Header: /u2/dvadura/src/generic/dmake/src/unix/386ix/RCS/config.h,v 1.1 90/07/31 10:49:15 dvadura Exp $
  757. XX  -- SYNOPSIS -- Configurarion include file.
  758. XX  -- 
  759. XX  -- DESCRIPTION
  760. XX***************
  761. XX*** 28,34 ****
  762. XX  --      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  763. XX  --
  764. XX  -- LOG
  765. XX! --     $Log$
  766. XX  */
  767. XX  
  768. XX  /* define this for configurations that don't have the coreleft function
  769. XX--- 28,37 ----
  770. XX  --      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  771. XX  --
  772. XX  -- LOG
  773. XX! --     $Log:    config.h,v $
  774. XX!  * Revision 1.1  90/07/31  10:49:15  dvadura
  775. XX!  * Initial Revision Dmake 3.5
  776. XX!  * 
  777. XX  */
  778. XX  
  779. XX  /* define this for configurations that don't have the coreleft function
  780. XX*** /u2/dvadura/src/generic/dmake/src.dist/patchlvl.h    Mon Jul 30 11:52:36 1990
  781. XX--- patchlvl.h    Fri Jul 27 16:04:24 1990
  782. XX***************
  783. XX*** 1,3 ****
  784. XX  /* dmake patch level, reset to 1 for each new version release. */
  785. XX  
  786. XX! #define PATCHLEVEL 1
  787. XX--- 1,3 ----
  788. XX  /* dmake patch level, reset to 1 for each new version release. */
  789. XX  
  790. XX! #define PATCHLEVEL 2
  791. XX*** /u2/dvadura/src/generic/dmake/src.dist/msdos/tccdos/tempnam.c    Mon Jul 30 11:52:39 1990
  792. XX--- msdos/tccdos/tempnam.c    Tue Jul 31 20:25:18 1990
  793. XX***************
  794. XX*** 4,9 ****
  795. XX--- 4,12 ----
  796. XX  #include <stdlib.h>
  797. XX  #include <time.h>
  798. XX  
  799. XX+ #if defined(max)
  800. XX+ #   undef  max
  801. XX+ #endif
  802. XX  #define max(A,B) (((A)<(B))?(B):(A))
  803. XX  
  804. XX  extern char *mktemp();
  805. XX*** /u2/dvadura/src/generic/dmake/src.dist/msdos/tccdos/startup.mk    Mon Jul 30 11:52:42 1990
  806. XX--- msdos/tccdos/startup.mk    Tue Jul 31 19:37:53 1990
  807. XX***************
  808. XX*** 86,92 ****
  809. XX     AR     := ar            # archiver
  810. XX     ARFLAGS = ruv
  811. XX  
  812. XX!    RM       := /bin/rm        # remove a file command
  813. XX     RMFLAGS  =
  814. XX  
  815. XX  # Implicit generation rules for making inferences.
  816. XX--- 86,92 ----
  817. XX     AR     := ar            # archiver
  818. XX     ARFLAGS = ruv
  819. XX  
  820. XX!    RM       := rm        # remove a file command
  821. XX     RMFLAGS  =
  822. XX  
  823. XX  # Implicit generation rules for making inferences.
  824. XX*** /u2/dvadura/src/generic/dmake/src.dist/msdos/tccdos/make.bat    Mon Jul 30 11:52:42 1990
  825. XX--- msdos/tccdos/make.bat    Tue Jul 31 20:26:38 1990
  826. XX***************
  827. XX*** 1,58 ****
  828. XX  mkdir objects
  829. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  infer.c
  830. XX! mv infer.obj objects
  831. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  make.c
  832. XX! mv make.obj objects
  833. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  stat.c
  834. XX! mv stat.obj objects
  835. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  expand.c
  836. XX! mv expand.obj objects
  837. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  string.c
  838. XX! mv string.obj objects
  839. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  hash.c
  840. XX! mv hash.obj objects
  841. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  dag.c
  842. XX! mv dag.obj objects
  843. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  dmake.c
  844. XX! mv dmake.obj objects
  845. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  path.c
  846. XX! mv path.obj objects
  847. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  imacs.c
  848. XX! mv imacs.obj objects
  849. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  sysintf.c
  850. XX! mv sysintf.obj objects
  851. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  parse.c
  852. XX! mv parse.obj objects
  853. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  getinp.c
  854. XX! mv getinp.obj objects
  855. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  quit.c
  856. XX! mv quit.obj objects
  857. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  basename.c
  858. XX! mv basename.obj objects
  859. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  dump.c
  860. XX! mv dump.obj objects
  861. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  macparse.c
  862. XX! mv macparse.obj objects
  863. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  rulparse.c
  864. XX! mv rulparse.obj objects
  865. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  percent.c
  866. XX! mv percent.obj objects
  867. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  msdos\ruletab.c
  868. XX! mv ruletab.obj objects
  869. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  msdos\dirbrk.c
  870. XX! mv dirbrk.obj objects
  871. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  msdos\runargv.c
  872. XX! mv runargv.obj objects
  873. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  msdos\arlib.c
  874. XX! mv arlib.obj objects
  875. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  msdos\_chdir.c
  876. XX! mv _chdir.obj objects
  877. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  msdos\switchar.c
  878. XX! mv switchar.obj objects
  879. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  msdos\rmprq.c
  880. XX! mv rmprq.obj objects
  881. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  msdos\tccdos\tempnam.c
  882. XX! mv tempnam.obj objects
  883. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -1 -N- -w-nod  msdos\tccdos\utime.c
  884. XX! mv utime.obj objects
  885. XX! tlink @msdos\tccdos\tccobj.rsp,dmake.exe,NUL.MAP,@msdos\tccdos\tcclib.rsp
  886. XX--- 1,58 ----
  887. XX  mkdir objects
  888. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  infer.c
  889. XX! mv infer.obj objects 
  890. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  make.c
  891. XX! mv make.obj objects 
  892. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  stat.c
  893. XX! mv stat.obj objects 
  894. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  expand.c
  895. XX! mv expand.obj objects 
  896. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  string.c
  897. XX! mv string.obj objects 
  898. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  hash.c
  899. XX! mv hash.obj objects 
  900. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  dag.c
  901. XX! mv dag.obj objects 
  902. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  dmake.c
  903. XX! mv dmake.obj objects 
  904. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  path.c
  905. XX! mv path.obj objects 
  906. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  imacs.c
  907. XX! mv imacs.obj objects 
  908. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  sysintf.c
  909. XX! mv sysintf.obj objects 
  910. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  parse.c
  911. XX! mv parse.obj objects 
  912. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  getinp.c
  913. XX! mv getinp.obj objects 
  914. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  quit.c
  915. XX! mv quit.obj objects 
  916. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  basename.c
  917. XX! mv basename.obj objects 
  918. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  dump.c
  919. XX! mv dump.obj objects 
  920. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  macparse.c
  921. XX! mv macparse.obj objects 
  922. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  rulparse.c
  923. XX! mv rulparse.obj objects 
  924. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  percent.c
  925. XX! mv percent.obj objects 
  926. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  msdos\ruletab.c
  927. XX! mv ruletab.obj objects 
  928. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  msdos\dirbrk.c
  929. XX! mv dirbrk.obj objects 
  930. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  msdos\runargv.c
  931. XX! mv runargv.obj objects 
  932. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  msdos\arlib.c
  933. XX! mv arlib.obj objects 
  934. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  msdos\_chdir.c
  935. XX! mv _chdir.obj objects 
  936. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  msdos\switchar.c
  937. XX! mv switchar.obj objects 
  938. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  msdos\rmprq.c
  939. XX! mv rmprq.obj objects 
  940. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  msdos\tccdos\tempnam.c
  941. XX! mv tempnam.obj objects 
  942. XX! tcc -c -DHELP -I. -Icommon -Imsdos -Imsdos\tccdos -f- -d -O -N- -w-nod  msdos\tccdos\utime.c
  943. XX! mv utime.obj objects 
  944. XX! tlink @msdos\tccdos\tccobj.rsp,dmake.exe,NUL.MAP,@msdos\tccdos\tcclib.rsp,NUL.DEF
  945. XX*** /u2/dvadura/src/generic/dmake/src.dist/msdos/tccdos/config.mk    Mon Jul 30 11:52:43 1990
  946. XX--- msdos/tccdos/config.mk    Tue Jul 31 10:52:47 1990
  947. XX***************
  948. XX*** 1,4 ****
  949. XX! # This is the Turbo C 2.0 DOSconfiguration file for DMAKE
  950. XX  #    It simply modifies the values of SRC, and checks to see if
  951. XX  #    OSENVIRONMENT is defined.  If so it includes the appropriate
  952. XX  #    config.mk file.
  953. XX--- 1,4 ----
  954. XX! # This is the Turbo C 2.0 DOS configuration file for DMAKE
  955. XX  #    It simply modifies the values of SRC, and checks to see if
  956. XX  #    OSENVIRONMENT is defined.  If so it includes the appropriate
  957. XX  #    config.mk file.
  958. XX***************
  959. XX*** 22,32 ****
  960. XX  .SOURCE.c : $(osrdir)
  961. XX  .SOURCE.h : $(osrdir)
  962. XX  
  963. XX! # Local configuration modifications for CFLAGS, there's local BSD includes
  964. XX! # too.  Make sure your turboc.cfg file contains a -D__STDC__=1 and -DM_I86=1,
  965. XX! # if not then uncomment the line below!
  966. XX! #CFLAGS += -I$(osrdir) -DM_I86=1 -D__STDC__=1
  967. XX! CFLAGS += -I$(osrdir) -f- -d -1 -N- -w-nod
  968. XX  
  969. XX  # See if we modify anything in the lower levels.
  970. XX  .IF $(OSENVIRONMENT) != $(NULL)
  971. XX--- 22,36 ----
  972. XX  .SOURCE.c : $(osrdir)
  973. XX  .SOURCE.h : $(osrdir)
  974. XX  
  975. XX! # Local configuration modifications for CFLAGS.  Make sure your turboc.cfg
  976. XX! # file contains a -D__STDC__=1 and -DM_I86=1, if not then uncomment the line
  977. XX! # below!
  978. XX! #CFLAGS += -DM_I86=1 -D__STDC__=1
  979. SHAR_EOF
  980. echo "End of part 3, continue with part 4"
  981. echo "4" > s2_seq_.tmp
  982. exit 0
  983.  
  984.