home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / clipper / nettos11.zip / NETTO.RMK
Text File  |  1993-07-27  |  22KB  |  560 lines

  1. /*
  2.  * File......: NETTO.RMK
  3.  * Date......: $Date$
  4.  * Revision..: $Revision$
  5.  * Log file..: $Logfile$
  6.  * 
  7.  * Modification history:
  8.  * ---------------------
  9.  *
  10.  * $Log$
  11.  * 
  12.  *
  13.  */
  14.  
  15. /* ----------------------------------------------------------------------
  16.    NETTO Master Makefile     READ THIS BEFORE USING!!!
  17.    ----------------------------------------------------------------------
  18.   
  19.    This makefile will allow you to use RMAKE, provided with every
  20.    Clipper 5.01 package, to maintain your own copy of NETTO.
  21.    It is also an example of one way to use RMAKE on a fairly
  22.    large project.  
  23.   
  24.    To use it, you must first understand what it does, and what your
  25.    limitations are.  A discussion of MAKE utlities is beyond the scope
  26.    of this comment; read the CA-Clipper documentation, or the Norton Guide
  27.    file, for more information on RMAKE.
  28.  
  29.    This makefile is different from some others in that it also 
  30.    automatically builds the NETTO Norton Guide documentation.
  31.    Therefore, if you are familiar with the Nanforum Toolkit makefile,
  32.    this will be a bit more complex.
  33.   
  34.    *** Compilers and Assemblers you need
  35.   
  36.    Note that currently, NETTO sources are written in assembly language,
  37.    Clipper, and C.  In order to do a perfect re-build of NETTO, you 
  38.    need the following tools.
  39.   
  40.         Microsoft C (v5.1 or later)
  41.         Borland Turbo Assembler
  42.         Nantucket Clipper v5.2 or later
  43.         FT_DOC.EXE
  44.         PKZip
  45.         Expert Help (a Norton Guide compiler from SofSolutions, Inc)
  46.         STAMPVER.EXE
  47.  
  48.    *** What's FT_DOC?
  49.  
  50.    FT_DOC is a public domain program written by Leo Letendre, a 
  51.    regular contributor to the Nanforum Toolkit.  It automates the 
  52.    process of building Norton Guide documentation from the Toolkit-style
  53.    documentation headers.  It can be found on CompuServe as 
  54.    FT_DOC.ZIP in library 5 of the CA-Clipper forum (GO CLIPPER).  Complete
  55.    source is provided and the Nanforum Toolkit is required to build
  56.    FT_DOC.EXE.
  57.  
  58.    *** What will PKZip be used for?
  59.  
  60.    This makefile completely automates the production of the deliverable
  61.    components of the NETTO distribution.  Therefore, one of the 
  62.    final steps 
  63.  
  64.    *** What is Expert Help?
  65.  
  66.    It is important to note that FT_DOC does not actually generate the 
  67.    Norton Guide format files.  It simply prepares input for a Norton
  68.    Guide compiler.  While FT_DOC supports the Norton Guide
  69.    compiler, it also supports the Expert Help engine from Sofsolutions,
  70.    Inc., an excellent commercial package that is well-supported and
  71.    which we have used to build the NETTO documentation.
  72.  
  73.    *** What is STAMPVER.EXE?
  74.  
  75.    STAMPVER.EXE is a public domain program written by Glenn Scott
  76.    that simply stamps a date and time onto a file, given certain 
  77.    version number-like parameters on the command line.  It is 
  78.    available in library 5 of the CA-Clipper forum on CompuServe 
  79.    (GO CLIPPER).  STAMPVER is used to date and time stamp all the 
  80.    deliverables before they are zipped up.
  81.   
  82.    *** Library Utility
  83.   
  84.    Yyou must have a library utility.  Microsoft supplies
  85.    LIB.EXE with its Compiler products, for example.  LIB will work
  86.    fine with this makefile.  Note that we assume a command line syntax
  87.    for library utilities that works like this:
  88.   
  89.         lib <libname> -+objname
  90.   
  91.    Note the "-+" directive, indicating "replace module."  If your
  92.    library utility does not support this syntax on the command line,
  93.    then you will have to edit the relevant lines in the makefile.
  94.  
  95.    A version of LIB.EXE can be found on CompuServe.  Download S12776.ARC
  96.    from the MSL forum.
  97.   
  98.    *** Customizing the Makefile
  99.   
  100.    We have tried not to assume anything about your environment.
  101.    To achieve that flexibility, you must check and set some macros
  102.    that can be found just below this documentation.  They are:
  103.  
  104.    TARGLIB   The name of the target library (i.e., NETTO.LIB) (no path!)
  105.    SRCZIP    The path and name of the source distribution zip file
  106.    LIBZIP    The path and name of the library distribution zip file
  107.  
  108.    LIBADD    Files to be added to library distribution zipfile
  109.              (i.e., readmes)
  110.  
  111.    RELDIR    Path to the directory where deliverables should end up
  112.    OBJDIR    Path to the directory where .OBJ files should be put
  113.    SRCDIR    Path to the root of the source directory tree
  114.    DOCDIR    Path to the root of the documentation workarea
  115.    SAMPDIR   Path to the root of the source code samples tree
  116.  
  117.    DOCFILE   Path and name of the documentation workfile
  118.    DOCLNK    Path and name of the link script to be used by the 
  119.              Norton Guide linker
  120.   
  121.    RSPFILE   Path and name of the response file to be used as
  122.              input to the library utility for building the library
  123.  
  124.    CLIPCMD   Path and name of the Clipper 5.x compiler
  125.    CLIPOPT   Command line options for Clipper
  126.    CLIPINC   Directory for CA-Supplied Clipper include files
  127.  
  128.    TASMCMD   Path and name of the Borland Turbo Assembler executable
  129.    TASMOPT   Command line options for Turbo Assembler
  130.  
  131.    CCMD      Path and name of Microsoft C Compiler
  132.    CCOPT     Command line options for Microsoft C
  133.    CCINC     Directory for Microsoft C include files (see below)
  134.  
  135.    LIBCMD    Path and name of library utility
  136.    LIBOPT    Command line options for the Library utilitiy
  137.    
  138.    ZIPCMD    Path and name of the compression utility used to build
  139.              distribution files
  140.    ZIPOPT    Command line options for the compression utility
  141.  
  142.    VERSION   The version number to stamp on the file
  143.    RELDATE   The release date to stamp on the file mm/dd/yy
  144.    
  145.    Note that directory paths should *not* end in a backslash.
  146.    If you like to keep your .obj and source files in the same
  147.    directory, simply point the paths to the same place.
  148.  
  149.    Be careful not to nest your "rebuilding environment" (see below) 
  150.    too deep; you could end up creating very long command lines that 
  151.    will exceed DOS limits.  
  152.  
  153.    *** How include files are handled
  154.  
  155.    The librarian maintains a few versions of Clipper on his disk
  156.    at any one time, as well as one or two versions of various 
  157.    C compilers.  As time went on, he realized that the SET 
  158.    INCLUDE= and SET LIB= environment variables were somewhat evil.
  159.    For example, toolkit v2.1 is supposed to be built with the 
  160.    exact includes supplied by Computer Associates for 5.01a, but the 
  161.    librarian's INCLUDE envar points to the 5.0 includes.  Resetting
  162.    these variables is easy but if one forgets, there is a potential
  163.    for version confusion.
  164.  
  165.    To eliminate confusion over where the globals are, the following
  166.    was decided:
  167.  
  168.         All include files shall be pointed to explicitly using
  169.         compiler command line options, and if possible, the 
  170.         INCLUDE environment variable shall be ignored.
  171.         
  172.    Clipper 5.x provides the /i option for this, and Microsoft C 
  173.    provides both the /X option and the /I option.  Read your docs
  174.    for details.
  175.  
  176.    *** Suggestions for setting up a "rebuilding environment"
  177.   
  178.     Should you want to rebuild, the following is suggested:
  179.   
  180.     First, make sure you keep an unmodified NETTO.LIB, downloaded
  181.     from the forum, in a safe place.  Do not modify it.
  182.   
  183.     Next, create a directory structure like this
  184.  
  185.                 [ COMPLETE THIS ]
  186.  
  187.     *** Problems, bugs, support
  188.   
  189.     Support for this makefile can be found on CompuServe, in the
  190.     Clipper Forum (GO CLIPPER).  Leave messages in section 5
  191.     "Nanforum Toolkit").  Updates and patches will be posted in 
  192.     Library 5.
  193.  
  194. */
  195.  
  196.  
  197.  
  198.  
  199. /* ------------------------------------------------------------------- */
  200.  
  201. WORKDRV   =   n:
  202. VERSION   =   1.1
  203. RELDATE   =   7/15/93
  204.  
  205. TARGLIB   =   netto.lib
  206.  
  207. RELDIR    =   $(WORKDRV)\release
  208. OBJDIR    =   $(WORKDRV)\obj
  209. SRCDIR    =   $(WORKDRV)\src
  210. DOCDIR    =   $(SRCDIR)\doc
  211. SAMPDIR   =   $(WORKDRV)\sample
  212.  
  213. SRCZIP    =   $(RELDIR)\nettos.zip
  214. LIBZIP    =   $(RELDIR)\nettol.zip
  215. LIBADD    =   $(DOCDIR)\readme.1st
  216.  
  217. DOCFILE   =   $(DOCDIR)\netto.lst
  218. DOCLNK    =   $(DOCDIR)\netto.lnk
  219.  
  220. RSPFILE   =   $(OBJDIR)\netto.rsp
  221.  
  222. CLIPCMD   =   i:\c5\bin\clipper
  223. CLIPINC   =   /ii:\c5\include;i:\inc\clip;$(SRCDIR)
  224.  
  225. !ifdef ENCRYPT_SUPPORT
  226. CLIPOPT   =   /m /n /r /w /q /es2 $(CLIPINC) 
  227. !else
  228. CLIPOPT   =   /m /n /r /w /q /es2 $(CLIPINC) /DNOENCRYPTION
  229. !endif
  230.  
  231. TASMCMD   =   tasm
  232. TASMOPT   =
  233.  
  234. DOCCMD    =   ft_doc
  235. DOCOPT    =   -n
  236.  
  237. CCMD      =   cl
  238. CCINC     =   /X /I i:\inc\msc /I i:\c5\include
  239. CCOPT     =   /AL /Gs /FPa /Ox /Zl /c /Gh $(CCINC)
  240.  
  241. LIBCMD    =   lib
  242. LIBOPT    =
  243. LIBLST    =   $(RELDIR)\netto.lst
  244.  
  245. ZIPCMD    =   pkzip
  246. ZIPOPT    =   
  247.  
  248. NGCMD     =   ehc
  249. NGOPT     =   -ng -np
  250.  
  251. STAMPVER  =   stampver
  252.  
  253. LOGFILE   =   c:\build.log
  254.  
  255. /* ------------------------------------------------------------------- */
  256.  
  257. !iffile $(RSPFILE)
  258.    #! del $(RSPFILE)
  259. !endif
  260.  
  261. !iffile $(DOCFILE)
  262.    #! del $(DOCFILE)
  263. !endif
  264.  
  265. !iffile $(LOGFILE)
  266.    #! del $(LOGFILE)
  267. !endif
  268.  
  269. /* ------------------------------------------------------------------- */
  270.  
  271. .PRG.OBJ:
  272.   cls
  273.   $(CLIPCMD) $< $(CLIPOPT) /o$@ >> $(LOGFILE)
  274.   echo -+$(OBJDIR)\$* & >> $(RSPFILE)
  275.   echo $< >> $(DOCFILE)
  276.  
  277. .ASM.OBJ:
  278.   cls
  279.   $(TASMCMD) $(TASMOPT) $<, $@; >> $(LOGFILE)
  280.   echo -+$(OBJDIR)\$* & >> $(RSPFILE)
  281.   echo $< >> $(DOCFILE)
  282.  
  283. .C.OBJ:
  284.   cls
  285.   $(CCMD) $(CCOPT) /Fo$(OBJDIR)\$* $< >> $(LOGFILE)
  286.   echo -+$(OBJDIR)\$* & >> $(RSPFILE)
  287.  
  288. !ifdef ENCRYPT_SUPPORT
  289. .RSP.LIB:
  290.   cls
  291.   echo -+$(SRCDIR)\login\llogin.obj >> $(RSPFILE)
  292.   echo $(LIBLST); >> $(RSPFILE)
  293.   if not exist $(RELDIR)\$(TARGLIB) $(LIBCMD) $(RELDIR)\$(TARGLIB);
  294.   $(LIBCMD) $(LIBOPT) $(RELDIR)\$(TARGLIB) @$(RSPFILE) >> $(LOGFILE)
  295. !else
  296. .RSP.LIB:
  297.   cls
  298.   echo No encryption support
  299.   echo. >> $(RSPFILE)
  300.   echo $(LIBLST); >> $(RSPFILE)
  301.   if not exist $(RELDIR)\$(TARGLIB) $(LIBCMD) $(RELDIR)\$(TARGLIB);
  302.   $(LIBCMD) $(LIBOPT) $(RELDIR)\$(TARGLIB) @$(RSPFILE) >> $(LOGFILE)
  303. !endif
  304.  
  305. .DOC.EHO:
  306.   cd $(DOCDIR)
  307.   $(NGCMD) $< $(NGOPT) >> $(LOGFILE)
  308.  
  309. /* Accounting Services ---------------------------------------------- */
  310.  
  311. $(OBJDIR)\ACINST.OBJ  : $(SRCDIR)\acctng\ACINST.PRG
  312. $(OBJDIR)\GACCSTA.OBJ : $(SRCDIR)\acctng\GACCSTA.PRG
  313. $(OBJDIR)\SACCHLD.OBJ : $(SRCDIR)\acctng\SACCHLD.PRG
  314. $(OBJDIR)\XACCTNG.OBJ : $(SRCDIR)\acctng\XACCTNG.PRG
  315.  
  316. /* Bindery Services ------------------------------------------------- */
  317.  
  318. $(OBJDIR)\acclevl.obj  : $(SRCDIR)\bindery\acclevl.prg    
  319. $(OBJDIR)\addbind.obj  : $(SRCDIR)\bindery\addbind.prg    
  320. $(OBJDIR)\chgosec.obj  : $(SRCDIR)\bindery\chgosec.prg    
  321. $(OBJDIR)\chgpass.obj  : $(SRCDIR)\bindery\chgpass.prg    
  322. $(OBJDIR)\chgpsec.obj  : $(SRCDIR)\bindery\chgpsec.prg    
  323. $(OBJDIR)\clsbind.obj  : $(SRCDIR)\bindery\clsbind.prg    
  324. $(OBJDIR)\crtobj.obj   : $(SRCDIR)\bindery\crtobj.prg     
  325. $(OBJDIR)\crtprop.obj  : $(SRCDIR)\bindery\crtprop.prg    
  326. $(OBJDIR)\delobj.obj   : $(SRCDIR)\bindery\delobj.prg     
  327. $(OBJDIR)\delobjs.obj  : $(SRCDIR)\bindery\delobjs.prg    
  328. $(OBJDIR)\delprop.obj  : $(SRCDIR)\bindery\delprop.prg    
  329. $(OBJDIR)\getname.obj  : $(SRCDIR)\bindery\getname.prg    
  330. $(OBJDIR)\getobjid.obj : $(SRCDIR)\bindery\getobjid.prg   
  331. $(OBJDIR)\ingroup.obj  : $(SRCDIR)\bindery\ingroup.prg   
  332. $(OBJDIR)\isinset.obj  : $(SRCDIR)\bindery\isinset.prg    
  333. $(OBJDIR)\issupeq.obj  : $(SRCDIR)\bindery\issupeq.prg
  334. $(OBJDIR)\maildir.obj  : $(SRCDIR)\bindery\maildir.prg
  335. $(OBJDIR)\net386.obj   : $(SRCDIR)\bindery\net386.c
  336. $(OBJDIR)\nwrdprop.obj : $(SRCDIR)\bindery\nwrdprop.prg   
  337. $(OBJDIR)\objlists.obj : $(SRCDIR)\bindery\objlists.prg
  338. $(OBJDIR)\openbind.obj : $(SRCDIR)\bindery\openbind.prg   
  339. $(OBJDIR)\renamobj.obj : $(SRCDIR)\bindery\renamobj.prg   
  340. $(OBJDIR)\scanobj.obj  : $(SRCDIR)\bindery\scanobj.prg    
  341. $(OBJDIR)\scanprop.obj : $(SRCDIR)\bindery\scanprop.prg   
  342. $(OBJDIR)\verpass.obj  : $(SRCDIR)\bindery\verpass.prg
  343. $(OBJDIR)\writprop.obj : $(SRCDIR)\bindery\writprop.prg   
  344. $(OBJDIR)\xbind.obj    : $(SRCDIR)\bindery\xbind.prg
  345.  
  346. /* Connection / Workstation Services -------------------------------- */
  347.  
  348. $(OBJDIR)\addr.obj     : $(SRCDIR)\connws\addr.prg
  349. $(OBJDIR)\attach.obj   : $(SRCDIR)\connws\attach.prg
  350. $(OBJDIR)\connid.obj   : $(SRCDIR)\connws\connid.prg
  351. $(OBJDIR)\conninf.obj  : $(SRCDIR)\connws\conninf.prg
  352. $(OBJDIR)\connum.obj   : $(SRCDIR)\connws\connum.prg
  353. $(OBJDIR)\drvinfo.obj  : $(SRCDIR)\connws\drvinfo.prg
  354. $(OBJDIR)\emode.obj    : $(SRCDIR)\connws\emode.prg
  355. $(OBJDIR)\env.obj      : $(SRCDIR)\connws\env.prg
  356. $(OBJDIR)\eoj.obj      : $(SRCDIR)\connws\eoj.prg
  357. $(OBJDIR)\fsname.obj   : $(SRCDIR)\connws\fsname.prg
  358. $(OBJDIR)\getsn.obj    : $(SRCDIR)\connws\getsn.prg
  359. $(OBJDIR)\logged.obj   : $(SRCDIR)\connws\logged.prg
  360. $(OBJDIR)\login.obj    : $(SRCDIR)\connws\login.prg
  361. $(OBJDIR)\shver.obj    : $(SRCDIR)\connws\shver.prg
  362. $(OBJDIR)\whoami.obj   : $(SRCDIR)\connws\whoami.prg
  363. $(OBJDIR)\xconnws.obj  : $(SRCDIR)\connws\xconnws.prg
  364.  
  365. /* File System Services ----------------------------------------------- */
  366.  
  367. $(OBJDIR)\allochan.obj : $(SRCDIR)\fsys\allochan.prg
  368. $(OBJDIR)\creatdir.obj : $(SRCDIR)\fsys\creatdir.prg
  369. $(OBJDIR)\curdir.obj   : $(SRCDIR)\fsys\curdir.prg
  370. $(OBJDIR)\deletdir.obj : $(SRCDIR)\fsys\deletdir.prg
  371. $(OBJDIR)\devtype.obj  : $(SRCDIR)\fsys\devtype.prg
  372. $(OBJDIR)\dvolnm.obj   : $(SRCDIR)\fsys\dvolnm.prg
  373. $(OBJDIR)\extattr.obj  : $(SRCDIR)\fsys\extattr.prg
  374. $(OBJDIR)\fisvcpy.obj  : $(SRCDIR)\fsys\fisvcpy.prg
  375. $(OBJDIR)\getdh.obj    : $(SRCDIR)\fsys\getdh.prg
  376. $(OBJDIR)\getpath.obj  : $(SRCDIR)\fsys\getpath.prg
  377. $(OBJDIR)\getright.obj : $(SRCDIR)\fsys\getright.prg
  378. $(OBJDIR)\gdlfso.obj   : $(SRCDIR)\fsys\gdlfso.prg
  379. $(OBJDIR)\gsofdl.obj   : $(SRCDIR)\fsys\gsofdl.prg
  380. $(OBJDIR)\rendir.obj   : $(SRCDIR)\fsys\rendir.prg
  381. $(OBJDIR)\rights.obj   : $(SRCDIR)\fsys\rights.prg
  382. $(OBJDIR)\resdh.obj    : $(SRCDIR)\fsys\resdh.prg
  383. $(OBJDIR)\savdh.obj    : $(SRCDIR)\fsys\savdh.prg
  384. $(OBJDIR)\setdh.obj    : $(SRCDIR)\fsys\setdh.prg
  385. $(OBJDIR)\showdot.obj  : $(SRCDIR)\fsys\showdot.prg
  386. $(OBJDIR)\volinf.obj   : $(SRCDIR)\fsys\volinf.prg
  387. $(OBJDIR)\volinfh.obj  : $(SRCDIR)\fsys\volinfh.prg
  388. $(OBJDIR)\volinfn.obj  : $(SRCDIR)\fsys\volinfn.prg
  389. $(OBJDIR)\volname.obj  : $(SRCDIR)\fsys\volname.prg
  390. $(OBJDIR)\volnum.obj   : $(SRCDIR)\fsys\volnum.prg
  391. $(OBJDIR)\xdirect.obj  : $(SRCDIR)\fsys\xdirect.prg
  392.  
  393. /* File Server Services --------------------------------------------- */
  394.  
  395. $(OBJDIR)\chkcon.obj   : $(SRCDIR)\fserv\chkcon.prg
  396. $(OBJDIR)\clrconn.obj  : $(SRCDIR)\fserv\clrconn.prg
  397. $(OBJDIR)\fsdtime.obj  : $(SRCDIR)\fserv\fsdtime.prg
  398. $(OBJDIR)\fslogin.obj  : $(SRCDIR)\fserv\fslogin.prg
  399. $(OBJDIR)\getfsi.obj   : $(SRCDIR)\fserv\getfsi.prg
  400. $(OBJDIR)\maxconn.obj  : $(SRCDIR)\fserv\maxconn.prg
  401. $(OBJDIR)\netver.obj   : $(SRCDIR)\fserv\netver.prg
  402.  
  403. /* Message Services ------------------------------------------------- */
  404.  
  405. $(OBJDIR)\bmode.obj    : $(SRCDIR)\msgserv\bmode.prg
  406. $(OBJDIR)\broadmsg.obj : $(SRCDIR)\msgserv\broadmsg.prg
  407. $(OBJDIR)\btoc.obj     : $(SRCDIR)\msgserv\btoc.prg
  408.  
  409. /* MHS Services ----------------------------------------------------- */
  410.  
  411. $(OBJDIR)\mhs.obj    : $(SRCDIR)\mhs\mhs.prg
  412.  
  413. /* Miscellaneous Services ------------------------------------------- */
  414.  
  415. $(OBJDIR)\FNAND.OBJ    : $(SRCDIR)\misc\FNAND.ASM
  416. $(OBJDIR)\FNBIN2I.OBJ  : $(SRCDIR)\misc\FNBIN2I.PRG
  417. $(OBJDIR)\FNBIT.OBJ    : $(SRCDIR)\misc\FNBIT.PRG
  418. $(OBJDIR)\FNCBALL.OBJ  : $(SRCDIR)\misc\FNCBALL.ASM
  419. $(OBJDIR)\FNDPVE.PRG   : $(SRCDIR)\misc\FNDPVE.PRG
  420. $(OBJDIR)\FNERR.OBJ    : $(SRCDIR)\misc\FNERR.PRG
  421. $(OBJDIR)\FNHEX.OBJ    : $(SRCDIR)\misc\FNHEX.PRG
  422. $(OBJDIR)\FNNEG.OBJ    : $(SRCDIR)\misc\FNNEG.ASM
  423. $(OBJDIR)\FNNOT.OBJ    : $(SRCDIR)\misc\FNNOT.ASM
  424. $(OBJDIR)\FNOR.OBJ     : $(SRCDIR)\misc\FNOR.ASM
  425. $(OBJDIR)\FNPEEK.OBJ   : $(SRCDIR)\misc\FNPEEK.PRG
  426. $(OBJDIR)\FNPFEVAL.OBJ : $(SRCDIR)\misc\FNPFEVAL.PRG
  427. $(OBJDIR)\FNROL.OBJ    : $(SRCDIR)\misc\FNROL.ASM
  428. $(OBJDIR)\FNROR.OBJ    : $(SRCDIR)\misc\FNROR.ASM
  429. $(OBJDIR)\FNSHL.OBJ    : $(SRCDIR)\misc\FNSHL.ASM
  430. $(OBJDIR)\FNSHR.OBJ    : $(SRCDIR)\misc\FNSHR.ASM
  431. $(OBJDIR)\FNXOR.OBJ    : $(SRCDIR)\misc\FNXOR.ASM
  432. $(OBJDIR)\IPXINIT.OBJ  : $(SRCDIR)\misc\IPXINIT.PRG
  433. $(OBJDIR)\IS3X.OBJ     : $(SRCDIR)\misc\IS3X.PRG
  434. $(OBJDIR)\ISNET.OBJ    : $(SRCDIR)\misc\ISNET.PRG
  435. $(OBJDIR)\NAMEL.OBJ    : $(SRCDIR)\misc\NAMEL.PRG
  436. $(OBJDIR)\NONULL.OBJ   : $(SRCDIR)\misc\NONULL.PRG
  437. $(OBJDIR)\NWDATE.OBJ   : $(SRCDIR)\misc\NWDATE.PRG
  438. $(OBJDIR)\REG2L.OBJ    : $(SRCDIR)\misc\REG2L.PRG
  439. $(OBJDIR)\REQUEST.OBJ  : $(SRCDIR)\misc\REQUEST.PRG
  440. $(OBJDIR)\SETPRINT.OBJ : $(SRCDIR)\misc\SETPRINT.ASM
  441. $(OBJDIR)\SSFP.OBJ     : $(SRCDIR)\misc\SSFP.PRG
  442. $(OBJDIR)\SWAP.OBJ     : $(SRCDIR)\misc\SWAP.ASM
  443.  
  444. /* Print Services --------------------------------------------------- */
  445.  
  446. $(OBJDIR)\banuser.obj  : $(SRCDIR)\print\banuser.prg
  447. $(OBJDIR)\capflags.obj : $(SRCDIR)\print\capflags.prg
  448. $(OBJDIR)\captfile.obj : $(SRCDIR)\print\captfile.prg
  449. $(OBJDIR)\captpjob.obj : $(SRCDIR)\print\captpjob.prg
  450. $(OBJDIR)\captpque.obj : $(SRCDIR)\print\captpque.prg
  451. $(OBJDIR)\deflpt.obj   : $(SRCDIR)\print\deflpt.prg
  452. $(OBJDIR)\gcapstat.obj : $(SRCDIR)\print\gcapstat.prg
  453. $(OBJDIR)\getque.obj   : $(SRCDIR)\print\getque.prg
  454. $(OBJDIR)\gptrsta.obj  : $(SRCDIR)\print\gptrsta.prg
  455. $(OBJDIR)\lptcapt.obj  : $(SRCDIR)\print\lptcapt.prg
  456. $(OBJDIR)\setprc.obj   : $(SRCDIR)\print\setprc.prg
  457.  
  458. /* Queue Services ---------------------------------------------------- */
  459.  
  460. $(OBJDIR)\abortsvc.obj : $(SRCDIR)\qms\abortsvc.prg
  461. $(OBJDIR)\cfabort.obj  : $(SRCDIR)\qms\cfabort.prg
  462. $(OBJDIR)\cfstqjb.obj  : $(SRCDIR)\qms\cfstqjb.prg
  463. $(OBJDIR)\chqjent.obj  : $(SRCDIR)\qms\chqjent.prg
  464. $(OBJDIR)\chqjpos.obj  : $(SRCDIR)\qms\chqjpos.prg
  465. $(OBJDIR)\creatq.obj   : $(SRCDIR)\qms\creatq.prg
  466. $(OBJDIR)\crqjbfi.obj  : $(SRCDIR)\qms\crqjbfi.prg
  467. $(OBJDIR)\finsvc.obj   : $(SRCDIR)\qms\finsvc.prg
  468. $(OBJDIR)\joblist.obj  : $(SRCDIR)\qms\joblist.prg
  469. $(OBJDIR)\miscq.obj    : $(SRCDIR)\qms\miscq.prg
  470. $(OBJDIR)\qjfsize.obj  : $(SRCDIR)\qms\qjfsize.prg
  471. $(OBJDIR)\qrights.obj  : $(SRCDIR)\qms\qrights.prg
  472. $(OBJDIR)\qsstat.obj   : $(SRCDIR)\qms\qsstat.prg
  473. $(OBJDIR)\rdgjent.obj  : $(SRCDIR)\qms\rdqjent.prg
  474. $(OBJDIR)\rdqstat.obj  : $(SRCDIR)\qms\rdqstat.prg
  475. $(OBJDIR)\remjob.obj   : $(SRCDIR)\qms\remjob.prg
  476. $(OBJDIR)\scurstat.obj : $(SRCDIR)\qms\scurstat.prg
  477. $(OBJDIR)\svcqjob.obj  : $(SRCDIR)\qms\svcqjob.prg
  478. $(OBJDIR)\xprtjob.obj  : $(SRCDIR)\qms\xprtjob.prg
  479. $(OBJDIR)\xqjob.obj    : $(SRCDIR)\qms\xqjob.prg
  480.  
  481. /* Synchronization Services ------------------------------------------ */
  482.  
  483. $(OBJDIR)\clrrelfi.obj : $(SRCDIR)\synchro\clrrelfi.prg
  484. $(OBJDIR)\lockfile.obj : $(SRCDIR)\synchro\lockfile.prg
  485. $(OBJDIR)\lockmode.obj : $(SRCDIR)\synchro\lockmode.prg
  486. $(OBJDIR)\logfile.obj  : $(SRCDIR)\synchro\logfile.prg
  487. $(OBJDIR)\logrec.obj   : $(SRCDIR)\synchro\logrec.prg
  488. $(OBJDIR)\sema.obj     : $(SRCDIR)\synchro\sema.prg
  489.  
  490. /* Transaction Tracking System Services ------------------------------ */
  491.  
  492. $(OBJDIR)\tts.obj     : $(SRCDIR)\tts\tts.prg
  493.  
  494. /* To be determined / Undocumented ----------------------------------- */
  495.  
  496. $(OBJDIR)\fnncp.obj  : $(SRCDIR)\ncp\fnncp.prg
  497. $(OBJDIR)\ncpcon.obj : $(SRCDIR)\ncp\ncpcon.prg
  498.  
  499. /* ------------------------------------------------------------------- */
  500.  
  501. $(RELDIR)\$(TARGLIB)  : $(RSPFILE)
  502.  
  503. /* ------------------------------------------------------------------- */
  504.  
  505. $(SRCZIP)   : 
  506.   cls
  507.   echo Building $(SRCZIP) >> $(LOGFILE)
  508.   del $(SRCZIP)
  509.   echo exclude.ex > $(DOCDIR)\exclude.ex
  510.   echo *.obj >> $(DOCDIR)\exclude.ex
  511.   echo *.rsp >> $(DOCDIR)\exclude.ex
  512.   echo *.bak >> $(DOCDIR)\exclude.ex
  513.   echo *.ch  >> $(DOCDIR)\exclude.ex
  514.   echo *.err >> $(DOCDIR)\exclude.ex
  515.   echo *.log >> $(DOCDIR)\exclude.ex
  516.   echo *.txt >> $(DOCDIR)\exclude.ex
  517.   echo *.eho >> $(DOCDIR)\exclude.ex
  518.   echo *.bat >> $(DOCDIR)\exclude.ex
  519.   echo *.ngi >> $(DOCDIR)\exclude.ex
  520.   echo $(DOCFILE) >> $(DOCDIR)\exclude.ex
  521.   $(ZIPCMD) -a -r -p -x@$(DOCDIR)\exclude.ex $(SRCZIP) $(SRCDIR)\*.*
  522.   del $(DOCDIR)\exclude.ex
  523.   echo NETTO v$(VERSION) - Source code > $(DOCDIR)\comment.txt
  524.   $(ZIPCMD) $(SRCZIP) -z < $(DOCDIR)\comment.txt
  525.  
  526. /* ------------------------------------------------------------------- */
  527.  
  528. $(DOCDIR)\inf.eho     :  $(DOCDIR)\inf.doc
  529. $(DOCDIR)\res.eho     :  $(DOCDIR)\res.doc
  530. $(DOCDIR)\structs.eho :  $(DOCDIR)\structs.doc
  531.  
  532. /* ------------------------------------------------------------------- */
  533.  
  534. $(LIBZIP)   : 
  535.   del $(RELDIR)\*.bak
  536.   echo !name: Netto Release $(VERSION) Reference Guide > $(DOCDIR)\NETTO.TOP
  537.   echo !credits: >> $(DOCDIR)\NETTO.TOP
  538.   echo       Netto >> $(DOCDIR)\NETTO.TOP
  539.   echo       Novell NetWare (tm) API Library for CA-Clipper (tm) >> $(DOCDIR)\NETTO.TOP
  540.   echo       Release $(VERSION) $(RELDATE)  >> $(DOCDIR)\NETTO.TOP
  541.   echo       Supported on CompuServe -- `GO CLIPPER' >> $(DOCDIR)\NETTO.TOP
  542.   echo       Public domain software; no warranties; provided AS IS. >> $(DOCDIR)\NETTO.TOP
  543.   copy $(DOCDIR)\NETTO.TOP+$(DOCDIR)\NETTO.BOT $(DOCLNK)
  544.   cd $(DOCDIR)
  545.   $(DOCCMD) $(DOCOPT) $(DOCLNK) $(DOCFILE)
  546.   assembl
  547.   copy $(DOCDIR)\*.NG $(RELDIR)
  548.   copy $(SRCDIR)\*.CH $(RELDIR)
  549.   cd $(RELDIR)
  550.   $(STAMPVER) *.NG       $(VERSION) $(RELDATE)
  551.   $(STAMPVER) $(TARGLIB) $(VERSION) $(RELDATE)
  552.   $(STAMPVER) *.CH       $(VERSION) $(RELDATE)
  553.   del $(LIBZIP)
  554.   $(ZIPCMD) -m $(LIBZIP) $(TARGLIB) *.NG *.CH
  555.   $(ZIPCMD) -a $(LIBZIP) $(LIBADD)
  556.   echo NETTO v$(VERSION) - Library & Documentation > $(DOCDIR)\comment.txt
  557.   $(ZIPCMD) $(LIBZIP) -z < $(DOCDIR)\comment.txt
  558.  
  559. /* ------------------------------------------------------------------- */
  560.