home *** CD-ROM | disk | FTP | other *** search
/ Power CD-ROM!! 7 / POWERCD7.ISO / prgmming / clipper / gt_lib.rmk < prev    next >
Text File  |  1994-08-29  |  22KB  |  568 lines

  1. /*
  2.     GT_LIB.RMK - Make file for GT Clipper Library
  3.  
  4. ╔═════════════════╗
  5. ║ Version history ║
  6. ╠══════╦══════════╩═══════╦══════╦═══════════════════════════════════════════╗
  7. ║ Ver  ║ Date             ║ User ║ Notes                                     ║
  8. ╠══════╬══════════════════╬══════╬═══════════════════════════════════════════╣
  9. ║ 1.0  ║ 08-29-94 11:12am ║ Log  ║ First release                             ║
  10. ╚══════╩══════════════════╩══════╩═══════════════════════════════════════════╝
  11.  
  12.    ----------------------------------------------------------------------
  13.    The GT Clipper Library Master Makefile     READ THIS BEFORE USING!!!
  14.    ----------------------------------------------------------------------
  15.  
  16.    This makefile will allow you to use RMAKE, provided with every
  17.    Clipper 5.2 package, to maintain your own copy of the GT Clipper Library.
  18.  
  19.    To use it, you must first understand what it does, and what your
  20.    limitations are.  A discussion of MAKE utlities is beyond the scope
  21.    of this comment; read the Clipper documentation, or the Norton Guide
  22.    file, for more information on RMAKE.
  23.  
  24.    *** Compilers and Assemblers you need
  25.  
  26.    Note that currently, GT Clipper Library sources are written in
  27.    Assembly language, Clipper, and C.  Within the realm of assembly
  28.    language, our contributors have submitted code that is designed
  29.    for Borland's Turbo Assembler (TASM) and Microsoft's Macro Assembler
  30.    (MASM).  So, right now, in order to do a perfect re-build of
  31.    the GT Clipper Library, you must have these tools:
  32.  
  33.     Borland C++ (v3.1 or later)
  34.     Microsoft C (v5.1 or later)
  35.     Microsoft Macro Assembler (v 5.1 or later)
  36.     Borland Turbo Assembler
  37.     CA Clipper v5.2 or later
  38.  
  39.    If you know much about assembly language, you can convert MASM
  40.    sources to TASM and vice versa, but that is up to you.
  41.  
  42.    *** Library Utility
  43.  
  44.    In addition, you must have a library utility.  Borland supplies
  45.    TLIB.EXE with its Compiler products, for example.  TLIB will work
  46.    fine with this makefile.  Note that we assume a command line syntax
  47.    for library utilities that works like this:
  48.  
  49.     tlib <libname> -+objname
  50.  
  51.    Note the "-+" directive, indicating "replace module."  If your
  52.    library utility does not support this syntax on the command line,
  53.    then you will have to edit the relevant lines in the makefile.
  54.  
  55.    *** Assumptions about your environment
  56.  
  57.    GT_LIB.RMK makes just a few assumptions about your environment:
  58.  
  59.           Assumption                What to change if we're wrong
  60.           ----------                -----------------------------
  61.  
  62.    Relevant environment             Either edit the makefile to
  63.    variables for each compiler/     set the envars, or setup your
  64.    assembler are already            autoexec.bat to set them on bootup.
  65.    set (i.e., LIB=, INCLUDE=)       See your compiler doc.
  66.  
  67.    Microsoft C and Borland C        Look for the .C source areas below,
  68.    are available                    and if you don't have one of the
  69.                                     compilers, you can either modify the
  70.                                     source to work with your compiler and
  71.                                     move the inference to the other C
  72.                                     section, or not change that code and
  73.                                     simply link in the OBJ files that have
  74.                                     been generated by the librarian.
  75.  
  76.    Microsoft Assembler              Look for all occurences of MASM in
  77.    executable is called             this makefile and change them to
  78.    MASM.EXE                         whatever *you* call MASM.
  79.  
  80.    Borland's Turbo Assembler        Look for all occurences of TASM in
  81.    executable is called             this makefile and change them to
  82.    TASM.EXE                         whatever *you* call TASM.
  83.  
  84.    Clipper compiler executable      Look for the .PRG source inference
  85.    is called CLIPPER.EXE            rule below, and change it to whatever
  86.                                     *you* call Clipper.
  87.  
  88.  
  89.    *** Customizing the Makefile
  90.  
  91.    We have tried not to assume anything about your environment except
  92.    what is described above.  To achieve that flexibility, you must
  93.    check and set some macros that can be found just below this
  94.    documentation.  They are:
  95.  
  96.     l       Path to the resulting library (e.g. \GT_LIB)
  97.     o       Path to where .obj files should be put (e.g. \GT_LIB\obj)
  98.     s       Path to where the source code is found (e.g. \GT_LIB)
  99.     c5      Path and name of Clipper 5.2 compiler
  100.     ma      Path to Microsoft Macro Assembler .EXE
  101.     ta      Path to Turbo Assembler .EXE
  102.     mc      Path to Microsoft C compiler
  103.     bc      Path to Borland C compiler
  104.     tl      Path and name of library utility (e.g. C:\borlandc\bin\tlib)
  105.     asm     Current assembler
  106.     cc      Current C compiler
  107.     cf      C compiler flags
  108.  
  109.     Note that directory paths should *not* end in a backslash.
  110.     If you like to keep your .obj and source files in the same
  111.     directory, simply point the paths to the same place.
  112.  
  113.     *** What happens when you don't have a compiler
  114.  
  115.     If RMAKE can't find the compiler in the directory you specified,
  116.     then the relevant files designed for that compiler will not be
  117.     built, and the resultant objs won't be replaced in your library.
  118.     You will get an error message.
  119.  
  120.     *** Suggestions for setting up a "rebuilding environment"
  121.  
  122.     Should you want to rebuild, the following is suggested:
  123.  
  124.     First, make sure you keep an unmodified GT_LIB.LIB in a safe place.
  125.     Do not modify it.
  126.  
  127.     Next, create a directory structure like this
  128.  
  129.     \gt_lib
  130.     \obj
  131.  
  132.     Put this makefile in \gt_lib, and all source code into
  133.     \gt_lib.
  134.  
  135.     Customize the makefile in \gt_lib for your environment.
  136.     The default macros below assume you're using this arrangement.
  137.  
  138.     Type RMAKE GT_LIB.  The .obj files should be left in
  139.     \gt_lib\obj, and the new GT_LIB.LIB should be in \gt_lib.
  140.  
  141.     Note that as new releases of the library come out, you may have
  142.     a lot of work incorporating additions and modifications.  So,
  143.     plan your rebuilding efforts carefully.
  144.  
  145.     *** Problems, bugs, support
  146.  
  147.     Support for this makefile can be found at the following places :
  148.  
  149.         The Dark Knight Returns BBS - 0480 471465
  150.         Compuserve                  - 100137,2625
  151.         CIX                         - daldude or harlequin
  152.  
  153. */
  154.  
  155. //  ------------------------------------------------------------------------
  156. //  path macros for your environment.. BE SURE TO SET THESE! THEY'RE SET FOR
  157. //  THE LIBRARIAN'S MACHINE AND MAY NOT WORK ON YOURS!
  158. //  ------------------------------------------------------------------------
  159.  
  160. l  = j:\cliplibs\clip52\gt_lib
  161. o  = j:\cliplibs\clip52\gt_lib\obj
  162. s  = j:\cliplibs\clip52\gt_lib
  163. i  = j:\clip52\include
  164. c5 = j:\clip52\bin\clipper
  165. ta = j:\borlandc\bin
  166. ma = c:\masm\bin
  167. bc = j:\borlandc\bin
  168. mc = c:\c600\bin
  169. tl = c:\util\flib
  170.  
  171. // -----------------------------
  172. // Kill lib response file if any
  173. // -----------------------------
  174.  
  175. !iffile $(l)\gt_lib.rsp
  176.     #! del $(l)\gt_lib.rsp
  177. !endif
  178.  
  179.     // INFERENCE RULE FOR PRG FILES
  180.  
  181. .PRG.OBJ:
  182.     $(c5) $(s)\$* /m /l /n /r /w $(t) /o$(o)\$* > $(s)\$*.err
  183.     echo -+$(o)\$* & >> $(l)\gt_lib.rsp
  184.  
  185.     // INFERENCE RULE FOR ASM FILES
  186.     //
  187.     // The actual call to the assembler is defined within the 'ASM'
  188.     // macro which is defined before each .ASM section as either
  189.     // MASM or TASM
  190.  
  191. .ASM.OBJ:
  192.     $(asm) /mx $(t) $(s)\$*,$(o)\$*; > $(s)\$*.err
  193.     echo -+$(o)\$* & >> $(l)\gt_lib.rsp
  194.  
  195.     // INFERENCE RULE FOR C FILES
  196.     //
  197.     // The actual call to the compiler is defined within the 'CC'
  198.     // macro, and the flags are defined within the 'CF' macro which
  199.     // is defined before each .C section
  200.  
  201. .C.OBJ:
  202.     $(cc) $(cf)$(o)\$* $(s)\$*.c > $(s)\$*.err
  203.     echo -+$(o)\$* & >> $(l)\gt_lib.rsp
  204.  
  205.     // inference rule for library
  206.  
  207. !iffile $(l)\gt_lib.lib
  208. .RSP.LIB:
  209.             echo ,$(l)\gt_lib.lst >> $(l)\gt_lib.rsp
  210.             $(tl) $(l)\gt_lib.LIB @$(l)\gt_lib.rsp
  211. !else
  212. .RSP.LIB:
  213.             echo ,$(l)\gt_lib.lst >> $(l)\gt_lib.rsp
  214.             $(tl) $(l)\gt_lib.lib
  215.             $(tl) $(l)\gt_lib.LIB @$(l)\gt_lib.rsp
  216. !endif
  217.  
  218. // ------------------------------------------------------------------
  219. // MASM
  220. // This section compiles any source files that need MASM
  221. // -------------------------------------------------------------------
  222.  
  223. // check to see if masm.exe is found
  224.  
  225. !iffile $(ma)\masm.exe
  226.  
  227. asm = $(ma)\masm
  228.  
  229. $(o)\GT_INT86.OBJ : $(s)\GT_INT86.ASM
  230. $(o)\GT_WINDM.OBJ : $(s)\GT_WINDM.ASM
  231.  
  232. !else
  233.  
  234.     // if masm.exe file not found
  235.  
  236. !stderr "GTMake Error: MASM.EXE file not found ... .ASM files not processed!"
  237.  
  238. !endif
  239.  
  240. // ------------------------------------------------------------------
  241. // TASM
  242. // This section compiles any source files that need TASM
  243. // -------------------------------------------------------------------
  244.  
  245. // check to see if tasm.exe is found
  246.  
  247. !iffile $(ta)\tasm.exe
  248.  
  249. asm = $(ta)\tasm
  250.  
  251. $(o)\ALT.OBJ      : $(s)\ALT.ASM
  252. $(o)\CAPLOCK.OBJ  : $(s)\CAPLOCK.ASM
  253. $(o)\CLOCKOFF.OBJ : $(s)\CLOCKOFF.ASM
  254. $(o)\CLOCKON.OBJ  : $(s)\CLOCKON.ASM
  255. $(o)\CTRL.OBJ     : $(s)\CTRL.ASM
  256. $(o)\ISDESQ.OBJ   : $(s)\ISDESQ.ASM
  257. $(o)\NLOCKOFF.OBJ : $(s)\NLOCKOFF.ASM
  258. $(o)\NLOCKON.OBJ  : $(s)\NLOCKON.ASM
  259. $(o)\NUMLOCK.OBJ  : $(s)\NUMLOCK.ASM
  260. $(o)\SHIFT.OBJ    : $(s)\SHIFT.ASM
  261. $(o)\SYSREQ.OBJ   : $(s)\SYSREQ.ASM
  262.  
  263. !else
  264.  
  265.     // if tasm.exe file not found
  266.  
  267. !stderr "GTMake Error: TASM.EXE file not found ... .ASM files not processed!"
  268.  
  269. !endif
  270.  
  271. // ------------------------------------------------------------------
  272. // MICROSOFT C
  273. // This section compiles any source files that need MSC 5.1
  274. // ------------------------------------------------------------------
  275.  
  276. // check to see if cl.exe is found
  277.  
  278. !iffile $(mc)\cl.exe
  279.  
  280. cc = $(mc)\cl
  281. cf = /AL /Gs /FPa /Oalt /Zl /c /Fo
  282.  
  283. $(o)\COLORTON.OBJ : $(s)\COLORTON.C
  284. $(o)\COLORWIN.OBJ : $(s)\COLORWIN.C
  285. $(o)\GT_COMPN.OBJ : $(s)\GT_COMPN.C $(s)\GT_COMPN.H
  286. $(o)\GT_OFF.OBJ   : $(s)\GT_OFF.C
  287. $(o)\GT_SEG.OBJ   : $(s)\GT_SEG.C
  288. $(o)\GT_UCMPN.OBJ : $(s)\GT_UCMPN.C $(s)\GT_COMPN.H
  289. $(o)\NTOCOLOR.OBJ : $(s)\NTOCOLOR.C
  290. $(o)\SHADOW.OBJ   : $(s)\SHADOW.C
  291.  
  292. !else
  293.  
  294.     // if cl.exe file not found
  295.  
  296. !stderr "GTMake Error: CL.EXE file not found ... .C files not processed!"
  297.  
  298. !endif
  299.  
  300. // ------------------------------------------------------------------
  301. // BORLAND C++ 3.1
  302. // This section compiles any source files that need Borland C++ 3.1
  303. // ------------------------------------------------------------------
  304.  
  305. // check to see if bcc.exe is found
  306.  
  307. !iffile $(bc)\bcc.exe
  308.  
  309. cc = $(bc)\bcc
  310. cf = -ml -c -I$(s) -o
  311.  
  312. $(o)\AND.OBJ      : $(s)\AND.C
  313. $(o)\ARGC.OBJ     : $(s)\ARGC.C
  314. $(o)\ARGV.OBJ     : $(s)\ARGV.C
  315. $(o)\ASCIISUM.OBJ : $(s)\ASCIISUM.C
  316. $(o)\ASCPOS.OBJ   : $(s)\ASCPOS.C
  317. $(o)\ATDIFF.OBJ   : $(s)\ATDIFF.C
  318. $(o)\BITFLAGS.OBJ : $(s)\BITFLAGS.C
  319. $(o)\BITSTRIP.OBJ : $(s)\BITSTRIP.C
  320. $(o)\BREAK.OBJ    : $(s)\BREAK.C
  321. $(o)\CHAREVEN.OBJ : $(s)\CHAREVEN.C
  322. $(o)\CHARMIX.OBJ  : $(s)\CHARMIX.C
  323. $(o)\CHARODD.OBJ  : $(s)\CHARODD.C
  324. $(o)\CHDIR.OBJ    : $(s)\CHDIR.C    $(s)\INTERNAL.H
  325. $(o)\CHRCOUNT.OBJ : $(s)\CHRCOUNT.C
  326. $(o)\CHRFIRST.OBJ : $(s)\CHRFIRST.C
  327. $(o)\CHRTOTAL.OBJ : $(s)\CHRTOTAL.C
  328. $(o)\CLUSTERS.OBJ : $(s)\CLUSTERS.C $(s)\INTERNAL.H
  329. $(o)\CLUSTFRE.OBJ : $(s)\CLUSTFRE.C $(s)\INTERNAL.H
  330. $(o)\ENVCOUNT.OBJ : $(s)\ENVCOUNT.C
  331. $(o)\ENVIRON.OBJ  : $(s)\ENVIRON.C
  332. $(o)\EXENAME.OBJ  : $(s)\EXENAME.C
  333. $(o)\FDRVCNT.OBJ  : $(s)\FDRVCNT.C  $(s)\GT_MEM.H
  334. $(o)\FLOPNAME.OBJ : $(s)\FLOPNAME.C $(s)\GT_MEM.H
  335. $(o)\GETDNAME.OBJ : $(s)\GETDNAME.C $(s)\GT_MEM.H
  336. $(o)\GTDIR.OBJ    : $(s)\GTDIR.C
  337. $(o)\HANG.OBJ     : $(s)\HANG.C
  338. $(o)\HARDCNT.OBJ  : $(s)\HARDCNT.C
  339. $(o)\ISREMOTE.OBJ : $(s)\ISREMOTE.C $(s)\GT_MEM.H
  340. $(o)\LLFLOCK.OBJ  : $(s)\LLFLOCK.C  $(s)\GT_MEM.H
  341. $(o)\MKDIR.OBJ    : $(s)\MKDIR.C    $(s)\INTERNAL.H
  342. $(o)\OR.OBJ       : $(s)\OR.C
  343. $(o)\PEEKBYTE.OBJ : $(s)\PEEKBYTE.C $(s)\GT_MEM.H
  344. $(o)\PEEKSTRN.OBJ : $(s)\PEEKSTRN.C $(s)\GT_MEM.H
  345. $(o)\PEEKSTRZ.OBJ : $(s)\PEEKSTRZ.C $(s)\GT_MEM.H
  346. $(o)\PEEKWORD.OBJ : $(s)\PEEKWORD.C $(s)\GT_MEM.H
  347. $(o)\PSPSEG.OBJ   : $(s)\PSPSEG.C
  348. $(o)\RLE.OBJ      : $(s)\RLE.C      $(s)\EXTEND.H
  349. $(o)\RMDIR.OBJ    : $(s)\RMDIR.C    $(s)\INTERNAL.H
  350. $(o)\ROMDATE.OBJ  : $(s)\ROMDATE.C  $(s)\GT_MEM.H
  351. $(o)\SECTPCLU.OBJ : $(s)\SECTPCLU.C $(s)\INTERNAL.H
  352. $(o)\SECTSIZE.OBJ : $(s)\SECTSIZE.C $(s)\INTERNAL.H
  353. $(o)\SETDATE.OBJ  : $(s)\SETDATE.C  $(s)\INTERNAL.H
  354. $(o)\SETFATTR.OBJ : $(s)\SETFATTR.C $(s)\GT_MEM.H
  355. $(o)\SETTIME.OBJ  : $(s)\SETTIME.C  $(s)\INTERNAL.H
  356. $(o)\STOD.OBJ     : $(s)\STOD.C
  357. $(o)\STRASINT.OBJ : $(s)\STRASINT.C
  358. $(o)\STRCOUNT.OBJ : $(s)\STRCOUNT.C
  359. $(o)\STRCSPN.OBJ  : $(s)\STRCSPN.C
  360. $(o)\STRDIFF.OBJ  : $(s)\STRDIFF.C
  361. $(o)\STREXPAN.OBJ : $(s)\STREXPAN.C
  362. $(o)\STRLEFT.OBJ  : $(s)\STRLEFT.C
  363. $(o)\STRPBRK.OBJ  : $(s)\STRPBRK.C
  364. $(o)\STRRIGHT.OBJ : $(s)\STRRIGHT.C
  365. $(o)\VERIFY.OBJ   : $(s)\VERIFY.C
  366. $(o)\WINCLIPB.OBJ : $(s)\WINCLIPB.C $(s)\GT_MEM.H
  367. $(o)\XOR.OBJ      : $(s)\XOR.C
  368.  
  369. !else
  370.  
  371.     // if bcc.exe file not found
  372.  
  373. !stderr "GTMake Error: BCC.EXE file not found ... .C files not processed!"
  374.  
  375. !endif
  376.  
  377.  
  378. // --------------------------------------------------------------
  379. // CLIPPER 5.01
  380. // This section compiles any source files that need Clipper 5.01
  381. // ---------------------------------------------------------------
  382.  
  383. // check to see if clipper.exe is found
  384.  
  385. !iffile $(c5).exe
  386.  
  387. $(o)\ACOMP.OBJ    : $(s)\ACOMP.PRG
  388. $(o)\ADDREC.OBJ   : $(s)\ADDREC.PRG
  389. $(o)\AMSG.OBJ     : $(s)\AMSG.PRG     $(s)\GT_LIB.CH
  390. $(o)\ARRASKIP.OBJ : $(s)\ARRASKIP.PRG $(s)\GT_LIB.CH
  391. $(o)\AUDIT.OBJ    : $(s)\AUDIT.PRG    $(s)\GT_LIB.CH
  392. $(o)\BARBOX.OBJ   : $(s)\BARBOX.PRG   $(s)\GT_LIB.CH
  393. $(o)\BARCLEAR.OBJ : $(s)\BARCLEAR.PRG $(s)\GT_LIB.CH
  394. $(o)\BARUPDAT.OBJ : $(s)\BARUPDAT.PRG $(s)\GT_LIB.CH
  395. $(o)\BLATBOX.OBJ  : $(s)\BLATBOX.PRG  $(s)\GT_LIB.CH
  396. $(o)\CHEKTABS.OBJ : $(s)\CHEKTABS.PRG $(s)\GT_LIB.CH
  397. $(o)\CHKKEY.OBJ   : $(s)\CHKKEY.PRG   $(s)\GT_LIB.CH
  398. $(o)\COLORSET.OBJ : $(s)\COLORSET.PRG
  399. $(o)\DATEPACK.OBJ : $(s)\DATEPACK.PRG $(s)\GT_LIB.CH
  400. $(o)\DATEPLUS.OBJ : $(s)\DATEPLUS.PRG
  401. $(o)\DAYSMONT.OBJ : $(s)\DAYSMONT.PRG
  402. $(o)\DBSTRU.OBJ   : $(s)\DBSTRU.PRG   $(s)\GT_LIB.CH
  403. $(o)\DECRYPT.OBJ  : $(s)\DECRYPT.PRG  $(s)\GT_LIB.CH
  404. $(o)\DEFEXT.OBJ   : $(s)\DEFEXT.PRG   $(s)\GT_LIB.CH
  405. $(o)\DISKSIZE.OBJ : $(s)\DISKSIZE.PRG
  406. $(o)\DOSFILE.OBJ  : $(s)\DOSFILE.PRG
  407. $(o)\DOSPATH.OBJ  : $(s)\DOSPATH.PRG
  408. $(o)\ELEMENT.OBJ  : $(s)\ELEMENT.PRG  $(s)\GT_LIB.CH
  409. $(o)\ELEVBAR.OBJ  : $(s)\ELEVBAR.PRG  $(s)\GT_LIB.CH
  410. $(o)\ENCRYPT.OBJ  : $(s)\ENCRYPT.PRG  $(s)\GT_LIB.CH
  411. $(o)\ENDMONTH.OBJ : $(s)\ENDMONTH.PRG
  412. $(o)\FERROR.OBJ   : $(s)\FERROR.PRG   $(s)\GT_LIB.CH
  413. $(o)\FGETLR.OBJ   : $(s)\FGETLR.PRG   $(s)\GT_LIB.CH
  414. $(o)\FHEADER.OBJ  : $(s)\FHEADER.PRG  $(s)\GT_LIB.CH
  415. $(o)\FILELOCK.OBJ : $(s)\FILELOCK.PRG
  416. $(o)\FILSPACE.OBJ : $(s)\FILSPACE.PRG $(s)\GT_LIB.CH
  417. $(o)\FLOCATE.OBJ  : $(s)\FLOCATE.PRG  $(s)\GT_LIB.CH
  418. $(o)\FONETIX.OBJ  : $(s)\FONETIX.PRG  $(s)\GT_LIB.CH
  419. $(o)\FSAMEROW.OBJ : $(s)\FSAMEROW.PRG $(s)\GT_LIB.CH
  420. $(o)\FSIZE.OBJ    : $(s)\FSIZE.PRG    $(s)\GT_LIB.CH
  421. $(o)\FTELL.OBJ    : $(s)\FTELL.PRG
  422. $(o)\GETCHOIC.OBJ : $(s)\GETCHOIC.PRG $(s)\GT_LIB.CH
  423. $(o)\GETFILES.OBJ : $(s)\GETFILES.PRG $(s)\GT_LIB.CH
  424. $(o)\GETHEAD.OBJ  : $(s)\GETHEAD.PRG
  425. $(o)\GETINDEX.OBJ : $(s)\GETINDEX.PRG
  426. $(o)\GETKEY.OBJ   : $(s)\GETKEY.PRG   $(s)\GT_LIB.CH
  427. $(o)\GRPASSWO.OBJ : $(s)\GRPASSWO.PRG $(s)\GT_LIB.CH
  428. $(o)\GTBIGTIM.OBJ : $(s)\GTBIGTIM.PRG
  429. $(o)\GTCLOCK.OBJ  : $(s)\GTCLOCK.PRG
  430. $(o)\GTCURS.OBJ   : $(s)\GTCURS.PRG
  431. $(o)\GTMATH01.OBJ : $(s)\GTMATH01.PRG
  432. $(o)\GTMATH02.OBJ : $(s)\GTMATH02.PRG $(s)\GT_LIB.CH
  433. $(o)\GTMATH03.OBJ : $(s)\GTMATH03.PRG
  434. $(o)\GTMATH04.OBJ : $(s)\GTMATH04.PRG
  435. $(o)\GTMATH05.OBJ : $(s)\GTMATH05.PRG $(s)\GT_LIB.CH
  436. $(o)\GTMATH06.OBJ : $(s)\GTMATH06.PRG $(s)\GT_LIB.CH
  437. $(o)\GTMATH07.OBJ : $(s)\GTMATH07.PRG
  438. $(o)\GTMATH08.OBJ : $(s)\GTMATH08.PRG
  439. $(o)\GT_A2STR.OBJ : $(s)\GT_A2STR.PRG $(s)\GT_LIB.CH
  440. $(o)\GT_ALERT.OBJ : $(s)\GT_ALERT.PRG $(s)\GT_LIB.CH
  441. $(o)\GT_ALIAS.OBJ : $(s)\GT_ALIAS.PRG $(s)\GT_LIB.CH
  442. $(o)\GT_ALT.OBJ   : $(s)\GT_ALT.PRG   $(s)\GT_LIB.CH
  443. $(o)\GT_APPEN.OBJ : $(s)\GT_APPEN.PRG $(s)\GT_LIB.CH
  444. $(o)\GT_ASKQU.OBJ : $(s)\GT_ASKQU.PRG $(s)\GT_LIB.CH
  445. $(o)\GT_ASKUS.OBJ : $(s)\GT_ASKUS.PRG $(s)\GT_LIB.CH
  446. $(o)\GT_BEEP.OBJ  : $(s)\GT_BEEP.PRG
  447. $(o)\GT_BLANK.OBJ : $(s)\GT_BLANK.PRG $(s)\GT_LIB.CH
  448. $(o)\GT_BLOCK.OBJ : $(s)\GT_BLOCK.PRG $(s)\GT_LIB.CH
  449. $(o)\GT_BOW.OBJ   : $(s)\GT_BOW.PRG   $(s)\GT_LIB.CH
  450. $(o)\GT_BROWS.OBJ : $(s)\GT_BROWS.PRG $(s)\GT_LIB.CH
  451. $(o)\GT_CAPIT.OBJ : $(s)\GT_CAPIT.PRG $(s)\GTCLIPPE.CH
  452. $(o)\GT_CENT.OBJ  : $(s)\GT_CENT.PRG  $(s)\GT_LIB.CH
  453. $(o)\GT_CHOOS.OBJ : $(s)\GT_CHOOS.PRG $(s)\GTCLIPPE.CH
  454. $(o)\GT_CURDR.OBJ : $(s)\GT_CURDR.PRG
  455. $(o)\GT_DATEA.OBJ : $(s)\GT_DATEA.PRG $(s)\GT_LIB.CH
  456. $(o)\GT_DELRE.OBJ : $(s)\GT_DELRE.PRG $(s)\GT_LIB.CH
  457. $(o)\GT_DERR.OBJ  : $(s)\GT_DERR.PRG  $(s)\GT_LIB.CH
  458. $(o)\GT_DIREC.OBJ : $(s)\GT_DIREC.PRG $(s)\GTCLIPPE.CH
  459. $(o)\GT_DOW2C.OBJ : $(s)\GT_DOW2C.PRG $(s)\GT_LIB.CH
  460. $(o)\GT_DOW2N.OBJ : $(s)\GT_DOW2N.PRG $(s)\GT_LIB.CH
  461. $(o)\GT_ERNAM.OBJ : $(s)\GT_ERNAM.PRG $(s)\GT_LIB.CH
  462. $(o)\GT_ERROR.OBJ : $(s)\GT_ERROR.PRG $(s)\GT_LIB.CH
  463. $(o)\GT_FILE2.OBJ : $(s)\GT_FILE2.PRG $(s)\GT_LIB.CH
  464. $(o)\GT_GETLI.OBJ : $(s)\GT_GETLI.PRG $(s)\GTCLIPPE.CH
  465. $(o)\GT_GETPA.OBJ : $(s)\GT_GETPA.PRG $(s)\GT_LIB.CH
  466. $(o)\GT_GOBOT.OBJ : $(s)\GT_GOBOT.PRG $(s)\GT_LIB.CH
  467. $(o)\GT_GOTOP.OBJ : $(s)\GT_GOTOP.PRG $(s)\GT_LIB.CH
  468. $(o)\GT_HELP.OBJ  : $(s)\GT_HELP.PRG  $(s)\GT_LIB.CH
  469. $(o)\GT_HILIT.OBJ : $(s)\GT_HILIT.PRG $(s)\GT_LIB.CH
  470. $(o)\GT_INKEY.OBJ : $(s)\GT_INKEY.PRG $(s)\GT_LIB.CH
  471. $(o)\GT_INTER.OBJ : $(s)\GT_INTER.PRG $(s)\GT_LIB.CH
  472. $(o)\GT_ISDAT.OBJ : $(s)\GT_ISDAT.PRG
  473. $(o)\GT_ISDOW.OBJ : $(s)\GT_ISDOW.PRG $(s)\GT_LIB.CH
  474. $(o)\GT_ISFIE.OBJ : $(s)\GT_ISFIE.PRG $(s)\GTCLIPPE.CH
  475. $(o)\GT_ISFIL.OBJ : $(s)\GT_ISFIL.PRG $(s)\GTCLIPPE.CH
  476. $(o)\GT_LOCKI.OBJ : $(s)\GT_LOCKI.PRG $(s)\GT_LIB.CH
  477. $(o)\GT_MDAYS.OBJ : $(s)\GT_MDAYS.PRG $(s)\GT_LIB.CH
  478. $(o)\GT_MEMLO.OBJ : $(s)\GT_MEMLO.PRG $(s)\GT_LIB.CH
  479. $(o)\GT_MEMO.OBJ  : $(s)\GT_MEMO.PRG  $(s)\GTCLIPPE.CH
  480. $(o)\GT_MEMSA.OBJ : $(s)\GT_MEMSA.PRG $(s)\GT_LIB.CH
  481. $(o)\GT_MENU.OBJ  : $(s)\GT_MENU.PRG  $(s)\GT_LIB.CH
  482. $(o)\GT_MESSA.OBJ : $(s)\GT_MESSA.PRG $(s)\GT_LIB.CH
  483. $(o)\GT_NEWSC.OBJ : $(s)\GT_NEWSC.PRG $(s)\GT_LIB.CH
  484. $(o)\GT_OPEN.OBJ  : $(s)\GT_OPEN.PRG  $(s)\GT_LIB.CH
  485. $(o)\GT_PROGR.OBJ : $(s)\GT_PROGR.PRG $(s)\GTCLIPPE.CH
  486. $(o)\GT_QUIT.OBJ  : $(s)\GT_QUIT.PRG  $(s)\GT_LIB.CH
  487. $(o)\GT_RMEMO.OBJ : $(s)\GT_RMEMO.PRG $(s)\GT_LIB.CH
  488. $(o)\GT_S2ARR.OBJ : $(s)\GT_S2ARR.PRG $(s)\GT_LIB.CH
  489. $(o)\GT_SETUP.OBJ : $(s)\GT_SETUP.PRG $(s)\GT_LIB.CH
  490. $(o)\GT_SHADO.OBJ : $(s)\GT_SHADO.PRG $(s)\GT_LIB.CH
  491. $(o)\GT_SHUFL.OBJ : $(s)\GT_SHUFL.PRG $(s)\GT_LIB.CH
  492. $(o)\GT_SKIP.OBJ  : $(s)\GT_SKIP.PRG  $(s)\GT_LIB.CH
  493. $(o)\GT_SNAKE.OBJ : $(s)\GT_SNAKE.PRG $(s)\GT_LIB.CH
  494. $(o)\GT_STR2A.OBJ : $(s)\GT_STR2A.PRG $(s)\GT_LIB.CH
  495. $(o)\GT_TABLE.OBJ : $(s)\GT_TABLE.PRG $(s)\GT_LIB.CH
  496. $(o)\GT_TEXTD.OBJ : $(s)\GT_TEXTD.PRG $(s)\GT_LIB.CH
  497. $(o)\GT_TOSTR.OBJ : $(s)\GT_TOSTR.PRG $(s)\GT_LIB.CH
  498. $(o)\GT_USE.OBJ   : $(s)\GT_USE.PRG   $(s)\GT_LIB.CH
  499. $(o)\GT_VALID.OBJ : $(s)\GT_VALID.PRG $(s)\GT_LIB.CH
  500. $(o)\GT_WINDO.OBJ : $(s)\GT_WINDO.PRG $(s)\GT_LIB.CH
  501. $(o)\HEADER.OBJ   : $(s)\HEADER.PRG   $(s)\GT_LIB.CH
  502. $(o)\HELP.OBJ     : $(s)\HELP.PRG     $(s)\GT_LIB.CH
  503. $(o)\IPLODASC.OBJ : $(s)\IPLODASC.PRG $(s)\GT_LIB.CH
  504. $(o)\ISBUSDAY.OBJ : $(s)\ISBUSDAY.PRG
  505. $(o)\ISDBF.OBJ    : $(s)\ISDBF.PRG    $(s)\GT_LIB.CH
  506. $(o)\KILLGET.OBJ  : $(s)\KILLGET.PRG
  507. $(o)\LASTREC.OBJ  : $(s)\LASTREC.PRG  $(s)\GT_LIB.CH
  508. $(o)\LEAPYEAR.OBJ : $(s)\LEAPYEAR.PRG $(s)\GT_LIB.CH
  509. $(o)\LEVCOST.OBJ  : $(s)\LEVCOST.PRG  $(s)\GT_LIB.CH $(s)\LEVENSHT.CH
  510. $(o)\LEVENSHT.OBJ : $(s)\LEVENSHT.PRG $(s)\GT_LIB.CH $(s)\LEVENSHT.CH
  511. $(o)\LEVENSUP.OBJ : $(s)\LEVENSUP.PRG $(s)\GT_LIB.CH $(s)\LEVENSHT.CH
  512. $(o)\LOGFILE.OBJ  : $(s)\LOGFILE.PRG  $(s)\GT_LIB.CH
  513. $(o)\LUPDATE.OBJ  : $(s)\LUPDATE.PRG  $(s)\GT_LIB.CH
  514. $(o)\MOVEPOS.OBJ  : $(s)\MOVEPOS.PRG  $(s)\GT_LIB.CH
  515. $(o)\NAMECOUN.OBJ : $(s)\NAMECOUN.PRG $(s)\GT_LIB.CH
  516. $(o)\NETUSE.OBJ   : $(s)\NETUSE.PRG
  517. $(o)\OCCURS.OBJ   : $(s)\OCCURS.PRG   $(s)\GT_LIB.CH
  518. $(o)\PHEADER.OBJ  : $(s)\PHEADER.PRG  $(s)\GT_LIB.CH
  519. $(o)\PNEXTROW.OBJ : $(s)\PNEXTROW.PRG $(s)\GT_LIB.CH
  520. $(o)\PRINFILE.OBJ : $(s)\PRINFILE.PRG $(s)\GT_LIB.CH
  521. $(o)\PRINSCRN.OBJ : $(s)\PRINSCRN.PRG
  522. $(o)\PSAMEROW.OBJ : $(s)\PSAMEROW.PRG $(s)\GT_LIB.CH
  523. $(o)\RECLOCK.OBJ  : $(s)\RECLOCK.PRG
  524. $(o)\RESTSCR.OBJ  : $(s)\RESTSCR.PRG  $(s)\GT_LIB.CH
  525. $(o)\ROLLFWD.OBJ  : $(s)\ROLLFWD.PRG
  526. $(o)\SAVESCR.OBJ  : $(s)\SAVESCR.PRG  $(s)\GT_LIB.CH
  527. $(o)\SERIALNO.OBJ : $(s)\SERIALNO.PRG $(s)\GT_LIB.CH
  528. $(o)\SPOTLITE.OBJ : $(s)\SPOTLITE.PRG
  529. $(o)\STABILIZ.OBJ : $(s)\STABILIZ.PRG
  530. $(o)\STOD1.OBJ    : $(s)\STOD1.PRG
  531. $(o)\STRZERO.OBJ  : $(s)\STRZERO.PRG
  532. $(o)\TBPRINT.OBJ  : $(s)\TBPRINT.PRG  $(s)\GT_LIB.CH
  533. $(o)\THEWALL.OBJ  : $(s)\THEWALL.PRG  $(s)\GT_LIB.CH
  534. $(o)\TRASHCAN.OBJ : $(s)\TRASHCAN.PRG $(s)\GT_LIB.CH
  535. $(o)\USEDBF.OBJ   : $(s)\USEDBF.PRG   $(s)\GT_LIB.CH
  536. $(o)\USERLOCK.OBJ : $(s)\USERLOCK.PRG $(s)\GT_LIB.CH
  537. $(o)\VIDEOMOD.OBJ : $(s)\VIDEOMOD.PRG
  538. $(o)\WARNING.OBJ  : $(s)\WARNING.PRG  $(s)\GT_LIB.CH
  539. $(o)\WORKING.OBJ  : $(s)\WORKING.PRG  $(s)\GT_LIB.CH
  540. $(o)\X2CHAR.OBJ   : $(s)\X2CHAR.PRG
  541. $(o)\XPLODASC.OBJ : $(s)\XPLODASC.PRG $(s)\GT_LIB.CH
  542. $(o)\XSEEK.OBJ    : $(s)\XSEEK.PRG    $(s)\GT_LIB.CH
  543.  
  544. !else
  545.  
  546.     // if clipper.exe file not found
  547.  
  548. !stderr "GTMake Error: CLIPPER.EXE file not found ... .PRG files not processed!"
  549.  
  550. !endif
  551.  
  552. //  ┌─────────────────────────────────────────────────────────────┐
  553. //  │ This section invokes the library manager - it must be last! │
  554. //  └─────────────────────────────────────────────────────────────┘
  555. //
  556.  
  557. !iffile $(tl).exe
  558.  
  559. $(l)\gt_lib.LIB : $(l)\gt_lib.RSP
  560.  
  561. !else
  562.  
  563. !stderr "GTMake Error: LIB.EXE file not found ... gt_lib.LIB not processed!"
  564.  
  565. !endif
  566.  
  567. // end of gt_lib.rmk
  568.