home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / upc12bs1.zip / makefile < prev    next >
Makefile  |  1993-10-04  |  41KB  |  1,415 lines

  1. # *--------------------------------------------------------------------*
  2. # *     Program:        MAKEFILE                15 May 1989            *
  3. # *     Author:         Andrew H. Derbyshire                           *
  4. # *                     Kendra Electronic Wonderworks                  *
  5. # *                     P.O. Box 132                                   *
  6. # *                     Arlington, MA 02174                            *
  7. # *     Function:       Build UUPC/extended from source files          *
  8. # *     Processor:      Borland MAKE version 3.5                       *
  9. # *     External files: MASM or TASM    (8088 Assembler)               *
  10. # *                     BCC             (Borland C++ 3.1 compiler)     *
  11. # *                     LINK or TLINK   (MS-DOS Linker)                *
  12. # *                     TDSTRIP         (Turbo debugger utility).      *
  13. # *                     MOVE.COM        (Rename files between          *
  14. # *                                     directories)                   *
  15. # *                     Input source files.                            *
  16. # *                                                                    *
  17. # *   Changes Copyright (c) 1989-1993 by Kendra Electronic             *
  18. # *   Wonderworks.                                                     *
  19. # *                                                                    *
  20. # *   All rights reserved except those explicitly granted by the       *
  21. # *   UUPC/extended license agreement.                                 *
  22. # *                                                                    *
  23. # *     Note:   This file and the associated sources really do         *
  24. # *             require the Borland C++ 3.1 compiler; various          *
  25. # *             functions within the source call ANSI functions        *
  26. # *             not available in older versions of the compiler.       *
  27. # *                                                                    *
  28. # *     Note:   MOVE can be created by putting a COPY followed by a    *
  29. # *             ERASE in a MOVE.BAT file.  This is slower than a true  *
  30. # *             move program (which just renames between directories), *
  31. # *             but life is hard.                                      *
  32. # *--------------------------------------------------------------------*
  33. #
  34. #     $Id: makefile 1.32 1993/10/04 15:51:54 ahd Exp $
  35. #
  36. #     Revision history:
  37. #     $Log: makefile $
  38. #         Revision 1.32  1993/10/04  15:51:54  ahd
  39. #         Use only root name for adding 00readme.now
  40. #
  41. #         Revision 1.31  1993/10/04  15:41:24  ahd
  42. #         Drop unneeded variables from definition file for nested make commands
  43. #         Include 00readme.now in all archives
  44. #         Generate final release names for all archives
  45. #
  46. #         Revision 1.30  1993/10/04  03:56:57  ahd
  47. #         Build doc zip seperately
  48. #
  49. #         Revision 1.29  1993/10/02  23:45:02  ahd
  50. #         Don't build rnews for windows
  51. #
  52. #         Revision 1.28  1993/10/02  19:06:24  ahd
  53. #         Use full path names to aid debugging
  54. #
  55. #         Revision 1.27  1993/10/01  01:24:32  ahd
  56. #         Force source rebuild more often
  57. #
  58. #         Revision 1.26  1993/09/29  13:17:11  ahd
  59. #         Correct deletion of debugger (*.TDS) files under Windows
  60. #
  61. #         Revision 1.25  1993/09/29  04:47:51  ahd
  62. #         Add unique signal handler for port suspending
  63. #
  64. #         Revision 1.24  1993/09/27  02:41:37  ahd
  65. #         Use full source path for files to aid in DOS debugging
  66. #
  67. #         Revision 1.23  1993/09/27  00:44:01  ahd
  68. #         Make build slient
  69. #
  70. #         Revision 1.22  1993/09/23  03:26:11  ahd
  71. #         Make mail medium model
  72. #
  73. #         Revision 1.21  1993/09/20  04:35:34  ahd
  74. #         Borland C++ for OS/2 1.0 support
  75. #         TCP/IP support from Dave Watt
  76. #         't' protocol support
  77. #
  78. #         Revision 1.20  1993/08/03  12:19:38  ahd
  79. #         Upper case names
  80. #
  81. #         Revision 1.19  1993/08/02  03:21:28  ahd
  82. #         Rename zip files
  83. #         use ZIP instead of PKZIP
  84. #         explicitly use MAKER for nested makes (need MAKE for master to
  85. #         keep ZIP from running of out DOS memory)
  86. #
  87. #         Revision 1.18  1993/07/31  16:20:41  ahd
  88. #         Clean-up in support of Windows versions
  89. #
  90. #         Revision 1.17  1993/07/22  23:18:38  ahd
  91. #         Rename UUPCLIBW
  92. #
  93. #         Revision 1.16  1993/06/06  15:03:51  ahd
  94. #         Move to release 1.12a
  95. #
  96. #         Revision 1.15  1993/05/30  16:05:22  ahd
  97. #         Del workfile to correct pkzip archiving too much
  98. #
  99. #         Revision 1.14  1993/05/16  13:17:21  ahd
  100. #         Rename nmake to mscmake
  101. #
  102. #         Revision 1.13  1993/04/19  13:16:08  ahd
  103. #         Begin version 1.11z
  104. #
  105. #         Revision 1.12  1993/04/16  02:43:27  ahd
  106. #         Do not archive bad rn source
  107. #
  108. #         Revision 1.11  1993/04/16  02:31:47  ahd
  109. #         Drop broken rn/newsetup from build for now
  110. #
  111. #         Revision 1.10  1993/04/11  21:09:10  ahd
  112. #         Drop GNU oriented Makefile
  113. #
  114. #       Revision 1.9  1992/12/30  12:40:31  plummer
  115. #       Update version
  116. #
  117. #       Revision 1.9  1992/12/30  12:40:31  plummer
  118. #       Update version
  119. #
  120. #       Revision 1.8  1992/12/18  13:05:00  ahd
  121. #       Drop system aliases
  122. #
  123. #       Revision 1.7  1992/12/11  12:43:53  ahd
  124. #       Add aliases file to list of samples
  125. #
  126. #       Revision 1.6  1992/12/04  00:59:25  ahd
  127. #       Add copyright statements
  128. #
  129. #       Revision 1.5  1992/11/29  22:39:15  ahd
  130. #       Add *.txt files to documentation archive (for RFC's)
  131. #
  132. #       Revision 1.4  1992/11/23  02:43:59  ahd
  133. #       Add scripts (batch files) to RCS
  134. #       Change expire.com and rnews.com to exe files
  135. #
  136. #       Revision 1.3  1992/11/22  21:04:42  ahd
  137. #       Add normalize() to build
  138. #
  139. #       Revision 1.2  1992/11/18  01:34:57  ahd
  140. #       Drop -k flag
  141. #
  142. #       Revision 1.1  1992/11/10  04:11:14  ahd
  143. #       Initial revision
  144. #
  145. #       Revision 1.2  1992/05/03  17:19:14  ahd
  146. #       Add library inclusion to generation of small .COM files
  147.  
  148. .autodepend
  149.  
  150. .silent
  151.  
  152. #       The memory model to be built, and other environment
  153. #       specific information
  154.  
  155. WINMODEL=l
  156.  
  157. !if $d(__OS2__)
  158. MODEL=2
  159. SUFFIX   = $(MODEL)
  160. PSUFFIX  = 2
  161. DEFFILE  = $(TMP)\UUPCOS23.TMP
  162. !elif $d(WINDOWS)
  163. MODEL    = $(WINMODEL)
  164. SUFFIX   = w$(MODEL)
  165. PSUFFIX  = w
  166. DEFFILE  = $(TMP)\UUPCWIND.TMP
  167. !else
  168. !if !$d(MODEL)
  169. MODEL    = s
  170. !endif
  171. SUFFIX   = $(MODEL)
  172. PSUFFIX  =
  173. DEFFILE  =
  174. !endif
  175.  
  176. #       Silly hack to allow back slash as last character in variable
  177. SRC      = e:/src/uupc/
  178. SRCSLASH = $(SRC:/=\)
  179.  
  180. # *--------------------------------------------------------------------*
  181. # *   Our release number.  This is updated each time we ship it        *
  182. # *   out to some unsuspecting user, or sometimes when we do a         *
  183. # *   major fix even if we don't ship it out to the lusers.  ANY       *
  184. # *   VERSION NOT DONE ON kendra SHOULD BE TAGGED AS N.NNAm, WHERE     *
  185. # *   N.NNA IS THE NUMBER UUPC was shipped as, and 'm' any string      *
  186. # *   to indentify your special version.  Just upping the              *
  187. # *   distributed version number will confuse you AND me.              *
  188. # *--------------------------------------------------------------------*
  189.  
  190. VERS = 1.12b
  191.  
  192. # *--------------------------------------------------------------------*
  193. # *                           Directories                              *
  194. # *--------------------------------------------------------------------*
  195.  
  196. !if !$d(TMP)
  197. TMP     = \TMP
  198. !endif
  199.  
  200.  
  201. DOCS    = $(SRCSLASH)DOCS
  202. CONF    = \UUPC
  203. LIB     = $(SRCSLASH)LIB
  204. OBJ     = $(SRCSLASH)OBJBC$(SUFFIX)
  205. MAIL    = $(SRCSLASH)MAIL
  206. RNEWS   = $(SRCSLASH)RNEWS
  207. RN      = $(SRCSLASH)RN
  208. UTIL    = $(SRCSLASH)UTIL
  209. UUCICO  = $(SRCSLASH)UUCICO
  210. TEST    = $(SRCSLASH)TEST
  211. UUCP    = $(SRCSLASH)UUCP
  212. WINWORD = $(SRCSLASH)WINWORD
  213. SCRIPT  = $(SRCSLASH)SCRIPTS
  214. MAP     =
  215. .path.obj  = $(OBJ)
  216.  
  217. !if !$d(ARCHIVE)
  218. ARCHIVE = $(SRCSLASH)$(VERS)
  219. !endif
  220.  
  221. !if !$d(PROD)
  222. !if $d(__OS2__)
  223. PROD    = \UUPC\OS2BIN32
  224. !else
  225. PROD    = \UUPC\BIN
  226. !endif
  227. !endif
  228.  
  229. !if !$d(WINPROD)
  230. WINPROD = \UUPC\WINBIN
  231. !endif
  232.  
  233. FMT     = $(PROD)\FMT.COM
  234.  
  235. !if !$d(BORLANDC)
  236. !if $d(__OS2__)
  237. BORLANDC = \BCOS2
  238. !else
  239. BORLANDC = \BORLANDC
  240. !endif
  241. !endif
  242.  
  243. !if !$d(BLIB)
  244. BLIB =  $(BORLANDC)\LIB
  245. !endif
  246.  
  247. !if !$d(BINC)
  248. BINC =  $(BORLANDC)\INCLUDE
  249. !endif
  250.  
  251. !if !$d(UUPCCFG)
  252. UUPCCFG  = $(TMP)\UUPC$(SUFFIX).CFG
  253. !endif
  254.  
  255. !if !$d(UUPCDEFS)
  256. UUPCDEFS=$(TMP)\uupc$(SUFFIX).mak
  257. !endif
  258.  
  259. UUPCDEFM=$(TMP)\uupcm.mak
  260. UUPCDEFW=$(TMP)\uupcw$(WINMODEL).mak
  261.  
  262. COMMON  = $(UUPCCFG) $(UUPCDEFS) $(DEFFILE) $(LIBRARIES)
  263.  
  264. # *--------------------------------------------------------------------*
  265. # *        The names of various object files that we create.           *
  266. # *--------------------------------------------------------------------*
  267.  
  268. TIMESTMP = $(OBJ)\TIMESTMP.OBJ
  269.  
  270. WORKFILE = $(TMP)\UUPCTEMP.TMP
  271.  
  272. # *--------------------------------------------------------------------*
  273. # *                Final locations of various targets                  *
  274. # *--------------------------------------------------------------------*
  275.  
  276. LIVEFILES = $(DOCS)\ACTIVE.KEW $(DOCS)\PERMISSN.KEW $(DOCS)\ALIASES.KEW \
  277.             $(DOCS)\kendra.rc $(DOCS)\ahd.rc $(DOCS)\hostpath.kew
  278.  
  279. LISTFILES = $(WINWORD)\advanced.prn $(WINWORD)\changes.prn \
  280.             $(WINWORD)\commands.prn $(WINWORD)\files.prn \
  281.             $(WINWORD)\howtoget.prn $(WINWORD)\install.prn \
  282.             $(WINWORD)\license.prn $(WINWORD)\mail.prn \
  283.             $(WINWORD)\register.prn $(WINWORD)\tilde.prn
  284. README=     docs\00readme.now
  285.  
  286. REQUIRED= $(PROD)\mail.exe $(PROD)\rmail.exe $(PROD)\uucico.exe\
  287.           $(PROD)\uuxqt.exe
  288. SCRIPTS=  $(PROD)\su.bat $(PROD)\uuclean.bat $(PROD)\uuio.bat \
  289.           $(PROD)\waiting.bat
  290. OPTCOMM = $(PROD)\uucp.com $(PROD)\uuname.com $(PROD)\uupoll.exe\
  291.           $(PROD)\uustat.com $(PROD)\uusub.com\
  292.           $(PROD)\uuport.com \
  293.           $(PROD)\uux.com $(FMT) $(PROD)\gensig.com $(PROD)\novrstrk.com
  294.  
  295. !if $d(__OS2__)
  296. OPTIONAL= $(OPTCOMM:.com=.exe) \
  297.           $(SCRIPTS:.bat=.cmd) $(PROD)\mailchek.cmd $(PROD)\getuupc.cmd
  298. !else
  299. OPTIONAL= $(OPTCOMM) $(PROD)\comm34.com $(SCRIPTS)
  300.  
  301. # *--------------------------------------------------------------------*
  302. # *      Of the "required" modules, we only build UUCICO under         *
  303. # *      Windows because the MAIL program is ugly and we prefer        *
  304. # *      UUXQT run RMAIL and RNEWS as normal DOS programs.             *
  305. # *--------------------------------------------------------------------*
  306.  
  307. #WREQUIRED=$(WINPROD)\mail.exe $(WINPROD)\rmail.exe $(WINPROD)\uucico.exe\
  308. #          $(WINPROD)\uuxqt.exe
  309. WREQUIRED=$(WINPROD)\uucico.exe
  310. WOPTIONAL=$(WINPROD)\uucp.exe $(WINPROD)\uuname.exe $(WINPROD)\uupoll.exe\
  311.           $(WINPROD)\uustat.exe $(WINPROD)\uusub.exe $(WINPROD)\uux.exe
  312. WNEWS    =$(WINPROD)\expire.exe
  313. #         $(WINPROD)\rnews.exe $(WINPROD)\rn.exe $(WINPROD)\newsetup.exe
  314. !endif
  315.  
  316. NEWS    = $(PROD)\RNEWS.EXE $(PROD)\EXPIRE.EXE
  317. #         $(PROD)\rn.exe $(PROD)\newsetup.exe
  318.  
  319. INSTALL = $(REQUIRED) $(OPTIONAL) $(NEWS) $(WREQUIRED) $(WOPTIONAL) $(WNEWS)
  320.  
  321. SAMPLES = $(DOCS)\SYSTEMS $(DOCS)\PASSWD $(DOCS)\HOSTPATH \
  322.           $(DOCS)\personal.rc $(DOCS)\uupc.rc \
  323.           $(DOCS)\personal.sig $(DOCS)\aliases.txt \
  324.           $(DOCS)\mail.ico $(DOCS)\uucico.ico $(DOCS)\up-pif.dvp
  325. SAMPLEX = SYSTEMS PASSWD HOSTPATH *.RC *.MDM PERSONAL.SIG ALIASES.TXT *.ICO
  326.  
  327. MAKEFILE = $(SRCSLASH)MAKEFILE
  328.  
  329. UUPCLIB  = $(TMP)\CUUPC$(SUFFIX).LIB
  330. UUPCLIBW = $(TMP)\CUUPCW$(SUFFIX).LIB
  331.  
  332. !if $d(__OS2__)
  333. STARTUP  = $(BLIB)\C02.obj
  334. LIBRARY2 = $(BLIB)\C2.LIB
  335. LIBRARY3 = $(BLIB)\os2.LIB
  336. LIBRARY  = $(UUPCLIB)+$(LIBRARY2)+$(LIBRARY3)
  337. !elif $d(WINDOWS)
  338. STARTUP  = $(BLIB)\C0$(SUFFIX)
  339. LIBRARY2 = $(BLIB)\C$(SUFFIX).LIB
  340. LIBRARY3 = $(BLIB)\IMPORT.LIB
  341. LIBRARY  = $(UUPCLIB)+$(LIBRARY2)+$(LIBRARY3)
  342. !else
  343. STARTUP  = $(BLIB)\C0$(SUFFIX)
  344. STARTUPT = $(BLIB)\C0T
  345. LIBRARY2 = $(BLIB)\C$(SUFFIX).LIB
  346. LIBRARY  = $(UUPCLIB)+$(LIBRARY2)
  347. !endif
  348.  
  349. LIBRARIES= $(LIBRARY:+= )
  350.  
  351. COMMON  = $(UUPCCFG) $(UUPCDEFS) $(DEFFILE) $(LIBRARIES)
  352.  
  353. ZIPPREFIXX=UPC$(VERS:.=)
  354. ZIPPREFIX=$(ZIPPREFIXX:C1=C)
  355.  
  356. !if $d(__OS2__)
  357. REQZIPV = $(ARCHIVE)\$(ZIPPREFIX)21.ZIP
  358. OPTZIPV = $(ARCHIVE)\$(ZIPPREFIX)22.ZIP
  359. NEWZIPV = $(ARCHIVE)\$(ZIPPREFIX)23.ZIP
  360. !else
  361. REQZIPV = $(ARCHIVE)\$(ZIPPREFIX)D1.ZIP
  362. OPTZIPV = $(ARCHIVE)\$(ZIPPREFIX)D2.ZIP
  363. NEWZIPV = $(ARCHIVE)\$(ZIPPREFIX)D3.ZIP
  364. WREQZIPV = $(ARCHIVE)\$(ZIPPREFIX)W1.ZIP
  365. WOPTZIPV = $(ARCHIVE)\$(ZIPPREFIX)W2.ZIP
  366. WNEWZIPV = $(ARCHIVE)\$(ZIPPREFIX)W3.ZIP
  367. !endif
  368.  
  369. DOCZIPV = $(ARCHIVE)\$(ZIPPREFIX)AD.ZIP
  370. WFWZIPV = $(ARCHIVE)\$(ZIPPREFIX)AW.ZIP
  371. PSZIPV  = $(ARCHIVE)\$(ZIPPREFIX)AP.ZIP
  372. SRCZIPV1 = $(ARCHIVE)\$(ZIPPREFIX)S1.ZIP
  373. SRCZIPV2 = $(ARCHIVE)\$(ZIPPREFIX)S2.ZIP
  374.  
  375. # *--------------------------------------------------------------------*
  376. # *     Various Program names and their options                        *
  377. # *--------------------------------------------------------------------*
  378.  
  379. CC = BCC +$(UUPCCFG)
  380. LINKER  = TLINK
  381.  
  382. !if $d(__OS2__)
  383. LINKOPTN = /c /x /Toe /ap /B:0x10000
  384. !elif $d(WINDOWS)
  385. LINKOPTN = /c /x /yx /Twe
  386. LINKOPTT = /c /x /t /Twe
  387. !else
  388. LINKOPTN = /c /x /yx
  389. LINKOPTT = /c /x /t
  390. !endif
  391.  
  392. LINKOPTD = $(LINKOPTN) /v
  393.  
  394. TASM    = tasm.exe
  395. TASMOPT = /mx /z /zi /w3 /DUUPC
  396. ZIP     = zip
  397. ZIPOPT1 = -o -9 -u $< -@
  398. ZIPOPT2 = -j $(ZIPOPT1)
  399.  
  400. !if $d(__OS2__)
  401. MAKER=make
  402. !else
  403. MAKER=maker
  404. !endif
  405.  
  406. # *--------------------------------------------------------------------*
  407. # *                Begin rules for building modules.                   *
  408. # *                                                                    *
  409. # *        The first definition is the one built by default.           *
  410. # *--------------------------------------------------------------------*
  411.  
  412. # *--------------------------------------------------------------------*
  413. # *     test builds the basic UUPC modules in the source directory.    *
  414. # *--------------------------------------------------------------------*
  415.  
  416. !if $d(__OS2__)
  417. test:    mail$(PSUFFIX).exe uucico$(PSUFFIX).exe rmail$(PSUFFIX).exe\
  418.          uuxqt$(PSUFFIX).exe uucp$(PSUFFIX).exe uupoll$(PSUFFIX).exe\
  419.          uuport$(PSUFFIX).exe\
  420.          uux$(PSUFFIX).exe uustat$(PSUFFIX).exe uusub$(PSUFFIX).exe\
  421.          uuname$(PSUFFIX).exe rnews$(PSUFFIX).exe expire$(PSUFFIX).exe
  422. !else
  423.  
  424. test:    mail.exe uucico.exe\
  425.          rmail.exe uuxqt.exe uucp.exe uupoll.exe\
  426.          uux.exe uustat.exe uusub.exe\
  427.          rnews.exe expire.exe
  428.  
  429. windows: mailw.exe uucicow.exe\
  430.          rmailw.exe uuxqtw.exe uucpw.exe uupollw.exe\
  431.          uuxw.exe uustatw.exe uusubw.exe\
  432.          rnewsw.exe expirew.exe
  433. !endif
  434.  
  435. # *--------------------------------------------------------------------*
  436. # *   Prod build the basic modules and then moves them to $(PROD)      *
  437. # *--------------------------------------------------------------------*
  438.  
  439. !if $d(__OS2__)
  440. prod:   $(REQUIRED:.com=.exe) $(OPTIONAL:.com=.exe) $(NEWS:.com=.exe)
  441.         - erase $(TIMESTMP)
  442.         - erase $(UUPCLIB)
  443. !else
  444. prod:   $(INSTALL)
  445.         - erase $(TIMESTMP)
  446.         - erase $(UUPCLIB)
  447. !endif
  448.  
  449. winprod:  commonw $(WREQUIRED) $(WOPTIONAL) $(WNEWS)
  450.         - del *.tds
  451.  
  452. required: $(REQUIRED)
  453.  
  454. # *--------------------------------------------------------------------*
  455. # *     Install builds the UUPC modules, installs the executables      *
  456. # *     in the production directory, formats the documentation files,  *
  457. # *     and creates PKZIP files for giving away.                       *
  458. # *--------------------------------------------------------------------*
  459.  
  460.  
  461. !if $d(__OS2__)
  462. install:
  463.         $(MAKER) -DNDEBUG=1 installx
  464. !else
  465. install: installx $(WREQZIPV) $(WOPTZIPV) $(WNEWZIPV)
  466. !endif
  467.  
  468. doczip:  $(DOCZIPV)
  469.  
  470. installx: $(INSTALL) $(REQZIPV) $(OPTZIPV) $(NEWZIPV) \
  471.           $(SRCZIPV1) $(SRCZIPV2) regen
  472.         - erase $(WORKFILE)
  473.         @echo Installed UUPC and created ZIP files $(REQZIPV),
  474.         @echo $(WREQZIPV), $(WOPTZIPV), $(WNEWZIPV),
  475.         @echo $(OPTZIPV), $(NEWZIPV),
  476.         @echo $(SRCZIPV1), $(SRCZIPV2)
  477.         - erase $(TIMESTMP)
  478.         - erase $(UUPCLIB)
  479.  
  480. # *--------------------------------------------------------------------*
  481. # *                 Build just the source .ZIP file.                   *
  482. # *--------------------------------------------------------------------*
  483.  
  484. szip:   $(SRCZIPV1) $(SRCZIPV2)
  485.  
  486. #       Do a purge of various temporary output files.
  487.  
  488. clean:
  489.         wipeinfo $(SRCSLASH)*.com /n /s /batch
  490.         wipeinfo $(SRCSLASH)*.exe /n /s /batch
  491.         wipeinfo $(SRCSLASH)*.tds /n /s /batch
  492.         wipeinfo $(SRCSLASH)*.lib /n /s /batch
  493.         wipeinfo $(SRCSLASH)*.obj /n /s /batch
  494.         wipeinfo $(SRCSLASH)*.o   /n /s /batch
  495.         wipeinfo $(SRCSLASH)*.map /n /s /batch
  496.  
  497. # *--------------------------------------------------------------------*
  498. # *           The production copies of executables follow.             *
  499. # *--------------------------------------------------------------------*
  500.  
  501. !if $d(__OS2__)
  502. $(PROD)\mail.exe: mail$(PSUFFIX).exe
  503.         - erase $<
  504.         move $? $<
  505.         - erase $(?B: =.tds)
  506.  
  507. $(PROD)\uucp.exe: uucp$(PSUFFIX).exe
  508.         - erase $<
  509.         move $? $<
  510.         - erase $(?B: =.tds)
  511.  
  512. $(PROD)\uusub.exe: uusub$(PSUFFIX).exe
  513.         - erase $<
  514.         move $? $<
  515.         - erase $(?B: =.tds)
  516.  
  517. $(PROD)\uuxqt.exe: uuxqt$(PSUFFIX).exe
  518.         - erase $<
  519.         move $? $<
  520.         - erase $(?B: =.tds)
  521.  
  522. $(PROD)\uupoll.exe: uupoll$(PSUFFIX).exe
  523.         - erase $<
  524.         move $? $<
  525.         - erase $(?B: =.tds)
  526.  
  527. $(PROD)\uuport.exe: uuport$(PSUFFIX).exe
  528.         - erase $<
  529.         move $? $<
  530.         - erase $(?B: =.tds)
  531.  
  532. $(PROD)\rmail.exe: rmail$(PSUFFIX).exe
  533.         - erase $<
  534.         move $? $<
  535.         - erase $(?B: =.tds)
  536.  
  537. $(PROD)\uustat.exe: uustat$(PSUFFIX).exe
  538.         - erase $<
  539.         move $? $<
  540.         - erase $(?B: =.tds)
  541.  
  542. $(PROD)\uux.exe: uux$(PSUFFIX).exe
  543.         - erase $<
  544.         move $? $<
  545.         - erase $(?B: =.tds)
  546.  
  547. $(PROD)\uuname.exe: uuname$(PSUFFIX).exe
  548.         - erase $<
  549.         move $? $<
  550.         - erase $(?B: =.tds)
  551.  
  552. $(FMT): fmt$(PSUFFIX).exe
  553.         - erase $<
  554.         move $? $<
  555.         - erase $(?B: =.tds)
  556.  
  557. $(PROD)\gensig.exe: gensig$(PSUFFIX).exe
  558.         - erase $<
  559.         move $? $<
  560.         - erase $(?B: =.tds)
  561.  
  562. $(PROD)\novrstrk.exe: novrstrk.exe
  563.         - erase $<
  564.         move $? $<
  565.         - erase $(?B: =.tds)
  566.  
  567. $(PROD)\uucico.exe: uucico$(PSUFFIX).exe
  568.         - erase $<
  569.         move $? $<
  570.         - erase $(?B: =.tds)
  571.  
  572. $(PROD)\rnews.exe: rnews$(PSUFFIX).exe
  573.         - erase $<
  574.         move $? $<
  575.         - erase $(?B: =.tds)
  576.  
  577. $(PROD)\rn.exe: rn$(PSUFFIX).exe
  578.         - erase $<
  579.         move $? $<
  580.         - erase $(?B: =.tds)
  581.  
  582. $(PROD)\newsetup.exe: newsetup$(PSUFFIX).exe
  583.         - erase $<
  584.         move $? $<
  585.         - erase $(?B: =.tds)
  586.  
  587. $(PROD)\expire.exe: expire$(PSUFFIX).exe
  588.         - erase $<
  589.         move $? $<
  590.         - erase $(?B: =.tds)
  591.  
  592. $(PROD)\su.cmd: $(SCRIPT)\su.cmd
  593.         copy $? $<
  594.  
  595. $(PROD)\uuio.cmd: $(SCRIPT)\uuio.cmd
  596.         copy $? $<
  597.  
  598. $(PROD)\uuclean.cmd: $(SCRIPT)\uuclean.cmd
  599.         copy $? $<
  600.  
  601. $(PROD)\waiting.cmd: $(SCRIPT)\waiting.cmd
  602.         copy $? $<
  603.  
  604. $(PROD)\getuupc.cmd: $(SCRIPT)\getuupc.cmd
  605.         copy $? $<
  606.  
  607. $(PROD)\mailchek.cmd: $(SCRIPT)\mailchek.cmd
  608.         copy $? $<
  609.  
  610. !else
  611.  
  612. $(PROD)\mail.exe: mail.exe
  613.         - erase $<
  614.         move $? $<
  615.         - erase $(?B: =.tds)
  616.  
  617. $(PROD)\uucp.com: uucp.com
  618.         - erase $<
  619.         move $? $<
  620.         - erase $(?B: =.tds)
  621.  
  622. $(PROD)\uusub.com: uusub.com
  623.         - erase $<
  624.         move $? $<
  625.         - erase $(?B: =.tds)
  626.  
  627. $(PROD)\uuxqt.exe: uuxqt.exe
  628.         - erase $<
  629.         move $? $<
  630.         - erase $(?B: =.tds)
  631.  
  632. $(PROD)\uupoll.exe: uupoll.exe
  633.         - erase $<
  634.         move $? $<
  635.         - erase $(?B: =.tds)
  636.  
  637. $(PROD)\rmail.exe: rmail.exe
  638.         - erase $<
  639.         move $? $<
  640.         - erase $(?B: =.tds)
  641.  
  642. $(PROD)\uustat.com: uustat.com
  643.         - erase $<
  644.         move $? $<
  645.         - erase $(?B: =.tds)
  646.  
  647. $(PROD)\uux.com: uux.com
  648.         - erase $<
  649.         move $? $<
  650.         - erase $(?B: =.tds)
  651.  
  652. $(PROD)\comm34.com: comm34.com
  653.         - erase $<
  654.         move $? $<
  655.         - erase $(?B: =.tds)
  656.  
  657. $(PROD)\uuname.com: uuname.com
  658.         - erase $<
  659.         move $? $<
  660.         - erase $(?B: =.tds)
  661.  
  662. $(FMT): fmt.com
  663.         - erase $<
  664.         move $? $<
  665.         - erase $(?B: =.tds)
  666.  
  667. $(PROD)\gensig.com: gensig.com
  668.         - erase $<
  669.         move $? $<
  670.         - erase $(?B: =.tds)
  671.  
  672. $(PROD)\novrstrk.com: novrstrk.com
  673.         - erase $<
  674.         move $? $<
  675.         - erase $(?B: =.tds)
  676.  
  677. $(PROD)\uucico.exe: uucico.exe
  678.         - erase $<
  679.         move $? $<
  680.         - erase $(?B: =.tds)
  681.  
  682. $(PROD)\uuport.com: uuport.com
  683.         - erase $<
  684.         move $? $<
  685.         - erase $(?B: =.tds)
  686.  
  687. $(PROD)\rnews.exe: rnews.exe
  688.         - erase $<
  689.         move $? $<
  690.         - erase $(?B: =.tds)
  691.  
  692. $(PROD)\rn.exe: rn.exe
  693.         - erase $<
  694.         move $? $<
  695.         - erase $(?B: =.tds)
  696.  
  697. $(PROD)\newsetup.exe: newsetup.exe
  698.         - erase $<
  699.         move $? $<
  700.         - erase $(?B: =.tds)
  701.  
  702. $(PROD)\expire.exe: expire.exe
  703.         - erase $<
  704.         move $? $<
  705.         - erase $(?B: =.tds)
  706.  
  707. $(PROD)\su.bat: $(SCRIPT)\su.bat
  708.         copy $? $<
  709.  
  710. $(PROD)\uuio.bat: $(SCRIPT)\uuio.bat
  711.         copy $? $<
  712.  
  713. $(PROD)\uuclean.bat: $(SCRIPT)\uuclean.bat
  714.         copy $? $<
  715.  
  716. $(PROD)\waiting.bat: $(SCRIPT)\waiting.bat
  717.         copy $? $<
  718.  
  719. # *--------------------------------------------------------------------*
  720. # *                       Windows executables                          *
  721. # *--------------------------------------------------------------------*
  722.  
  723. $(WINPROD)\mail.exe: mailw.exe
  724.         - erase $<
  725.         move $? $<
  726.         - erase $(?B: =.tds)
  727.  
  728. $(WINPROD)\uucp.exe: uucpw.exe
  729.         - erase $<
  730.         move $? $<
  731.         - erase $(?B: =.tds)
  732.  
  733. $(WINPROD)\uusub.exe: uusubw.exe
  734.         - erase $<
  735.         move $? $<
  736.         - erase $(?B: =.tds)
  737.  
  738. $(WINPROD)\uuxqt.exe: uuxqtw.exe
  739.         - erase $<
  740.         move $? $<
  741.         - erase $(?B: =.tds)
  742.  
  743. $(WINPROD)\uupoll.exe: uupollw.exe
  744.         - erase $<
  745.         move $? $<
  746.         - erase $(?B: =.tds)
  747.  
  748. $(WINPROD)\rmail.exe: rmailw.exe
  749.         - erase $<
  750.         move $? $<
  751.         - erase $(?B: =.tds)
  752.  
  753. $(WINPROD)\uustat.exe: uustatw.exe
  754.         - erase $<
  755.         move $? $<
  756.         - erase $(?B: =.tds)
  757.  
  758. $(WINPROD)\uux.exe: uuxw.exe
  759.         - erase $<
  760.         move $? $<
  761.         - erase $(?B: =.tds)
  762.  
  763. $(WINPROD)\uuname.exe: uunamew.exe
  764.         - erase $<
  765.         move $? $<
  766.         - erase $(?B: =.tds)
  767.  
  768. $(WINPROD)\uucico.exe: uucicow.exe
  769.         - erase $<
  770.         move $? $<
  771.         - erase $(?B: =.tds)
  772.  
  773. $(WINPROD)\rnews.exe: rnewsw.exe
  774.         - erase $<
  775.         move $? $<
  776.         - erase $(?B: =.tds)
  777.  
  778. $(WINPROD)\rn.exe: rnw.exe
  779.         - erase $<
  780.         move $? $<
  781.         - erase $(?B: =.tds)
  782.  
  783. $(WINPROD)\newsetup.exe: newsetupw.exe
  784.         - erase $<
  785.         move $? $<
  786.         - erase $(?B: =.tds)
  787.  
  788. $(WINPROD)\expire.exe: expirew.exe
  789.         - erase $<
  790.         move $? $<
  791.         - erase $(?B: =.tds)
  792. !endif
  793.  
  794. # *--------------------------------------------------------------------*
  795. # *                         The .ZIP files.                            *
  796. # *--------------------------------------------------------------------*
  797.  
  798. # *--------------------------------------------------------------------*
  799. # *                           UUPCSRC.ZIP                              *
  800. # *--------------------------------------------------------------------*
  801.  
  802. $(SRCZIPV1): $(MAKEFILE) $(SRCSLASH)mscmake \
  803.              $(UUPCCFG) $(UUPCDEFS) $(DEFFILE) $(README)
  804.         - mkdir $:.
  805.        -12 $(ZIP) $(ZIPOPT1) < &&%
  806. MSCMAKE
  807. LIB\*.C
  808. LIB\*.H
  809. LIB\*.MAK
  810. MAIL\*.C
  811. MAIL\*.H
  812. MAIL\*.MAK
  813. UUCICO\*.ASM
  814. UUCICO\*.C
  815. UUCICO\*.H
  816. UUCICO\*.MAK
  817. UUCP\*.C
  818. UUCP\*.H
  819. UUCP\*.MAK
  820. %
  821.        -12 $(ZIP) $(ZIPOPT2) < &&%
  822. $(README)
  823. $(MAKEFILE)
  824. %
  825.        zip -z $< <  &&%
  826. UUPC/extended $(VERS) source files (1 of 2)
  827.  
  828. Changes and Compilation Copyright (c) 1989-1993 by Kendra Electronic
  829. Wonderworks.  May be distributed freely if original source and documentation
  830. files are included.  Please direct all questions on UUPC/extended to
  831. help@kew.com.
  832. .
  833. %
  834.  
  835. $(SRCZIPV2): $(MAKEFILE) \
  836.              $(UUPCCFG) $(UUPCDEFS) $(DEFFILE) $(README)
  837.         - mkdir $:.
  838.        -12 $(ZIP) $(ZIPOPT1) < &&%
  839. RNEWS\*.C
  840. RNEWS\*.H
  841. RNEWS\*.MAK
  842. TEST\*.C
  843. TEST\*.H
  844. TEST\*.MAK
  845. UTIL\*.C
  846. UTIL\*.H
  847. UTIL\*.MAK
  848. %
  849.        -12 $(ZIP) $(ZIPOPT2) < &&%
  850. $(README)
  851. %
  852.        zip -z $< <  &&%
  853. UUPC/extended $(VERS) source files (2 of 2)
  854.  
  855. Changes and Compilation Copyright (c) 1989-1993 by Kendra Electronic
  856. Wonderworks.  May be distributed freely if original source and documentation
  857. files are included.  Please direct all questions on UUPC/extended to
  858. help@kew.com.
  859. %
  860.  
  861. # *--------------------------------------------------------------------*
  862. # *       UUPCWIN.ZIP - Word for Windows unformatted documents         *
  863. # *--------------------------------------------------------------------*
  864.  
  865. $(WFWZIPV):  $(WINWORD)\uupcuser.doc $(WINWORD)\manual.dot $(README)
  866.         - mkdir $:.
  867.        -12 $(ZIP) $(ZIPOPT2) < &&%
  868. $?
  869. %
  870.        zip -z $< < &&%
  871. UUPC/extended $(VERS) Word for Windows Document Source
  872.  
  873. Changes and Compilation Copyright (c) 1989-1993 by Kendra Electronic
  874. Wonderworks.  May be distributed freely if original source and documentation
  875. files are included.  Please direct all questions on UUPC/extended to
  876. help@kew.com.
  877. %
  878.  
  879. # *--------------------------------------------------------------------*
  880. # *                UUPCREQ.ZIP - Required Executables                  *
  881. # *--------------------------------------------------------------------*
  882.  
  883. $(REQZIPV):  $(REQUIRED) $(README)
  884.         - mkdir $:.
  885.        -12 $(ZIP) $(ZIPOPT2) < &&%
  886. $(REQUIRED)
  887. $(README)
  888. %
  889.        zip -z $< <  &&%
  890. UUPC/extended $(VERS) DOS executables (1 of 3)
  891.  
  892. Changes and Compilation Copyright (c) 1989-1993 by Kendra Electronic
  893. Wonderworks.  May be distributed freely if original source and documentation
  894. files are included.  Please direct all questions on UUPC/extended to
  895. help@kew.com.
  896. %
  897.  
  898. # *--------------------------------------------------------------------*
  899. # *                UUPCOPT.ZIP - Optional Executables                  *
  900. # *--------------------------------------------------------------------*
  901.  
  902. $(OPTZIPV):  $(OPTIONAL) $(README)
  903.         - mkdir $:.
  904.        -12 $(ZIP) $(ZIPOPT2) < &&%
  905. $?
  906. %
  907.        zip -z $< <  &&%
  908. UUPC/extended $(VERS) DOS executables (2 of 3)
  909.  
  910. Changes and Compilation Copyright (c) 1989-1993 by Kendra Electronic
  911. Wonderworks.  May be distributed freely if original source and documentation
  912. files are included.  Please direct all questions on UUPC/extended to
  913. help@kew.com.
  914. %
  915.  
  916. # *--------------------------------------------------------------------*
  917. # *                 UUPC/extended - NEWS executables                   *
  918. # *--------------------------------------------------------------------*
  919.  
  920. $(NEWZIPV):  $(NEWS) $(README)
  921.         - mkdir $:.
  922.        -12 $(ZIP) $(ZIPOPT2) < &&%
  923. $?
  924. %
  925.        zip -z $< <  &&%
  926. UUPC/extended $(VERS) DOS executables (3 of 3)
  927.  
  928. Changes and Compilation Copyright (c) 1989-1993 by Kendra Electronic
  929. Wonderworks.  May be distributed freely if original source and documentation
  930. files are included.  Please direct all questions on UUPC/extended to
  931. help@kew.com.
  932. %
  933.  
  934. # *--------------------------------------------------------------------*
  935. # *        UUPCDOC.ZIP - Formatted (Human readable) documents          *
  936. # *--------------------------------------------------------------------*
  937.  
  938. docs: $(DOCZIPV) $(WFWZIPV) $(PSZIPV)
  939.  
  940. $(DOCZIPV): $(SAMPLES) $(LIVEFILES) $(LISTFILES) $(README)
  941.         - mkdir $:.
  942.        -12 $(ZIP) $(ZIPOPT2) < &&%
  943. $?
  944. %
  945.        -12 $(ZIP) $(ZIPOPT2) < &&%
  946. $(DOCS)\*.mdm
  947. $(DOCS)\*.inf
  948. $(DOCS)\*.txt
  949. $(DOCS)\*.spb
  950. %
  951.        zip -z $< < &&%
  952. UUPC/extended $(VERS) documents and sample files
  953.  
  954. Changes and Compilation Copyright (c) 1989-1993 by Kendra Electronic
  955. Wonderworks.  May be distributed freely if original source and documentation
  956. files are included.  Please direct all questions on UUPC/extended to
  957. help@kew.com.
  958. %
  959.  
  960. $(PSZIPV): $(LISTFILES:.prn=.ps) $(README)
  961.         - mkdir $:.
  962.        -12 $(ZIP) $(ZIPOPT2) < &&%
  963. $?
  964. %
  965.        zip -z $< < &&%
  966. UUPC/extended $(VERS) documents in PostScript format
  967.  
  968. Changes and Compilation Copyright (c) 1989-1993 by Kendra Electronic
  969. Wonderworks.  May be distributed freely if original source and documentation
  970. files are included.  Please direct all questions on UUPC/extended to
  971. help@kew.com.
  972. %
  973.  
  974. # *--------------------------------------------------------------------*
  975. # *                           Common build                             *
  976. # *--------------------------------------------------------------------*
  977.  
  978. common: $(.path.obj) $(COMMON)  $(DEFFILE)
  979.  
  980. commonm:
  981.         @echo $(MAKER) -f$(MAKEFILE) -DMODEL=m common
  982.         $(MAKER) -f$(MAKEFILE) -DMODEL=m common
  983.  
  984. commonw:
  985.         $(MAKER) -f$(MAKEFILE) -DWINDOWS common
  986.  
  987. # *--------------------------------------------------------------------*
  988. # *                     Link our various modules                       *
  989. # *--------------------------------------------------------------------*
  990.  
  991. !if $d(__OS2__)
  992.  
  993. mail$(PSUFFIX).exe: common
  994.         $(MAKER) -f$(MAIL)\mail.mak -DUUPCDEFS=$(UUPCDEFS) $<
  995.  
  996. rmail$(PSUFFIX).exe: common
  997.         $(MAKER) -f$(MAIL)\mail.mak -DUUPCDEFS=$(UUPCDEFS) $<
  998.  
  999. uucp$(PSUFFIX).exe: common
  1000.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1001.  
  1002. uuname$(PSUFFIX).exe: common
  1003.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1004.  
  1005. uustat$(PSUFFIX).exe: common
  1006.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1007.  
  1008. uusub$(PSUFFIX).exe: common
  1009.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1010.  
  1011. uux$(PSUFFIX).exe: common
  1012.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1013.  
  1014. uuxqt$(PSUFFIX).exe: common
  1015.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1016.  
  1017. fmt$(PSUFFIX).exe: common
  1018.         $(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1019.  
  1020. gensig$(PSUFFIX).exe: common
  1021.         $(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1022.  
  1023. novrstrk.exe: common
  1024.         $(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1025.  
  1026. uupoll$(PSUFFIX).exe: common
  1027.         $(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1028.  
  1029. uuport$(PSUFFIX).exe: common
  1030.         $(MAKER) -f$(UUCICO)\uucico.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1031.  
  1032. expire$(PSUFFIX).exe: common
  1033.         $(MAKER) -f$(RNEWS)\rnews.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1034.  
  1035. rnews$(PSUFFIX).exe: common
  1036.         $(MAKER) -f$(RNEWS)\rnews.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1037.  
  1038. uucico$(PSUFFIX).exe: common
  1039.         $(MAKER) -f$(UUCICO)\UUCICO.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1040.  
  1041. rn$(PSUFFIX).exe: common
  1042.         $(MAKER) -f$(RN)\RN.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1043.  
  1044. newsetup$(PSUFFIX).exe: common
  1045.         $(MAKER) -f$(RN)\RN.mak -DUUPCDEFS=$(UUPCDEFM) $<
  1046.  
  1047. !else
  1048. mail.exe: commonm
  1049.         $(MAKER) -f$(MAIL)\mail.mak -DUUPCDEFS=$(UUPCDEFM) $<
  1050.  
  1051. rmail.exe: common
  1052.         $(MAKER) -f$(MAIL)\mail.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1053.  
  1054. uucp.exe: common
  1055.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1056.  
  1057. uuname.exe: common
  1058.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1059.  
  1060. uustat.exe: common
  1061.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1062.  
  1063. uusub.exe: common
  1064.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1065.  
  1066. uux.exe: common
  1067.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1068.  
  1069. uuxqt.exe: common
  1070.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1071.  
  1072. uupoll.exe: common
  1073.         $(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1074.  
  1075. expire.exe: common
  1076.         $(MAKER) -f$(RNEWS)\rnews.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1077.  
  1078. rnews.exe: common
  1079.         $(MAKER) -f$(RNEWS)\rnews.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1080.  
  1081. uucico.exe: commonm
  1082.         $(MAKER) -f$(UUCICO)\UUCICO.mak -DUUPCDEFS=$(UUPCDEFM) $<
  1083.  
  1084. uuport.com: commonm
  1085.         $(MAKER) -f$(UUCICO)\UUCICO.mak -DUUPCDEFS=$(UUPCDEFM) $<
  1086.  
  1087. rn.exe: commonm
  1088.         $(MAKER) -f$(RN)\RN.mak -DUUPCDEFS=$(UUPCDEFM) $<
  1089.  
  1090. newsetup.exe: commonm
  1091.         $(MAKER) -f$(RN)\RN.mak -DUUPCDEFS=$(UUPCDEFM) $<
  1092.  
  1093. uucp.com: common
  1094.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1095.  
  1096. uuname.com: common
  1097.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1098.  
  1099. uustat.com: common
  1100.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1101.  
  1102. uusub.com: common
  1103.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1104.  
  1105. uux.com: common
  1106.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1107.  
  1108. comm34.com: common
  1109.         $(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1110.  
  1111. fmt.com: common
  1112.         $(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1113.  
  1114. gensig.com: common
  1115.         $(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1116.  
  1117. novrstrk.com: common
  1118.         $(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1119.  
  1120. # *--------------------------------------------------------------------*
  1121. # *                     Link our Windows modules                       *
  1122. # *--------------------------------------------------------------------*
  1123.  
  1124. mailw.exe: commonw
  1125.         $(MAKER) -f$(MAIL)\mail.mak -DUUPCDEFS=$(UUPCDEFW) $<
  1126.  
  1127. rmailw.exe: commonw
  1128.         $(MAKER) -f$(MAIL)\mail.mak -DUUPCDEFS=$(UUPCDEFW) $<
  1129.  
  1130. uucpw.exe: commonw
  1131.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFW) $<
  1132.  
  1133. uunamew.exe: commonw
  1134.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFW) $<
  1135.  
  1136. uunamew.com: commonw
  1137.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFW) $<
  1138.  
  1139. uustatw.exe: commonw
  1140.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFW) $<
  1141.  
  1142. uusubw.exe: commonw
  1143.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFW) $<
  1144.  
  1145. uuxw.exe: commonw
  1146.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFW) $<
  1147.  
  1148. uuxqtw.exe: commonw
  1149.         $(MAKER) -f$(UUCP)\uucp.mak -DUUPCDEFS=$(UUPCDEFW) $<
  1150.  
  1151. uupollw.exe: commonw
  1152.         $(MAKER) -f$(UTIL)\util.mak -DUUPCDEFS=$(UUPCDEFW) $<
  1153.  
  1154. expirew.exe: commonw
  1155.         $(MAKER) -f$(RNEWS)\rnews.mak -DUUPCDEFS=$(UUPCDEFW) $<
  1156.  
  1157. rnewsw.exe: commonw
  1158.         $(MAKER) -f$(RNEWS)\rnews.mak -DUUPCDEFS=$(UUPCDEFW) $<
  1159.  
  1160. uucicow.exe: commonw
  1161.         $(MAKER) -f$(UUCICO)\UUCICO.mak -DUUPCDEFS=$(UUPCDEFW) $<
  1162.  
  1163. # *--------------------------------------------------------------------*
  1164. # *               WUUPCREQ.ZIP - Required Windows Executables          *
  1165. # *--------------------------------------------------------------------*
  1166.  
  1167. $(WREQZIPV):  $(WREQUIRED) $(README)
  1168.         - mkdir $:.
  1169.        -12 $(ZIP) $(ZIPOPT2) < &&%
  1170. $?
  1171. %
  1172.        zip -z $< <  &&%
  1173. UUPC/extended $(VERS) Windows 3.x executables (1 of 3)
  1174.  
  1175. Special thanks to Robert B. Denny for performing the Windows 3.x port.
  1176.  
  1177. Changes and Compilation Copyright (c) 1989-1993 by Kendra Electronic
  1178. Wonderworks.  May be distributed freely if original source and documentation
  1179. files are included.  Please direct all questions on UUPC/extended to
  1180. help@kew.com.
  1181. %
  1182.  
  1183. # *--------------------------------------------------------------------*
  1184. # *               WUUPCOPT.ZIP - Optional Windows Executables          *
  1185. # *--------------------------------------------------------------------*
  1186.  
  1187. $(WOPTZIPV):  $(WOPTIONAL) $(README)
  1188.         - mkdir $:.
  1189.        -12 $(ZIP) $(ZIPOPT2) < &&%
  1190. $?
  1191. %
  1192.        zip -z $< <  &&%
  1193. UUPC/extended $(VERS) Windows 3.x executables (2 of 3)
  1194.  
  1195. Special thanks to Robert B. Denny for performing the Windows 3.x port.
  1196.  
  1197. Changes and Compilation Copyright (c) 1989-1993 by Kendra Electronic
  1198. Wonderworks.  May be distributed freely if original source and documentation
  1199. files are included.  Please direct all questions on UUPC/extended to
  1200. help@kew.com.
  1201. %
  1202.  
  1203. # *--------------------------------------------------------------------*
  1204. # *                 UUPC/extended - NEWS executables                   *
  1205. # *--------------------------------------------------------------------*
  1206.  
  1207. $(WNEWZIPV):  $(WNEWS) $(README)
  1208.         - mkdir $:.
  1209.        -12 $(ZIP) $(ZIPOPT2) < &&%
  1210. $?
  1211. %
  1212.        zip -z $< <  &&%
  1213. UUPC/extended $(VERS) Windows 3.x executables (3 of 3)
  1214.  
  1215. Special thanks to Robert B. Denny for performing the Windows 3.x port.
  1216.  
  1217. Changes and Compilation Copyright (c) 1989-1993 by Kendra Electronic
  1218. Wonderworks.  May be distributed freely if original source and documentation
  1219. files are included.  Please direct all questions on UUPC/extended to
  1220. help@kew.com.
  1221. %
  1222. !endif
  1223.  
  1224. $(.path.obj):
  1225.         - mkdir $(.path.obj)
  1226.  
  1227. # *--------------------------------------------------------------------*
  1228. # *     Force a regeneration of the time stamp/version module.         *
  1229. # *--------------------------------------------------------------------*
  1230.  
  1231. regen:  $(LIB)\timestmp.c
  1232.         - erase $(TIMESTMP)
  1233.  
  1234. # *--------------------------------------------------------------------*
  1235. # *     Common library build                                           *
  1236. # *--------------------------------------------------------------------*
  1237.  
  1238. $(UUPCLIB):  DUMMY
  1239.         $(MAKER) -f $(LIB)\lib.mak -DUUPCDEFS=$(UUPCDEFS) $<
  1240.  
  1241. DUMMY:
  1242.         @rem hello world
  1243.  
  1244. $(UUPCLIBW):
  1245.         $(MAKER) -f $(LIB)\lib.mak -DUUPCDEFS=$(UUPCDEFW) $<
  1246.  
  1247. # *--------------------------------------------------------------------*
  1248. # *   Live files from the Wonderworks we provide as additional         *
  1249. # *   examples                                                         *
  1250. # *--------------------------------------------------------------------*
  1251.  
  1252.  
  1253. $(DOCS)\active.kew: $(CONF)\active
  1254.         copy $? $<
  1255.  
  1256. $(DOCS)\permissn.kew: $(CONF)\permissn
  1257.         copy $? $<
  1258.  
  1259. $(DOCS)\kendra.rc: $(CONF)\uupc.rc
  1260.         copy $? $<
  1261.  
  1262. $(DOCS)\ahd.rc: $(CONF)\ahd.rc
  1263.         copy $? $<
  1264.  
  1265. $(DOCS)\hostpath.kew: $(CONF)\hostpath
  1266.         copy $? $<
  1267.  
  1268. # *--------------------------------------------------------------------*
  1269. # *                  *Compiler Configuration File*                     *
  1270. # *--------------------------------------------------------------------*
  1271.  
  1272.  
  1273.  
  1274. !if $d(__OS2__)
  1275. OPTIMIZEOPT=-O2
  1276. !else
  1277. MODELOPT=-m$(MODEL)
  1278. OPTIMIZEOPT=-O
  1279. !if $d(WINDOWS)
  1280. GENERATEOPT=-W
  1281. CODEGENOPT=-3
  1282. !else
  1283. GENERATEOPT=-D_MSC
  1284. !endif
  1285. !endif
  1286.  
  1287. $(UUPCCFG): $(MAKEFILE) \
  1288.             $(LIB)\lib.mak \
  1289.             $(MAIL)\mail.mak \
  1290.             $(UUCP)\uucp.mak \
  1291.             $(UUCICO)\uucico.mak \
  1292.             $(UTIL)\util.mak
  1293.   copy &&|
  1294. $(GENERATEOPT)
  1295. $(WINDOWSOPT)
  1296. $(CODEGENOPT)
  1297. $(MODELOPT)
  1298. $(OPTMIZEOPT)
  1299. -c
  1300. -d
  1301. -DUUPCV="$(VERS)"
  1302. -DIOCTL
  1303. -f
  1304. -G
  1305. -I$(LIB)
  1306. -I$(BINC)
  1307. -L$(BLIB)
  1308. -n$(OBJ)
  1309. -N
  1310. -k-
  1311. -r
  1312. -v
  1313. -Z
  1314. -wpro
  1315. -wdcl
  1316. -weas
  1317. -will
  1318. -wpin
  1319. -wrvl
  1320. -wamb
  1321. -wamp
  1322. -wnod
  1323. -wstv
  1324. -wuse
  1325. -wsig
  1326. -wucp
  1327. -O2
  1328. -P-
  1329. | $<
  1330.  
  1331. !if $d(WINDOWS)
  1332. WINDOWSDEF = WINDOWS=1
  1333. !endif
  1334.  
  1335. $(UUPCDEFS): $(MAKEFILE)
  1336.   copy &&|
  1337. .path.obj  = $(.path.obj)
  1338. ARCHIVE    = $(ARCHIVE)
  1339. BINC       = $(BINC)
  1340. BLIB       = $(BLIB)
  1341. BORLANDC   = $(BORLANDC)
  1342. CC         = $(CC)
  1343. COMMON     = $(COMMON)
  1344. DOCS       = $(DOCS)
  1345. DOCSLIST   = $(DOCSLIST)
  1346. DOCW       = $(DOCW)
  1347. DEFFILE    = $(DEFFILE)
  1348. FMT        = $(FMT)
  1349. INSTALL    = $(INSTALL)
  1350. LIB        = $(LIB)
  1351. LIBRARIES  = $(LIBRARIES)
  1352. LIBRARY    = $(LIBRARY)
  1353. LIBRARY2   = $(LIBRARY2)
  1354. LINKER     = $(LINKER)
  1355. LINKOPTN   = $(LINKOPTN)
  1356. LINKOPTD   = $(LINKOPTD)
  1357. LINKOPTT   = $(LINKOPTT)
  1358. MAIL       = $(MAIL)
  1359. MAKEFILE   = $(MAKEFILE)
  1360. MAP        = $(MAP)
  1361. MODEL      = $(MODEL)
  1362. NEWS       = $(NEWS)
  1363. OBJ        = $(OBJ)
  1364. OPTIONAL   = $(OPTIONAL)
  1365. PSUFFIX    = $(PSUFFIX)
  1366. REQUIRED   = $(REQUIRED)
  1367. RN         = $(RN)
  1368. RNEWS      = $(RNEWS)
  1369. SAMPLES    = $(SAMPLES)
  1370. SAMPLEX    = $(SAMPLEX)
  1371. SRC        = $(SRC)
  1372. STARTUP    = $(STARTUP)
  1373. STARTUPT   = $(STARTUPT)
  1374. SUFFIX     = $(SUFFIX)
  1375. TASM       = $(TASM)
  1376. TASMOPT    = $(TASMOPT)
  1377. TEST       = $(TEST)
  1378. TIMESTMP   = $(TIMESTMP)
  1379. TMP        = $(TMP)
  1380. UTIL       = $(UTIL)
  1381. UUCICO     = $(UUCICO)
  1382. UUCP       = $(UUCP)
  1383. UUPCCFG    = $(UUPCCFG)
  1384. UUPCLIB    = $(UUPCLIB)
  1385. VERS       = $(VERS)
  1386. WINWORD    = $(WINWORD)
  1387. WORKFILE   = $(WORKFILE)
  1388. $(WINDOWSDEF)
  1389.  
  1390. .autodepend
  1391.  
  1392. .silent
  1393. | $<
  1394.  
  1395. !if $d(WINDOWS)
  1396. $(DEFFILE): $(MAKEFILE)
  1397.   copy &&|
  1398. EXETYPE WINDOWS
  1399. DATA MOVABLE MULTIPLE
  1400. STACKSIZE 8182
  1401. HEAPSIZE  12288
  1402. Description 'UUPC/extended $(VERS), Changes Copyright (c) 1989-1993 Kendra Electronic Wonderworks, All Rights Reserved'
  1403. | $<
  1404. !endif
  1405.  
  1406. !if $d(__OS2__)
  1407. $(DEFFILE): $(MAKEFILE)
  1408.   copy &&|
  1409. DATA MULTIPLE
  1410. STACKSIZE 32760
  1411. EXETYPE OS2
  1412. Description 'UUPC/extended $(VERS), Changes Copyright (c) 1989-1993 Kendra Electronic Wonderworks, All Rights Reserved'
  1413. | $<
  1414. !endif
  1415.