home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / the25.zip / thesrc251.zip / makefile.dist < prev    next >
Makefile  |  1997-09-10  |  37KB  |  967 lines

  1. #
  2. #########################################################################
  3. #
  4. # makefile for The Hessling Editor (THE)
  5. #
  6. #########################################################################
  7. #
  8. # THE - The Hessling Editor. A text editor similar to VM/CMS xedit.
  9. # Copyright (C) 1991-1995 Mark Hessling
  10. #
  11. # This program is free software; you can redistribute it and/or
  12. # modify it under the terms of the GNU General Public License as
  13. # published by the Free Software Foundation; either version 2 of
  14. # the License, or any later version.
  15. #
  16. # This program is distributed in the hope that it will be useful,
  17. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  19. # General Public License for more details.
  20. #
  21. # You should have received a copy of the GNU General Public License
  22. # along with this program; if not, write to:
  23. #
  24. #    The Free Software Foundation, Inc.
  25. #    675 Mass Ave,
  26. #    Cambridge, MA 02139 USA.
  27. #
  28. #
  29. # If you make modifications to this software that you feel increases
  30. # it usefulness for the rest of the community, please email the
  31. # changes, enhancements, bug fixes as well as any and all ideas to me.
  32. # This software is going to be maintained and enhanced as deemed
  33. # necessary by the community.
  34. #
  35. # Mark Hessling                 Email:             M.Hessling@qut.edu.au
  36. # PO Box 203                    Phone:                    +617 3802 0800
  37. # Bellara                       http://www.gu.edu.au/gext/the/markh.html
  38. # QLD 4507                      **** Maintainer PDCurses & REXX/SQL ****
  39. # Australia                     ************* Author of THE ************
  40. #
  41. #########################################################################
  42. #
  43. # The available features of curses library are different on just about 
  44. # every machine. System V curses has more features that BSD curses, so if
  45. # your system gives you a choice of curses libraries, use the System V one.
  46. # The later the version of your System V operating system, the more features
  47. # are supplied in the curses library and the more features THE can use.
  48. # To help you determine which of the options below should be used, then
  49. # the following will help.
  50. #
  51. # Determine where your curses.h file is located. It is generally in
  52. # /usr/include or /usr/5include. 
  53. # Once you know the location of curses.h, run the following commands:
  54. #
  55. # grep A_COLOR /usr/include/curses.h  (or wherever your curses.h file is)
  56. # If this results in any output, then use the System V R3.2 section.
  57. # next try:
  58. # grep attrset /usr/include/curses.h  (or wherever your curses.h file is)
  59. # If this results in any output, then use the System V R3.1 section.
  60. # If neither of these commands resulut in any output, then I'm affraid you
  61. # will have to use the BSD option.
  62. #
  63. # If when you compile and link THE, you get errors, then you might have to
  64. # come down one version. eg If you used the System V R3.2 section and got
  65. # errors, try using the System V 3.1 section.
  66. #
  67. # THE should now work successfully with ncurses version 1.9.1 and later.
  68. # As ncurses provides full System V R4 compatible features like colour,
  69. # if you can get ncurses to work on your system, it will make THE more
  70. # configurable.
  71. #
  72. # ncurses is available from ftp://ftp.netcom.com/pub/zm/zmbenhal/ncurses
  73. #
  74. #########################################################################
  75. #
  76. # THE is REXX-aware under all platforms; DOS, OS/2 and Unix.
  77. # By default, the OS/2 REXX support is enabled when compiling with the
  78. # C Set/2 compiler, as this is the only platform where one is almost
  79. # guaranteed to have REXX support available.
  80. #
  81. # To enable REXX support under Unix you need to do the following:
  82. # - obtain version 0.05d or later of Regina from ftp.pvv.unit.no
  83. #   in /pub/rexx. The file is called regina-?.???.tar.Z where ?.??? is
  84. #   the current version.
  85. #   you can also get Regina from rexx.uwaterloo.ca in /pub/freerexx/regina
  86. # - check the README file to see if your platform is supported.
  87. #   if it isn't, then ignore the rest of these instructions :-(
  88. # - build regina as per its instructions
  89. #   this should result in a rexx executable file and a libregina.a file
  90. # - copy rexxsaa.h from the regina src directory into the THE source
  91. #   directory. Also copy libregina.a from the regina src directory into
  92. #   the THE source directory. You may need to run ranlib again on the
  93. #   libregina.a file)
  94. # - set the REXXLIB variable to "-L. -lregina"
  95. #   you may also need to add "-ll" to the end of the REXXLIB variable
  96. #   This is because Regina (versions 0.07a and later) use lex and yacc
  97. #   as part of the compilation of Regina. On some platforms you need
  98. #   to link the lex/yacc library; libl.a with the rexx executable and 
  99. #   with THE. Check the linking step when compiling Regina to see if
  100. #   "-ll" is included. If it is, then it will be required for THE.
  101. # - set the REXXINC variable to "-DUSE_REGINA"
  102. #
  103. #########################################################################
  104. #$Id: makefile 2.1 1995/06/24 16:30:21 MH Rel MH $
  105. #########################################################################
  106.  
  107. VER = 22
  108. PROJ = proj   # this will get replaced by uncommenting a section
  109. MAN  = man    # this will get replaced by uncommenting a section
  110.  
  111. #########################################################################
  112. # Borland C++ 2.0 and above compiler on DOS (with Personal REXX (incomplete))
  113. #########################################################################
  114. #SRC       = c:/the
  115. #PROJ      = the.exe
  116. #OBJ       = obj
  117. #CC        = bcc
  118. #CURSINC   = -Ic:/curses 
  119. #REXXINC   = -DUSE_QUERCUS
  120. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  121. #CFLAGS    = -O -d -K -w-aus -w-par -ml  $(INCLUDES)
  122. #LD        = tlink @dos-trc.rsp
  123. #XTRAOBJ   = getopt.obj rxiface.obj
  124. #MAN       = manext.exe
  125. #MANLD     = tlink /c /Td c:\c\lib\c0l+manext+getopt+c:\c\lib\wildargs,manext,,c:\c\lib\cl.lib
  126. #########################################################################
  127. # Borland C++ 2.0 and above compiler on DOS (without Personal REXX)
  128. #########################################################################
  129. #SRC       = c:/the
  130. #PROJ      = the.exe
  131. #OBJ       = obj
  132. #CC        = bcc
  133. #CURSINC   = -Ic:/curses
  134. #REXXINC   = -DNOREXX
  135. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  136. #CFLAGS    = -O -d -K -w-aus -w-par -ml  $(INCLUDES)
  137. #LD        = tlink @dos-trcx.rsp
  138. #XTRAOBJ   = getopt.obj
  139. #MAN       = manext.exe
  140. #MANLD     = tlink /c /Td c:\c\lib\c0l+manext+getopt+c:\c\lib\wildargs,manext,,c:\c\lib\cl.lib
  141. #########################################################################
  142. # MSC 6.0ax compiler on DOS
  143. #########################################################################
  144. #SRC       = c:/the
  145. #PROJ      = the.exe
  146. #OBJ       = obj
  147. #CC        = cl
  148. #CURSINC   = -Ic:/curses
  149. #REXXINC   = -DNOREXX
  150. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  151. #CFLAGS    = -O -J -EM -AL  $(INCLUDES)
  152. #LD        = link @dos-msc.rsp
  153. #XTRAOBJ   = getopt.obj
  154. #MAN       = manext.exe
  155. #MANLD     = link manext+getopt+c:\c600\lib\setargv,,,c:\c600\lib\Llibce /CO /NOE /NOI /NOD;
  156. #########################################################################
  157. # djgpp compiler on DOS (no REXX)
  158. #########################################################################
  159. #SRC       = c:/the
  160. #PROJ      = the
  161. #OBJ       = o
  162. #CC        = gcc
  163. #CURSINC   = -Ic:/curses
  164. #CURSLIB   = c:/djgpp/curses/curseso.a
  165. #REXXINC   = -DNOREXX
  166. #REXXLIB   =
  167. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  168. #CFLAGS    = -O -D__MSDOS__  $(INCLUDES) -o$*.o
  169. #LD        = $(CC) -o $(PROJ) @dos-go32.rsp -Lc:/djgpp/lib $(CURSLIB) $(REXXLIB)
  170. #XTRAOBJ   =
  171. #MAN       = manext
  172. #MANLD     = $(CC) -o manext manext.o -Lc:/djgpp/lib
  173. #CHMODTHE  = aout2exe $(PROJ)
  174. #CHMODMAN  = aout2exe $(MAN)
  175. #########################################################################
  176. # djgpp compiler on DOS (with Regina 0.07a and above)
  177. #########################################################################
  178. #SRC       = c:/the
  179. #PROJ      = the
  180. #OBJ       = o
  181. #CC        = gcc
  182. #CURSINC   = -Ic:/curses
  183. #CURSLIB   = c:/djgpp/curses/curseso.a
  184. #REXXINC   = -If:/regina-d/src -DUSE_REGINA
  185. #REXXLIB   = -Lf:/regina-d/src -lrexx -lsaa -lrexx
  186. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  187. #CFLAGS    = -O -D__MSDOS__  $(INCLUDES) -o$*.o
  188. #LD        = $(CC) -O -o $(PROJ) @dos-go32.rsp -Lc:/djgpp/lib $(CURSLIB) $(REXXLIB)
  189. #XTRAOBJ   =
  190. #MAN       = manext
  191. #MANLD     = $(CC) -o manext manext.o -Lc:/djgpp/lib
  192. #CHMODTHE  = aout2exe $(PROJ)
  193. #CHMODMAN  = aout2exe $(MAN)
  194. #########################################################################
  195. # MSC 6.0ax compiler on OS/2
  196. #########################################################################
  197. #SRC       = c:/the
  198. #PROJ      = the.exe
  199. #OBJ       = obj
  200. #CC        = cl
  201. #CURSINC   = -Ic:/curses
  202. #REXXINC   = -DNOREXX
  203. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  204. #CFLAGS    = -O -J -EM -AL -D__OS2__  -DUSE_OS2_H $(INCLUDES)
  205. #LD        = link @os2-msc.rsp
  206. #XTRAOBJ   = getopt.obj os2eas.obj
  207. #MAN       = manext.exe
  208. #MANLD     = link manext+getopt+c:\c600\os2lib\setargv,,,c:\c600\os2lib\Llibce,msc-man.def /NOE /NOI /NOD;
  209. #########################################################################
  210. # C Set/2 compiler on OS/2
  211. #########################################################################
  212. #SRC       = g:/the
  213. #PROJ      = the.exe
  214. #OBJ       = obj
  215. #CC        = icc
  216. #CURSINC   = -Ig:/curses
  217. #REXXINC   = -DUSE_OS2REXX
  218. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  219. #CFLAGS    = -O -J+ -Sm -Q+  $(INCLUDES)
  220. #LD        = link386 @os2-ibm.rsp
  221. #XTRAOBJ   = getopt.obj os2eas.obj
  222. #MAN       = manext.exe
  223. #MANLD     = link386 manext+getopt+f:\ibmc\lib\setargv,,,,ibm-man.def /NOE /NOI /EXEPACK /ALIGN:4;
  224. #RCTHE     = rc $(SRC)\the.res $(PROJ)
  225. #########################################################################
  226. # emx .09a and above compiler on OS/2
  227. #########################################################################
  228. #SRC       = c:/the
  229. #PROJ      = the
  230. #OBJ       = o
  231. #CC        = gcc
  232. #CURSINC   = -Ic:/curses
  233. #CURSLIB   = -Lf:/emx/curses -lcurso
  234. #REXXINC   = -DUSE_OS2REXX
  235. #REXXLIB   = 
  236. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  237. #CFLAGS    = -O -DNOVIO  $(INCLUDES) -o$*.o
  238. #LD        = $(CC) -o $(PROJ) $(OBJS) -Lf:/emx/lib -los2 $(CURSLIB) $(REXXLIB) $(SRC)/emx-the.def
  239. #XTRAOBJ   = os2eas.obj
  240. #MAN       = manext
  241. #MANLD     = $(CC) -o manext manext.o -Lf:/emx/lib -los2 $(SRC)/emx-man.def
  242. #BINDTHE   = emxbind $(PROJ)
  243. #RCTHE     = rc $(SRC)\the.res $(PROJ)
  244. #BINDMAN   = emxbind $(MAN)
  245. #########################################################################
  246. # Borland C++ Compiler on OS/2
  247. #########################################################################
  248. #SRC       = c:/the
  249. #PROJ      = the.exe
  250. #OBJ       = obj
  251. #CC        = bcc
  252. #CURSINC   = -Ic:/curses
  253. #REXXINC   = -DUSE_OS2REXX
  254. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  255. #CFLAGS    = -O -d -K -w-aus -w-par -D__32BIT__  $(INCLUDES)
  256. #LD        = tlink @os2-bcc.rsp
  257. #XTRAOBJ   = getopt.obj os2eas.obj
  258. #MAN       = manext.exe
  259. #MANLD     = tlink manext+getopt+f:\bcos2\lib\setargv,,,,bcc-man.def /NOE /NOI /EXEPACK /ALIGN:4;
  260. #########################################################################
  261. # System V compiler on Sun (no REXX)
  262. #########################################################################
  263. #SRC       = .
  264. #PROJ      = the
  265. #OBJ       = o
  266. #CC        = /usr/5bin/cc
  267. #CURSINC   = 
  268. #CURSLIB   = -lcurses
  269. #REXXINC   = -DNOREXX
  270. #REXXLIB   = 
  271. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  272. #CFLAGS    = -O -DSYSVR31 $(INCLUDES)
  273. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  274. #XTRAOBJ   =
  275. #MAN       = manext
  276. #MANLD     = $(CC) -o $(MAN) manext.o
  277. #CHMODTHE  = chmod 755 $(PROJ)
  278. #CHMODMAN  = chmod 755 $(MAN)
  279. #########################################################################
  280. # ANSI C compiler on Sun - acc (with Regina 0.05h or above)
  281. #########################################################################
  282. #SRC       = .
  283. #PROJ      = the
  284. #OBJ       = o
  285. #CC        = acc
  286. #CURSINC   = -I/usr/5include
  287. #CURSLIB   = -L/usr/5lib -lcurses
  288. #REXXINC   = -I. -DUSE_REGINA
  289. #REXXLIB   = -L. -lregina
  290. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  291. #CFLAGS    = -O -DSYSVR31  $(INCLUDES)
  292. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB) 
  293. #XTRAOBJ   =
  294. #MAN       = manext
  295. #MANLD     = $(CC) -o $(MAN) manext.o
  296. #CHMODTHE  = chmod 755 $(PROJ)
  297. #CHMODMAN  = chmod 755 $(MAN)
  298. #########################################################################
  299. # ANSI C compiler on Sun - acc (no REXX)
  300. #########################################################################
  301. #SRC       = .
  302. #PROJ      = the
  303. #OBJ       = o
  304. #CC        = acc
  305. #CURSINC   = -I/usr/5include
  306. #CURSLIB   = -L/usr/5lib -lcurses
  307. #REXXINC   = -DNOREXX
  308. #REXXLIB   = 
  309. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  310. #CFLAGS    = -O -DSYSVR31  $(INCLUDES)
  311. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB) 
  312. #XTRAOBJ   =
  313. #MAN       = manext
  314. #MANLD     = $(CC) -o $(MAN) manext.o
  315. #CHMODTHE  = chmod 755 $(PROJ)
  316. #CHMODMAN  = chmod 755 $(MAN)
  317. #########################################################################
  318. # gcc compiler on Sun (with Regina 0.05h or above)
  319. #########################################################################
  320. #SRC       = .
  321. #PROJ      = the
  322. #OBJ       = o
  323. #CC        = gcc
  324. #CURSINC   = -I/usr/5include
  325. #CURSLIB   = -L/usr/5lib -lcurses
  326. #REXXINC   = -I. -DUSE_REGINA
  327. #REXXLIB   = -L. -lregina
  328. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  329. #CFLAGS    = -O -DSYSVR31  $(INCLUDES)
  330. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  331. #XTRAOBJ   =
  332. #MAN       = manext
  333. #MANLD     = $(CC) -o $(MAN) manext.o
  334. #CHMODTHE  = chmod 755 $(PROJ)
  335. #CHMODMAN  = chmod 755 $(MAN)
  336. #########################################################################
  337. # gcc compiler on Linux using XCurses (NO REXX)
  338. #########################################################################
  339. #SRC       = ..
  340. #PROJ      = the
  341. #OBJ       = o
  342. #CC        = gcc
  343. #CURSINC   = -O -I/usr/local/include -DUSE_XCURSES -DSYSVR32
  344. #CURSLIB   = -L/usr/local/lib -lxcurseso -L/usr/X11R6/lib -lXaw -lXmu -lXt -lX11 -lSM -lICE
  345. #REXXINC   = -DNOREXX
  346. #REXXLIB   =
  347. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  348. #CFLAGS    = $(INCLUDES)
  349. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  350. #XTRAOBJ   =
  351. #MAN       = manext
  352. #MANLD     = $(CC) -o $(MAN) manext.o
  353. #CHMODTHE  = chmod 755 $(PROJ)
  354. #CHMODMAN  = chmod 755 $(MAN)
  355. #########################################################################
  356. # gcc compiler on Linux using XCurses (with Regina)
  357. #########################################################################
  358. #SRC       = .
  359. #PROJ      = the
  360. #OBJ       = o
  361. #CC        = gcc
  362. #CURSINC   = -g -I/usr/local/include -DUSE_XCURSES -DSYSVR32
  363. #CURSLIB   = -L/usr/local/lib -lxcurseso -L/usr/X11R6/lib -lXaw -lXmu -lXt -lX11 -lSM -lICE
  364. #REXXINC   = -I/usr/local/include -DUSE_REGINA
  365. #REXXLIB   = -L/usr/local/lib -lregina
  366. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  367. #CFLAGS    = $(INCLUDES)
  368. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  369. #XTRAOBJ   =
  370. #MAN       = manext
  371. #MANLD     = $(CC) -o $(MAN) manext.o
  372. #CHMODTHE  = chmod 755 $(PROJ)
  373. #CHMODMAN  = chmod 755 $(MAN)
  374. #########################################################################
  375. # gcc compiler on Linux using XCurses (NO REXX)
  376. #########################################################################
  377. #SRC       = ..
  378. #PROJ      = the
  379. #OBJ       = o
  380. #CC        = gcc
  381. #CURSINC   = -O -I/usr/local/include -DUSE_XCURSES -DSYSVR32
  382. #CURSLIB   = -L/usr/local/lib -lxcurseso -lXaw -lXmu -lXt -lX11 -lSM -lICE
  383. #REXXINC   = -DNOREXX
  384. #REXXLIB   =
  385. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  386. #CFLAGS    = $(INCLUDES)
  387. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  388. #XTRAOBJ   =
  389. #MAN       = manext
  390. #MANLD     = $(CC) -o $(MAN) manext.o
  391. #CHMODTHE  = chmod 755 $(PROJ)
  392. #CHMODMAN  = chmod 755 $(MAN)
  393. #########################################################################
  394. # gcc compiler on Linux using ncurses (no REXX)
  395. #########################################################################
  396. #SRC       = .
  397. #PROJ      = the
  398. #OBJ       = o
  399. #CC        = gcc
  400. #CURSINC   = -I/usr/include/ncurses -DUSE_NCURSES -DSYSVR32
  401. #CURSLIB   = -lncurses
  402. #REXXINC   = -DNOREXX
  403. #REXXLIB   = 
  404. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  405. #CFLAGS    =  $(INCLUDES)
  406. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  407. #XTRAOBJ   =
  408. #MAN       = manext
  409. #MANLD     = $(CC) -o $(MAN) manext.o
  410. #CHMODTHE  = chmod 755 $(PROJ)
  411. #CHMODMAN  = chmod 755 $(MAN)
  412. #########################################################################
  413. # gcc compiler on Linux using ncurses (with Regina)
  414. #########################################################################
  415. #SRC       = .
  416. #PROJ      = the
  417. #OBJ       = o
  418. #CC        = gcc
  419. #CURSINC   = -I/usr/include/ncurses -DUSE_NCURSES -DSYSVR32
  420. #CURSLIB   = -lncurses
  421. #REXXINC   = -I. -DUSE_REGINA
  422. #REXXLIB   = -L. -lregina
  423. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  424. #CFLAGS    =  $(INCLUDES)
  425. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  426. #XTRAOBJ   =
  427. #MAN       = manext
  428. #MANLD     = $(CC) -o $(MAN) manext.o
  429. #CHMODTHE  = chmod 755 $(PROJ)
  430. #CHMODMAN  = chmod 755 $(MAN)
  431. #########################################################################
  432. # gcc compiler using ncurses (no Regina)
  433. #########################################################################
  434. #SRC       = .
  435. #PROJ      = the
  436. #OBJ       = o
  437. #CC        = gcc
  438. #CURSINC   = -I/usr/local/include -DUSE_NCURSES -DSYSVR32
  439. #CURSLIB   = -L/usr/local/lib -lncurses
  440. #REXXINC   = -DNOREXX
  441. #REXXLIB   = 
  442. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  443. #CFLAGS    = -O  $(INCLUDES)
  444. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  445. #XTRAOBJ   =
  446. #MAN       = manext
  447. #MANLD     = $(CC) -o $(MAN) manext.o
  448. #CHMODTHE  = chmod 755 $(PROJ)
  449. #CHMODMAN  = chmod 755 $(MAN)
  450. #########################################################################
  451. # System V compiler on System V R4 systems (no REXX)
  452. #########################################################################
  453. #SRC       = .
  454. #PROJ      = the
  455. #OBJ       = o
  456. #CC        = cc
  457. #CURSINC   = 
  458. #CURSLIB   = -lcurses
  459. #REXXINC   = -DNOREXX
  460. #REXXLIB   = 
  461. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  462. #CFLAGS    = -O -DSYSVR4  $(INCLUDES)
  463. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  464. #XTRAOBJ   =
  465. #MAN       = manext
  466. #MANLD     = $(CC) -o $(MAN) manext.o
  467. #CHMODTHE  = chmod 755 $(PROJ)
  468. #CHMODMAN  = chmod 755 $(MAN)
  469. #########################################################################
  470. # System V compiler on System V R3.2 systems (no REXX)
  471. #########################################################################
  472. #SRC       = .
  473. #PROJ      = the
  474. #OBJ       = o
  475. #CC        = cc
  476. #CURSINC   = 
  477. #CURSLIB   = -lcurses
  478. #REXXINC   = -DNOREXX
  479. #REXXLIB   = 
  480. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  481. #CFLAGS    = -O -DSYSVR32 $(INCLUDES)
  482. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  483. #XTRAOBJ   =
  484. #MAN       = manext
  485. #MANLD     = $(CC) -o $(MAN) manext.o
  486. #CHMODTHE  = chmod 755 $(PROJ)
  487. #CHMODMAN  = chmod 755 $(MAN)
  488. #########################################################################
  489. # System V compiler on System V R3.1 systems (no REXX)
  490. #########################################################################
  491. #SRC       = .
  492. #PROJ      = the
  493. #OBJ       = o
  494. #CC        = cc
  495. #CURSINC   = 
  496. #CURSLIB   = -lcurses
  497. #REXXINC   = -DNOREXX
  498. #REXXLIB   = 
  499. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  500. #CFLAGS    = -O -DSYSVR31 $(INCLUDES)
  501. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  502. #XTRAOBJ   =
  503. #MAN       = manext
  504. #MANLD     = $(CC) -o $(MAN) manext.o
  505. #CHMODTHE  = chmod 755 $(PROJ)
  506. #CHMODMAN  = chmod 755 $(MAN)
  507. #########################################################################
  508. # System V compiler on System V R3 systems (no REXX)
  509. #########################################################################
  510. #SRC       = .
  511. #PROJ      = the
  512. #OBJ       = o
  513. #CC        = cc
  514. #CURSINC   = 
  515. #CURSLIB   = -lcurses
  516. #REXXINC   = -DNOREXX
  517. #REXXLIB   = 
  518. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  519. #CFLAGS    = -O -DSYSVR3 $(INCLUDES) 
  520. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  521. #XTRAOBJ   =
  522. #MAN       = manext
  523. #MANLD     = $(CC) -o $(MAN) manext.o
  524. #CHMODTHE  = chmod 755 $(PROJ)
  525. #CHMODMAN  = chmod 755 $(MAN)
  526. #########################################################################
  527. # OS/F1 Dec Alpha (with Regina)
  528. #########################################################################
  529. #SRC       = .
  530. #PROJ      = the
  531. #OBJ       = o
  532. #CC        = c89
  533. #CURSINC   =
  534. #CURSLIB   = -lcurses
  535. #REXXINC   = -DUSE_REGINA -I.
  536. #REXXLIB   = -L. -lregina -ll 
  537. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  538. #CFLAGS    = -O -UBSD -DSYSVR31 -Olimit 800 -DNO_CURS_SET  -D_XOPEN_SOURCE -unsigned $(INCLUDES)
  539. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  540. #XTRAOBJ   =
  541. #MAN       = manext
  542. #MANLD     = $(CC) -o $(MAN) manext.o
  543. #CHMODTHE  = chmod 755 $(PROJ)
  544. #CHMODMAN  = chmod 755 $(MAN)
  545. #########################################################################
  546. #HP-UX 9.04 A.09.04  9000/800/T-500 (with Regina)
  547. #########################################################################
  548. #SRC       = .
  549. #PROJ      = the
  550. #OBJ       = o
  551. #CC        = c89
  552. #CURSINC   =
  553. #CURSLIB   = -lcurses
  554. #REXXINC   = -DUSE_REGINA -I.
  555. #REXXLIB   = -L. -lregina -ll -ldld
  556. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  557. #CFLAGS    = -O -DSYSV  -D_HPUX_SOURCE $(INCLUDES)
  558. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  559. #XTRAOBJ   =
  560. #MAN       = manext
  561. #MANLD     = $(CC) -o $(MAN) manext.o
  562. #CHMODTHE  = chmod 755 $(PROJ)
  563. #CHMODMAN  = chmod 755 $(MAN)
  564. #########################################################################
  565. #HP-UX 9.04 A.09.04  9000/800/T-500 (with REXX/imc)
  566. #########################################################################
  567. #SRC       = .
  568. #PROJ      = the
  569. #OBJ       = o
  570. #CC        = c89
  571. #CURSINC   =
  572. #CURSLIB   = -lcurses
  573. #REXXINC   = -I/path_to_rexximc_rexxsaa.h
  574. #REXXLIB   = -L/path_to_rexximc_librexx.a -lrexx
  575. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  576. #CFLAGS    = -O -DSYSV  -D_HPUX_SOURCE $(INCLUDES)
  577. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  578. #XTRAOBJ   =
  579. #MAN       = manext
  580. #MANLD     = $(CC) -o $(MAN) manext.o
  581. #CHMODTHE  = chmod 755 $(PROJ)
  582. #CHMODMAN  = chmod 755 $(MAN)
  583. #########################################################################
  584. #AIX 3.2.5 RS/6000 320 (with Regina)
  585. #########################################################################
  586. #SRC       = .
  587. #PROJ      = the
  588. #OBJ       = o
  589. #CC        = c89
  590. #CURSINC   =
  591. #CURSLIB   = -lcurses
  592. #REXXINC   = -DUSE_REGINA -I.
  593. #REXXLIB   = -L. -lregina -ll
  594. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  595. #CFLAGS    = -O -DSYSV  -D_XOPEN_SOURCE $(INCLUDES)
  596. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  597. #XTRAOBJ   =
  598. #MAN       = manext
  599. #MANLD     = $(CC) -o $(MAN) manext.o
  600. #CHMODTHE  = chmod 755 $(PROJ)
  601. #CHMODMAN  = chmod 755 $(MAN)
  602. #########################################################################
  603. #AIX 3.2.5 RS/6000 320 - extended curses (with Regina)
  604. #########################################################################
  605. #SRC       = .
  606. #PROJ      = the
  607. #OBJ       = o
  608. #CC        = c89
  609. #CURSINC   = -DUSE_EXTCURSES
  610. #CURSLIB   = -lcur
  611. #REXXINC   = -DUSE_REGINA -I.
  612. #REXXLIB   = -L. -lregina -ll
  613. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  614. #CFLAGS    = -O -DSYSV  -D_XOPEN_SOURCE $(INCLUDES)
  615. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  616. #XTRAOBJ   = extcurs.o
  617. #MAN       = manext
  618. #MANLD     = $(CC) -o $(MAN) manext.o
  619. #CHMODTHE  = chmod 755 $(PROJ)
  620. #CHMODMAN  = chmod 755 $(MAN)
  621. #########################################################################
  622. # SunOS 5.3 (Solaris 2.3) SparcCenter 2000 (with Regina)
  623. #########################################################################
  624. #SRC       = .
  625. #PROJ      = the
  626. #OBJ       = o
  627. #CC        = gcc
  628. #CURSINC   =
  629. #CURSLIB   = -lcurses
  630. #REXXINC   = -I. -DUSE_REGINA
  631. #REXXLIB   = -L. -lregina -ll -ldl
  632. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  633. #CFLAGS    = -O -DSYSVR4  $(INCLUDES)
  634. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  635. #XTRAOBJ   =
  636. #MAN       = manext
  637. #MANLD     = $(CC) -o $(MAN) manext.o
  638. #CHMODTHE  = chmod 755 $(PROJ)
  639. #CHMODMAN  = chmod 755 $(MAN)
  640. #########################################################################
  641. #DYNIX/ptx 4.0 Sequent 2000/700 (with Regina)
  642. #########################################################################
  643. #SRC       = .
  644. #PROJ      = the
  645. #OBJ       = o
  646. #CC        = cc
  647. #CURSINC   =
  648. #CURSLIB   = -lcurses
  649. #REXXINC   = -I. -DUSE_REGINA
  650. #REXXLIB   = -L. -lregina -ll -ldl
  651. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  652. #CFLAGS    = -O -DSYSVR4  $(INCLUDES)
  653. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  654. #XTRAOBJ   =
  655. #MAN       = manext
  656. #MANLD     = $(CC) -o $(MAN) manext.o
  657. #CHMODTHE  = chmod 755 $(PROJ)
  658. #CHMODMAN  = chmod 755 $(MAN)
  659. #########################################################################
  660. # c89 compiler on System V systems eg AIX, Ultrix (no REXX)
  661. #########################################################################
  662. #SRC       = .
  663. #PROJ      = the
  664. #OBJ       = o
  665. #CC        = c89
  666. #CURSINC   = 
  667. #CURSLIB   = -lcurses
  668. #REXXINC   = -DNOREXX
  669. #REXXLIB   = 
  670. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  671. #CFLAGS    = -O -DSYSV  -D_XOPEN_SOURCE $(INCLUDES)
  672. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  673. #XTRAOBJ   =
  674. #MAN       = manext
  675. #MANLD     = $(CC) -o $(MAN) manext.o
  676. #CHMODTHE  = chmod 755 $(PROJ)
  677. #CHMODMAN  = chmod 755 $(MAN)
  678. #########################################################################
  679. # c89 compiler on HP/UX (with Regina 0.06a and above)
  680. #########################################################################
  681. #SRC       = .
  682. #PROJ      = the
  683. #OBJ       = o
  684. #CC        = c89
  685. #CURSINC   = 
  686. #CURSLIB   = -lcurses
  687. #REXXINC   = -DUSE_REGINA
  688. #REXXLIB   = -L. -lregina -ll -ldld
  689. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  690. #CFLAGS    = -O -DSYSV  -D_XOPEN_SOURCE $(INCLUDES)
  691. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  692. #XTRAOBJ   =
  693. #MAN       = manext
  694. #MANLD     = $(CC) -o $(MAN) manext.o
  695. #CHMODTHE  = chmod 755 $(PROJ)
  696. #CHMODMAN  = chmod 755 $(MAN)
  697. #########################################################################
  698. # c89 compiler on AIX - standard curses (with Regina 0.06a and above)
  699. #########################################################################
  700. #SRC       = .
  701. #PROJ      = the
  702. #OBJ       = o
  703. #CC        = c89
  704. #CURSINC   = 
  705. #CURSLIB   = -lcurses
  706. #REXXINC   = -DUSE_REGINA -I../regina/src
  707. #REXXLIB   = -L../regina/src -lregina -ll
  708. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  709. #CFLAGS    = -O -DSYSV  -D_XOPEN_SOURCE $(INCLUDES)
  710. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  711. #XTRAOBJ   =
  712. #MAN       = manext
  713. #MANLD     = $(CC) -o $(MAN) manext.o
  714. #CHMODTHE  = chmod 755 $(PROJ)
  715. #CHMODMAN  = chmod 755 $(MAN)
  716. #########################################################################
  717. # c89 compiler on AIX - extended curses (no REXX)
  718. #########################################################################
  719. #SRC       = .
  720. #PROJ      = the
  721. #OBJ       = o
  722. #CC        = c89
  723. #CURSINC   = -DUSE_EXTCURSES
  724. #CURSLIB   = -lcur
  725. #REXXINC   = -DNOREXX
  726. #REXXLIB   = 
  727. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  728. #CFLAGS    = -g -DSYSV  -D_XOPEN_SOURCE $(INCLUDES)
  729. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  730. #XTRAOBJ   = extcurs.o
  731. #MAN       = manext
  732. #MANLD     = $(CC) -o $(MAN) manext.o
  733. #CHMODTHE  = chmod 755 $(PROJ)
  734. #CHMODMAN  = chmod 755 $(MAN)
  735. #########################################################################
  736. # c89 compiler on AIX using REXX/6000
  737. #########################################################################
  738. #SRC       = .
  739. #PROJ      = the
  740. #OBJ       = o
  741. #CC        = c89
  742. #CURSINC   = 
  743. #CURSLIB   = -lcurses
  744. #REXXINC   = -DUSE_AIXREXX
  745. #REXXLIB   = -lrexx
  746. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  747. #CFLAGS    = -g -DSYSV  -D_XOPEN_SOURCE $(INCLUDES)
  748. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  749. #XTRAOBJ   = 
  750. #MAN       = manext
  751. #MANLD     = $(CC) -o $(MAN) manext.o
  752. #CHMODTHE  = chmod 755 $(PROJ)
  753. #CHMODMAN  = chmod 755 $(MAN)
  754. #########################################################################
  755. # C compiler on BSD or BSDish systems eg. Linux, 386BSD (no REXX)
  756. #########################################################################
  757. #SRC       = .
  758. #PROJ      = the
  759. #OBJ       = o
  760. #CC        = cc
  761. #CURSINC   = 
  762. #CURSLIB   = -lcurses -ltermcap
  763. #REXXINC   = -DNOREXX
  764. #REXXLIB   = 
  765. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  766. #CFLAGS    = -O -DBSD $(INCLUDES)
  767. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  768. #XTRAOBJ   = 
  769. #MAN       = manext
  770. #MANLD     = $(CC) -o $(MAN) manext.o
  771. #CHMODTHE  = chmod 755 $(PROJ)
  772. #CHMODMAN  = chmod 755 $(MAN)
  773. #########################################################################
  774. # C compiler on BSD or BSDish systems eg. Linux, 386BSD (using Regina)
  775. #########################################################################
  776. #SRC       = .
  777. #PROJ      = the
  778. #OBJ       = o
  779. #CC        = cc
  780. #CURSINC   = 
  781. #CURSLIB   = -lcurses -ltermcap
  782. #REXXINC   = -DUSE_REGINA
  783. #REXXLIB   = -L. -lregina
  784. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  785. #CFLAGS    = -O -DBSD $(INCLUDES)
  786. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  787. #XTRAOBJ   = 
  788. #MAN       = manext
  789. #MANLD     = $(CC) -o $(MAN) manext.o
  790. #CHMODTHE  = chmod 755 $(PROJ)
  791. #CHMODMAN  = chmod 755 $(MAN)
  792. #########################################################################
  793. # C compiler under ATT System V R3.2 (no REXX)
  794. #########################################################################
  795. #SRC       = .
  796. #PROJ      = the
  797. #OBJ       = o
  798. #CC        = cc
  799. #CURSINC   = 
  800. #CURSLIB   = -lcurses
  801. #REXXINC   = -DNOREXX
  802. #REXXLIB   = 
  803. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  804. #CFLAGS    = -O -DATT -DSYSVR32 -DNO_RENAME $(INCLUDES)
  805. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  806. #XTRAOBJ   = 
  807. #MAN       = manext
  808. #MANLD     = $(CC) -o $(MAN) manext.o
  809. #CHMODTHE  = chmod 755 $(PROJ)
  810. #CHMODMAN  = chmod 755 $(MAN)
  811. #########################################################################
  812. # C compiler under SCO Xenix R2.3 (no REXX)
  813. #########################################################################
  814. #SRC       = .
  815. #PROJ      = the
  816. #OBJ       = o
  817. #CC        = cc
  818. #CURSINC   = 
  819. #CURSLIB   = -lcurses -lx
  820. #REXXINC   = -DNOREXX
  821. #REXXLIB   = 
  822. #INCLUDES  = -I$(SRC) $(CURSINC) $(REXXINC)
  823. #CFLAGS    = -O -DNO_RENAME $(INCLUDES)
  824. #LD        = $(CC) -o $(PROJ) $(OBJS) $(CURSLIB) $(REXXLIB)
  825. #XTRAOBJ   = 
  826. #MAN       = manext
  827. #MANLD     = $(CC) -o $(MAN) manext.o
  828. #CHMODTHE  = chmod 755 $(PROJ)
  829. #CHMODMAN  = chmod 755 $(MAN)
  830. #########################################################################
  831. #
  832. #
  833. # Object files
  834. #
  835. OBJ1 = box.$(OBJ) column.$(OBJ) colour.$(OBJ) comm1.$(OBJ) comm2.$(OBJ) comm3.$(OBJ) comm4.$(OBJ) comm5.$(OBJ) \
  836.     commset1.$(OBJ) commset2.$(OBJ) commsos.$(OBJ) cursor.$(OBJ) default.$(OBJ) \
  837.     edit.$(OBJ) error.$(OBJ) execute.$(OBJ) linked.$(OBJ) nonansi.$(OBJ) \
  838.      prefix.$(OBJ) reserved.$(OBJ) scroll.$(OBJ) show.$(OBJ) sort.$(OBJ) \
  839.     target.$(OBJ) the.$(OBJ) util.$(OBJ)
  840. OBJ2 = commutil.$(OBJ)
  841. OBJ3 = getch.$(OBJ)
  842. OBJ4 = query.$(OBJ)
  843. OBJ5 = fnmatch.$(OBJ)
  844. OBJ6 = directry.$(OBJ) file.$(OBJ)
  845. OBJ7 = rexx.$(OBJ)
  846. OBJ8 = quercus.$(OBJ) norexx.$(OBJ)
  847. OBJX = $(XTRAOBJ)
  848. OBJS = $(OBJ1) $(OBJ2) $(OBJ3) $(OBJ4) $(OBJ5) $(OBJ6) $(OBJ7) $(OBJ8) $(OBJX)
  849.  
  850. COMM = $(SRC)/comm1.c $(SRC)/comm2.c $(SRC)/comm3.c $(SRC)/comm4.c $(SRC)/comm5.c \
  851.     $(SRC)/commsos.c $(SRC)/commset1.c $(SRC)/commset2.c $(SRC)/query.c
  852.  
  853. APPENDIX = $(SRC)/appendix.1
  854. GLOSSARY = $(SRC)/glossary
  855.  
  856. #
  857. #########################################################################
  858. $(PROJ):    $(OBJS)
  859.     $(LD)
  860.     $(BINDTHE)
  861.     $(RCTHE)
  862.     $(CHMODTHE)
  863. #########################################################################
  864. %.$(OBJ):$(SRC)/%.c
  865.     $(CC) $(CFLAGS) -c $(SRC)/$*.c
  866. #########################################################################
  867. $(OBJ1):    $(SRC)/the.h $(SRC)/defines.h $(SRC)/proto.h
  868. $(OBJ2):    $(SRC)/the.h $(SRC)/command.h $(SRC)/defines.h $(SRC)/proto.h $(SRC)/getch.h $(SRC)/key.h
  869. $(OBJ3):    $(SRC)/getch.h $(SRC)/defines.h $(SRC)/proto.h
  870. $(OBJ4):    $(SRC)/query.h $(SRC)/the.h $(SRC)/defines.h $(SRC)/proto.h
  871. $(OBJ5):    $(SRC)/the.h $(SRC)/fnmatch.h
  872. $(OBJ6):    $(SRC)/the.h $(SRC)/directry.h $(SRC)/defines.h $(SRC)/proto.h
  873. $(OBJ7):    $(SRC)/the.h $(SRC)/rexx.h $(SRC)/proto.h $(SRC)/defines.h $(SRC)/query.h
  874. $(OBJ8):    $(SRC)/the.h $(SRC)/rexx.h $(SRC)/defines.h $(SRC)/rexxfill.h
  875. #
  876. #########################################################################
  877. quickref:    $(MAN) $(COMM) 
  878.     manext -q $(COMM) > the.qrf
  879. #
  880. #########################################################################
  881. manual:    $(MAN) $(SRC)/overview $(COMM) $(APPENDIX) $(GLOSSARY)
  882.     manext $(SRC)/overview $(COMM) $(APPENDIX) $(GLOSSARY) > the.man
  883. #
  884. $(MAN):    $(XTRAOBJ) manext.$(OBJ)
  885.     $(MANLD)
  886.     $(CHMODMAN)
  887. #########################################################################
  888. zipsrc:
  889.     -cp src.diz file_id.diz
  890.     zip  thesrc$(VER) COPYING readme.src readme.exc overview appendix.1 glossary the.his
  891.     zip  thesrc$(VER) box.c colour.c comm*.c cursor.c default.c directry.c 
  892.     zip  thesrc$(VER) edit.c error.c norexx.c scroll.c column.c execute.c
  893.     zip  thesrc$(VER) extcurs.c file.c fnmatch.c getch.c getopt.c linked.c
  894.     zip  thesrc$(VER) nonansi.c os2eas.c prefix.c quercus.c query.c reserved.c
  895.     zip  thesrc$(VER) rexx.c show.c sort.c target.c the.c trace.c util.c vax.c
  896.     zip  thesrc$(VER) command.h defines.h directry.h fnmatch.h getch.h
  897.     zip  thesrc$(VER) key.h query.h proto.h rexxfill.h rexx.h the.h makefile.dist Makefile.in 
  898.     zip  thesrc$(VER) manext.c *.hlp *.rsp *.def *.diz makefile files.rcs the*.xbm icons.zip the.res the.rc
  899.     zip  thesrc$(VER) append.the comm.the uncomm.the total.the match.the rm.the 
  900.     zip  thesrc$(VER) words.the l.the compile.the spell.the demo.the config.h
  901.     zip  thesrc$(VER) Makefile.in configure config.h.in aclocal.m4 configure.in
  902.     -rm file_id.diz
  903. #########################################################################
  904. tarsrc:
  905.     -cp src.diz file_id.diz
  906.     tar cvf thesrc$(VER).tar COPYING readme.src readme.exc overview appendix.1 glossary the.his \
  907.     box.c colour.c column.c comm*.c cursor.c default.c directry.c edit.c \
  908.     error.c execute.c extcurs.c file.c fnmatch.c getch.c getopt.c \
  909.     linked.c nonansi.c os2eas.c prefix.c quercus.c query.c reserved.c norexx.c \
  910.     rexx.c show.c sort.c target.c the.c trace.c util.c vax.c scroll.c \
  911.     command.h defines.h directry.h fnmatch.h getch.h \
  912.     key.h query.h proto.h rexxfill.h rexx.h the.h \
  913.     manext.c *.hlp *.rsp *.def *.diz makefile files.rcs icons.zip the*.xbm the.res the.rc \
  914.     append.the comm.the uncomm.the total.the match.the rm.the words.the l.the compile.the \
  915.     spell.the demo.the
  916.     compress thesrc$(VER).tar
  917.     -rm file_id.diz
  918. #########################################################################
  919. zipdos:
  920.     +copy d:\tools\the.exe .
  921.     +copy dos.diz file_id.diz
  922.     zip  thedos$(VER).zip COPYING readme.exc file_id.diz the.exe
  923.     zip  thedos$(VER).zip the.man the.his dos.hlp
  924.     zip  thedos$(VER).zip append.the comm.the uncomm.the total.the match.the rm.the 
  925.     zip  thedos$(VER).zip words.the l.the compile.the spell.the demo.the
  926.     +del the.exe
  927.     +del file_id.diz
  928. #########################################################################
  929. zipgo32:
  930.     +copy c:\the\dos\go32\the.exe
  931.     +copy d:\djgpp\bin\go32.exe
  932.     +copy dosgo32.diz file_id.diz
  933.     zip  thedjg$(VER).zip COPYING readme.exc file_id.diz the.exe go32.exe
  934.     zip  thedjg$(VER).zip the.man the.his dos.hlp 
  935.     zip  thedjg$(VER).zip append.the comm.the uncomm.the total.the match.the rm.the
  936.     zip  thedjg$(VER).zip words.the l.the compile.the spell.the demo.the
  937.     +del the.exe
  938.     +del go32.exe
  939.     +del file_id.diz
  940. #########################################################################
  941. zipos2:
  942.     +copy f:\usr\bin\the.exe .
  943.     +copy os2.diz file_id.diz
  944.     zip  theos2$(VER).zip COPYING readme.exc file_id.diz the.exe
  945.     zip  theos2$(VER).zip the.man the.his os2.hlp theos2.ico
  946.     zip  theos2$(VER).zip append.the comm.the uncomm.the total.the match.the rm.the 
  947.     zip  theos2$(VER).zip words.the l.the compile.the spell.the demo.the
  948.     +del the.exe
  949.     +del file_id.diz
  950. #########################################################################
  951. zipdoc:
  952.     zip  thedoc$(VER).zip COPYING readme.exc readme.src
  953.     zip  thedoc$(VER).zip the.man the.his *.hlp
  954.     zip  thedoc$(VER).zip append.the comm.the uncomm.the total.the match.the rm.the 
  955.     zip  thedoc$(VER).zip words.the l.the compile.the spell.the demo.the
  956. #########################################################################
  957. zipexe:
  958.     +copy f:\usr\bin\the.exe theos2.exe
  959.     +copy d:\tools\the.exe thedos.exe
  960.     zip  theexe$(VER).zip COPYING readme.exc thedos.exe theos2.exe
  961.     zip  theexe$(VER).zip the.man the.his dos.hlp os2.hlp icons.zip
  962.     zip  theexe$(VER).zip append.the comm.the uncomm.the total.the match.the rm.the 
  963.     zip  theexe$(VER).zip words.the l.the compile.the spell.the demo.the
  964.     +del thedos.exe
  965.     +del theos2.exe
  966. #########################################################################
  967.