home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / VILE327.ZIP / VILE327.TAR / vile3.27 / makefile < prev    next >
Makefile  |  1992-12-14  |  19KB  |  704 lines

  1. #
  2. # makefile for vile.  
  3. #
  4. # Not much user-configuration is usually needed.  Various targets in the
  5. # makefile support various systems -- if yours isn't here, and none of the
  6. # one's provided will work, then edit estruct.h, and use "make default".
  7. # For a list of the pre-defined targets, just type "make".
  8. #
  9. # The command/name/key/function bindings are defined in the file "cmdtbl". 
  10. # The mktbls program parses this to produce nebind.h, nename.h, and
  11. # nefunc.h, which are used by the rest of the build.
  12. #
  13. # The version number is found near the top of edef.h, and is displayed with
  14. # the '*' and ":version" commands, or by invoking vile with "-V".
  15. #
  16. # Paul Fox
  17. #
  18. # original makefile for uemacs: Adam Fritz July 30,1987  (do you recognize it?)
  19. #
  20.  
  21. # some old make's don't predefine this:
  22. #MAKE=/bin/make
  23. #MAKE=/usr/bin/make
  24.  
  25. # To change screen driver modules, change SCREEN and SCRDEF below, OR edit
  26. # estruct.h to make sure the correct one is #defined as "1", and the others
  27. # all as "0".  If you use tcap.c, you'll need libtermcap.a too.  If you use
  28. # x11.c, you'll need libX11.a too.
  29.  
  30. # for regular use
  31. SCREEN = tcap
  32. LIBS = -ltermcap
  33. TARGET = vile
  34. SCRDEF = -DTERMCAP -Dscrn_chosen
  35.  
  36. # for building the X version (also edit estruct.h, turn TERMCAP off and X11 on)
  37. #SCREEN = x11
  38. #LIBS = -lX11
  39. #TARGET = xvile
  40. #SCRDEF = -DX11 -Dscrn_chosen
  41.  
  42. CO=co
  43. #CO="@echo co"
  44.  
  45. # for passing along the above settings to sub-makes
  46. ENV = SCREEN="$(SCREEN)" LIBS="$(LIBS)" TARGET="$(TARGET)" SCRDEF="$(SCRDEF)" \
  47.     CO="$(CO)"
  48.  
  49. # install to DESTDIR1 if it's writable, else DESTDIR2
  50. DESTDIR1 = /usr/local/bin
  51. DESTDIR2 = $(HOME)/bin
  52.  
  53. # if you want the help file (vile.hlp) to go somewhere other than your $PATH
  54. #  or one of the hard-code paths in epath.h  (it goes to the same place vile
  55. #  does by default)
  56. #HELP_LOC=/my/local/help/lib
  57.  HELP_LOC=
  58.  
  59. REMOTE=gutso!foxharp
  60.  
  61. CC = gcc
  62. LINK = gcc
  63. OPTFLAGS = -g -Wall -Wshadow -O # -pg
  64. gincdir = /usr/local/lib/gcc-include
  65. GINCS = -I$(gincdir) -I$(gincdir)/sys
  66.  
  67. #CC = cc
  68. #LINK = cc
  69. ##OPTFLAGS = -g
  70. #OPTFLAGS = -O
  71.  
  72. LDFLAGS = 
  73.  
  74. # some older bsd systems keep ioctl in sys only -- easier to
  75. # search both places than to ifdef the code.  color me lazy.
  76. INCS = -I. $(GINCS) -I/usr/include -I/usr/include/sys
  77.  
  78. CFLAGS1 = $(OPTFLAGS) $(INCS) $(SCRDEF) -DHELP_LOC=\\\"$(HELP_LOC)\\\"
  79.  
  80. # suffix for object files.
  81. # this get changes to "obj" for DOS builds
  82. O = o
  83.  
  84. # All of the makefiles which should be preserved
  85. MAKFILES = makefile make.ini
  86. MKTBLS = ./mktbls
  87.  
  88. ALLTOOLS = $(MAKFILES)
  89.  
  90.  
  91. # these are normal editable headers
  92. HDRS = estruct.h epath.h evar.h edef.h proto.h
  93.  
  94. # these headers are built by the mktbls program from the information in cmdtbl
  95. BUILTHDRS = nebind.h nefunc.h nename.h 
  96.  
  97. ALLHDRS = $(HDRS)
  98.  
  99. # All the C files which should be saved
  100. #  (including tools, like mktbls.c, unused screen drivers, etc.)
  101. CSRCac = ansi.c at386.c basic.c bind.c buffer.c crypt.c csrch.c
  102. CSRCde = dg10.c display.c eval.c exec.c externs.c
  103. CSRCfh = fences.c file.c fileio.c finderr.c globals.c hp110.c hp150.c
  104. CSRCim = ibmpc.c input.c insert.c isearch.c line.c main.c modes.c mktbls.c
  105. CSRCnr = npopen.c opers.c oneliner.c random.c regexp.c region.c
  106. CSRCst = search.c spawn.c st520.c tags.c tcap.c termio.c tipc.c
  107. CSRCuw = undo.c vmalloc.c vmsvt.c vt52.c window.c word.c wordmov.c
  108. CSRCxz = x11.c z309.c z_ibmpc.c
  109.  
  110. CSRC = $(CSRCac) $(CSRCde) $(CSRCfh) $(CSRCim) $(CSRCnr) \
  111.     $(CSRCst) $(CSRCuw) $(CSRCxz)
  112.  
  113. # non-C source code
  114. OTHERSRC = z100bios.asm
  115.  
  116. # text and data files
  117. TEXTFILES = README CHANGES cmdtbl vile.hlp buglist revlist \
  118.     README.X11
  119.  
  120. ALLSRC = $(CSRC) $(OTHERSRC)
  121.  
  122. EVERYTHING = $(ALLTOOLS) $(ALLHDRS) $(ALLSRC) $(TEXTFILES) $(SHORTSTUFF)
  123.  
  124.  
  125. SRC = main.c $(SCREEN).c basic.c bind.c buffer.c crypt.c \
  126.     csrch.c display.c eval.c exec.c externs.c fences.c file.c \
  127.     fileio.c finderr.c globals.c input.c insert.c isearch.c \
  128.     line.c modes.c npopen.c oneliner.c opers.c random.c regexp.c \
  129.     region.c search.c spawn.c tags.c termio.c undo.c \
  130.     vmalloc.c window.c word.c wordmov.c
  131.  
  132. OBJ = main.$O $(SCREEN).$O basic.$O bind.$O buffer.$O crypt.$O \
  133.     csrch.$O display.$O eval.$O exec.$O externs.$O fences.$O file.$O \
  134.     fileio.$O finderr.$O globals.$O input.$O insert.$O isearch.$O \
  135.     line.$O modes.$O npopen.$O oneliner.$O opers.$O random.$O regexp.$O \
  136.     region.$O search.$O spawn.$O tags.$O termio.$O undo.$O \
  137.     vmalloc.$O window.$O word.$O wordmov.$O
  138.  
  139.  
  140. # if your pre-processor won't treat undefined macros as having value 0, or
  141. #    won't give unvalue'd defines the value 1, you'll have to do your
  142. #    config inside of estruct.h, and use "make default"
  143. # otherwise, there are essentially four choices, unless your machine is
  144. #    one of the more "specific" targets.  you can be either att or bsd, with
  145. #    or without posix extensions.
  146.  
  147. # please report bugs with these config options
  148.  
  149. all:
  150.     @echo "    there is no longer a default unnamed target"        ;\
  151.     echo "    please use one of the following:"            ;\
  152.     echo "    make bsd    (for pure, older BSD systems)"        ;\
  153.     echo "    make bsd_posix    (for BSD with some POSIX support)"    ;\
  154.     echo "    make bsd386"                        ;\
  155.     echo "    make att    (traditional USG systems)"        ;\
  156.     echo "    make att_posix    (newer, with POSIX support)"        ;\
  157.     echo "    make svr3    (early 386 UNIX, for instance)"        ;\
  158.     echo "    make sunos    (sunos 3 or 4)"                ;\
  159.     echo "    make ultrix"                        ;\
  160.     echo "    make mach    (just pure bsd)"            ;\
  161.     echo "    make svr4    (untested)"                ;\
  162.     echo "    make mips    (uses systemV stuff)"            ;\
  163.     echo "    make odt    (open desktop -- variant of svr3)"    ;\
  164.     echo "    make isc    (interactive -- another such variant)"    ;\
  165.     echo "    make hpux"                        ;\
  166.     echo "    make next    (NeXT)"                    ;\
  167.     echo "    make sony    (Sony News -- very BSD)"        ;\
  168.     echo "    make unixpc    (AT&T 3B1)"                ;\
  169.     echo "    make aix    (r6000)"                ;\
  170.     echo "    make osf1    (OSF/1)"                ;\
  171.     echo "    make linux    (ported to 0.95)"            ;\
  172.     echo "    make aux2    (A/UX 2.0) (3.0 is probably svr3)"    ;\
  173.     echo "    make apollo                        ;\
  174.     echo "    nmake msc    (MicroSoft C 6.0) (buggy?)"        ;\
  175.     echo "    make sx1100    (SX1100 running on Unisys 1100)"    ;\
  176.     echo "    make default    (to use config internal to estruct.h)"
  177.  
  178. bsd sony mach:
  179.     make CFLAGS="$(CFLAGS1) -DBERK -Dos_chosen" \
  180.         MAKE=/usr/bin/make $(TARGET) $(ENV)
  181.  
  182. bsd_posix ultrix:
  183.     $(MAKE) CFLAGS="$(CFLAGS1) -DBERK -DPOSIX -Dos_chosen" \
  184.         $(TARGET) $(ENV)
  185.  
  186. sunos:
  187.     $(MAKE) CFLAGS="$(CFLAGS1) -DBERK -DPOSIX -DSUNOS -Dos_chosen" \
  188.         $(TARGET) $(ENV)
  189.  
  190. bsd386:
  191.     make CFLAGS="$(CFLAGS1) -DBERK -DBSD386 -Dos_chosen" \
  192.         MAKE=/usr/bin/make $(TARGET) $(ENV)
  193.  
  194. att:
  195.     $(MAKE) CFLAGS="$(CFLAGS1) -DUSG -Dos_chosen" \
  196.         LIBS="-ltermcap" \
  197.         $(TARGET) $(ENV)
  198.  
  199. att_posix svr4:
  200.     $(MAKE) CFLAGS="$(CFLAGS1) -DUSG -DPOSIX -Dos_chosen" \
  201.         $(TARGET) $(ENV)
  202.  
  203. svr3:
  204.     $(MAKE) CFLAGS="$(CFLAGS1) -DSVR3 -Dos_chosen" \
  205.         LIBS="-ltermcap" \
  206.         $(TARGET) $(ENV)
  207.  
  208. #        LIBS="-ltermcap -lc_s"
  209.  
  210. mips:
  211.     $(MAKE) CFLAGS="$(CFLAGS1) -systype sysv $(INCS) -DSVR3 -Dos_chosen" \
  212.         $(TARGET) $(ENV)
  213.  
  214. odt:
  215.     $(MAKE) \
  216.     CFLAGS="$(CFLAGS1) -DODT -DUSG -DPOSIX -DSVR3_PTEM -Dos_chosen" \
  217.         $(TARGET) $(ENV)
  218.  
  219. isc:
  220.     $(MAKE) \
  221.     CFLAGS="$(CFLAGS1) -DISC -DUSG -DPOSIX -DSVR3_PTEM -Dos_chosen" \
  222.         $(TARGET) $(ENV)
  223.  
  224. hpux:
  225.     $(MAKE) CFLAGS="$(CFLAGS1) -DUSG -DHAVE_SELECT -Dos_chosen" \
  226.         $(TARGET) $(ENV)
  227.  
  228. next:
  229.     $(MAKE) CFLAGS="$(CFLAGS1) -DBERK -D__STRICT_BSD__ \
  230.         -Dos_chosen" $(TARGET) $(ENV)
  231.  
  232. unixpc:
  233.     $(MAKE) CFLAGS="$(CFLAGS1) -DUSG -DHAVE_SELECT \
  234.         -DHAVE_MKDIR=0 -Dwinit=xxwinit -Dos_chosen -DUNIXPC" \
  235.         $(TARGET) $(ENV)
  236.  
  237. aix:
  238.     $(MAKE) CFLAGS="$(CFLAGS1) -DUSG \
  239.         -DPOSIX -DAIX -DHAVE_SELECT -U__STR__ -Dos_chosen -qpgmsize=l" \
  240.         LIBS=-lcurses \
  241.         $(TARGET) $(ENV)
  242.  
  243. apollo:
  244.     make CFLAGS="$(CFLAGS1) -DBERK -Dos_chosen" \
  245.         MAKE=/usr/bin/make $(TARGET) $(ENV)
  246.  
  247. osf1:
  248.     $(MAKE) CFLAGS="$(CFLAGS1) -DBERK -DPOSIX -DOSF1 -Dos_chosen" \
  249.         $(TARGET) $(ENV)
  250.  
  251. linux:
  252.     $(MAKE) CFLAGS="$(CFLAGS1) -DUSG \
  253.         -DPOSIX -DHAVE_SELECT -DHAVE_POLL=0 -DLINUX -Dos_chosen" \
  254.         $(TARGET) $(ENV)
  255.  
  256. # It has been pointed out to me that the stock COMMAND.COM can't possibly
  257. # handle the length of the commands that this causes.  You may have to
  258. # create your own makefile for DOS.  I think it's only this top level
  259. # re-invocation of make that's a problem -- everything else should fit in
  260. # 128 characters.  I think.  (It works as-is under SoftPC, which is why
  261. # I wrote it this way.)
  262. msc:
  263.     $(MAKE) MKTBLS=mktbls.exe CFLAGS="/qc /AL /nologo \
  264.         -DMSDOS -DMSC -Dos_chosen -DIBMPC -Dscrn_chosen" \
  265.         O=obj CC=cl SCREEN=ibmpc \
  266.         LNKFILE=link.msc \
  267.         LINK="link /MAP /CO /NOI /STACK:4096 @link.msc" $(TARGET)2
  268.  
  269. aux2:
  270.     $(MAKE) CFLAGS="$(CFLAGS1) -DUSG -DAUX2 -Dos_chosen" \
  271.         $(TARGET) $(ENV)
  272.  
  273. sx1100:
  274.     $(MAKE) CFLAGS="$(CFLAGS1) -DSVR3 -Dos_chosen" \
  275.         LDFLAGS="-h 400000" LIBS="-ltermcap" \
  276.         $(TARGET) $(ENV)
  277.  
  278. default:
  279.     $(MAKE) CFLAGS="$(CFLAGS1) -Uos_chosen" \
  280.         $(TARGET) $(ENV)
  281.  
  282. $(TARGET): $(BUILTHDRS) $(OBJ) makefile
  283.     -mv $(TARGET) o$(TARGET)
  284.     $(LINK) $(LDFLAGS) -o $(TARGET) $(OBJ) $(LIBS)
  285. #    $(LINK) -pg -o $(TARGET) $(OBJ) $(LIBS) -lc_p
  286. #    $(LINK) -Bstatic -o $(TARGET) $(OBJ) $(LIBS)
  287.  
  288. # this target is more convenient for the nonstandard environments, like DOS
  289. $(TARGET)2: $(BUILTHDRS) $(OBJ) makefile
  290.     -mv $(TARGET) o$(TARGET)
  291.     $(LINK)
  292.  
  293. # this has to be run on a unix system, unfortunately.
  294. #  once on dos, you'll have to maintain link.msc by hand
  295. link.msc: makefile
  296.     echo +>$@
  297.     (echo $(OBJ) | xargs -n5 ) | \
  298.         sed -e 's/$(SCREEN)/ibmpc/' \
  299.             -e 's/\.o/\.obj/g' \
  300.             -e 's/$$/+/' >> $@
  301.     echo >> $@
  302.     echo vile.exe >> $@
  303.     echo vile.map\; >> $@
  304.  
  305. # end of file
  306.  
  307. saber_src:
  308.     #load $(CFLAGS) $(SRC) $(LIBS)
  309.  
  310. saber_obj: $(OBJ)
  311.     #load $(CFLAGS) $(OBJ) $(LIBS)
  312.  
  313. #.c.src:
  314. #    #load $(CFLAGS) $<
  315. #.o.obj:
  316. #    #load $(CFLAGS) $<
  317. #
  318. #SUFFIXES: .c .h .o .src .obj
  319.  
  320.  
  321. $(BUILTHDRS): cmdtbl $(MKTBLS)
  322.     $(MKTBLS) cmdtbl
  323.  
  324. $(MKTBLS):  mktbls.c
  325.     $(CC) $(CFLAGS) $(LDFLAGS) -o $(MKTBLS)  mktbls.c
  326.  
  327. # install to DESTDIR1 if it's writable, else DESTDIR2
  328. install:
  329.     @[ -x $(TARGET) ] || (echo must make $(TARGET) first && exit 1)
  330.     @[ -w $(DESTDIR1) ] && dest=$(DESTDIR1) || dest=$(DESTDIR2) ;\
  331.     mv $$dest/$(TARGET) $$dest/o$(TARGET) ;\
  332.     echo Installing $(TARGET) to $$dest ; \
  333.     cp $(TARGET) $$dest ;\
  334.     test -f vile.hlp && /bin/rm -f $$dest/vile.hlp ;\
  335.     [ "$(HELP_LOC)" ] && dest="$(HELP_LOC)" ; \
  336.     echo Installing vile.hlp to $$dest ; \
  337.     cp vile.hlp $$dest; \
  338.     chmod 0644 $$dest/vile.hlp
  339.     
  340.  
  341. compr-shar: link.msc
  342.     [ -d cshardir ] || mkdir cshardir
  343. #    add -a for archive headers, add -s pgf@cayman.com for submitted-by
  344.     shar -p -nvile -L55 -o cshardir/vileshar \
  345.         -T README -C `ls $(EVERYTHING) | sed /README/d` link.msc
  346.  
  347. shar: link.msc
  348.     [ -d shardir ] || mkdir shardir
  349. #    add -a for archive headers, add -s pgf@cayman.com for submitted-by
  350.     shar -x -a -spgf@cayman.com -nVile -L55 \
  351.             -o shardir/vileshar `ls $(EVERYTHING)` link.msc
  352.  
  353. bigshar: link.msc
  354.     shar -spgf@cayman.com -nVile \
  355.     -o vileBIGshar README `ls $(EVERYTHING) | sed /README/d` link.msc
  356.  
  357. # only uucp things changed since last time
  358. uuto:
  359.     uuto `ls -t $(EVERYTHING) uutodone | sed '/uutodone/q'` $(REMOTE)
  360.     date >uutodone
  361.  
  362. uurw:
  363.     uuto `make rw` $(REMOTE)
  364.  
  365. rcsdiffrw:
  366.     @-for x in `$(MAKE) rw`    ;\
  367.     do    \
  368.         echo         ;\
  369.         echo $$x    ;\
  370.         echo =========    ;\
  371.         rcsdiff $$x    ;\
  372.     done 2>&1        ;\
  373.     echo            ;\
  374.     echo all done
  375.  
  376. floppy:
  377.     ls $(EVERYTHING) | oo
  378.  
  379. # you don't want to know...
  380. dosscript:
  381.     (                                \
  382.     echo echo on                            ;\
  383.     for x in `ls -t $(EVERYTHING) dosback.bat | sed '/dosback.bat/q'` ;\
  384.     do                                \
  385.         echo copy u:$$x a:                    ;\
  386.     done                                 ;\
  387.     #echo quit                            ;\
  388.     ) >tmp.bat
  389.     ud < tmp.bat >dosback.bat
  390.     /bin/rm -f tmp.bat
  391.     #-dos
  392.     #>dosback.bat
  393.     
  394. newdosfloppy:
  395.     touch 0101010170 dosback.bat
  396.  
  397. # dump a list of the important files
  398. list:
  399.     @ls $(EVERYTHING) | more
  400.  
  401. # make a list of RCS revisions.  don't include the revlist itself
  402. nrevlist:
  403.     $(MAKE) list  | egrep -v revlist >/tmp/vile__files
  404.     rlog -Ntrunk `cat /tmp/vile__files` >/tmp/vile__revs
  405.     -paste /tmp/vile__files /tmp/vile__revs >/tmp/vile_revlist
  406.     rm /tmp/vile__files /tmp/vile__revs
  407.     mv /tmp/vile_revlist nrevlist
  408.  
  409. # dump a list of files that may have changed since last backup
  410. rw list-writeable:
  411.     @ls -l $(EVERYTHING) | \
  412.         egrep '^[^l].w' | \
  413.         sed 's;.* ;;'   # strip to last space
  414.  
  415. no-write:
  416.     chmod -w $(EVERYTHING)
  417.  
  418. update:
  419.     nupdatefile.pl -r $(EVERYTHING)
  420.  
  421. protos:
  422.     cextract -D__STDC__ +E +P +s +r -o nproto.h $(SRC)
  423.  
  424. tagfile:
  425.     dotags $(SRC) $(HDRS)
  426.  
  427. lint:    $(SRC)
  428.     #lint -hbvxac $(SRC) >lint.out 
  429.     lint  $(SRC) >lint.out 
  430.  
  431. cflow:    $(SRC)
  432.     cflow  $(SRC) >cflow.out 
  433.  
  434. clean:
  435.     rm -f *.$O o$(TARGET) $(BUILTHDRS) $(MKTBLS) core *~ *.BAK
  436.  
  437. clobber: clean
  438.     rm -f $(TARGET)
  439.  
  440. print:
  441.     pr makefile $(HDRS) $(SRC) | lpr
  442.  
  443. depend:     $(SRC) $(HDRS) $(BUILTHDRS)
  444.     mv -f makefile makefile.orig
  445.     (sed -e '/^#DEPENDS/,$$d' makefile.orig ; \
  446.         echo "#DEPENDS" ; \
  447.         $(CC) -M $(CFLAGS) $? ) > makefile
  448.  
  449. populate: $(EVERYTHING)
  450.  
  451. $(EVERYTHING):
  452.     $(CO) -r$(revision) $@
  453.  
  454.  
  455. $(OBJ): estruct.h edef.h
  456.  
  457. externs.$O: nebind.h nename.h nefunc.h
  458.  
  459. # $Log: makefile,v $
  460. # Revision 1.74  1992/12/04  09:50:24  foxharp
  461. # pass SCREEN etc. to lower makes via ENV variable
  462. #
  463. # Revision 1.73  1992/12/04  09:23:08  foxharp
  464. # added apollo
  465. #
  466. # Revision 1.72  1992/11/19  09:14:41  foxharp
  467. # added HELP_LOC support -- allows easy choice of new dest for vile.hlp
  468. #
  469. # Revision 1.71  1992/08/28  08:55:08  foxharp
  470. # switch from -g to -O for releaseh
  471. #
  472. # Revision 1.70  1992/08/20  23:40:48  foxharp
  473. # typo fixes -- thanks, eric
  474. #
  475. # Revision 1.69  1992/08/20  08:58:05  foxharp
  476. # final cleanup preparing to release version four
  477. #
  478. # Revision 1.68  1992/08/07  18:05:27  pgf
  479. # fixed mips systype botch
  480. #
  481. # Revision 1.67  1992/08/04  20:12:00  foxharp
  482. # split out sunos, so SUNOS gets defined, added comment about DOS command
  483. # line lengths, and consolidated some vars into CFLAGS1
  484. #
  485. # Revision 1.66  1992/08/03  09:10:29  foxharp
  486. # added eric krohn's changes for sx1100 -- introduced LDFLAGS
  487. #
  488. # Revision 1.65  1992/07/24  18:22:06  foxharp
  489. # change name of MAKEFILES -- that name is special to GNU make
  490. #
  491. # Revision 1.64  1992/07/22  00:50:32  foxharp
  492. # turn off shared libs
  493. #
  494. # Revision 1.63  1992/07/20  22:48:17  foxharp
  495. # profiling support (commented out)
  496. #
  497. # Revision 1.62  1992/07/17  19:21:53  foxharp
  498. # added gcc sys dir to find filio.h, and changed "sun" to "sunos" to make
  499. # way for solaris
  500. #
  501. # Revision 1.61  1992/07/16  22:05:01  foxharp
  502. # fixed linux rule -- missing -DLINUX
  503. #
  504. # Revision 1.60  1992/07/01  17:03:12  foxharp
  505. # added z_ibmpc.c
  506. #
  507. # Revision 1.59  1992/06/25  23:00:50  foxharp
  508. # changes for dos/ibmpc
  509. #
  510. # Revision 1.58  1992/06/22  08:40:02  foxharp
  511. # added INCS to all targets, especially aix, so it'll get ioctl.h in termio.c
  512. #
  513. # Revision 1.57  1992/06/14  11:33:17  foxharp
  514. # added -DAIX
  515. #
  516. # Revision 1.56  1992/06/12  20:21:28  foxharp
  517. # use shared libs in svr3 -- should this be done for others?  isc? odt?
  518. #
  519. # Revision 1.55  1992/06/04  19:44:40  foxharp
  520. # added mach and cflow targets
  521. #
  522. # Revision 1.54  1992/06/03  08:39:23  foxharp
  523. # look explicitly for gcc include files
  524. #
  525. # Revision 1.53  1992/06/01  20:41:07  foxharp
  526. # added dependency of externs.o on ne....h
  527. #
  528. # Revision 1.52  1992/05/29  09:40:53  foxharp
  529. # split out modes.c, fences.c, and insert.c from random.c
  530. #
  531. # Revision 1.51  1992/05/29  08:40:05  foxharp
  532. # minor ordering
  533. #
  534. # Revision 1.50  1992/05/27  19:16:22  foxharp
  535. # fixed odt and isc targets -- added -DODT and -DISC
  536. #
  537. # Revision 1.49  1992/05/27  08:32:57  foxharp
  538. # added rcsdiffrw target
  539. #
  540. # Revision 1.48  1992/05/20  18:58:11  foxharp
  541. # comments on target help, a/ux support, and uurw
  542. #
  543. # Revision 1.47  1992/05/19  09:15:45  foxharp
  544. # machine target fixups
  545. #
  546. # Revision 1.46  1992/05/16  12:00:31  pgf
  547. # prototypes/ansi/void-int stuff/microsoftC
  548. #
  549. # Revision 1.45  1992/05/13  09:14:12  pgf
  550. # comment changes
  551. #
  552. # Revision 1.44  1992/04/26  13:42:33  pgf
  553. # added bsd386 target
  554. #
  555. # Revision 1.43  1992/04/14  08:55:38  pgf
  556. # added support for OSF1 (affects termio only)
  557. #
  558. # Revision 1.42  1992/04/10  18:52:21  pgf
  559. # add config targets for various platforms
  560. #
  561. # Revision 1.41  1992/04/06  09:43:55  pgf
  562. # fixed nrevlist target
  563. #
  564. # Revision 1.40  1992/04/06  09:29:57  pgf
  565. # added nrevlist target
  566. #
  567. # Revision 1.39  1992/04/06  09:21:40  pgf
  568. # added revlist
  569. #
  570. # Revision 1.38  1992/04/02  23:01:10  pgf
  571. # re-alphabetized SRC and OBJ
  572. #
  573. # Revision 1.37  1992/03/26  09:16:16  pgf
  574. # added regexp.c dependencies
  575. #
  576. # Revision 1.36  1992/03/25  19:12:19  pgf
  577. # explicit rule for building mktbls, to satisfy broken BSD make
  578. #
  579. # Revision 1.35  1992/03/19  23:36:42  pgf
  580. # removed shorten stuff
  581. #
  582. # Revision 1.34  1992/03/07  10:25:58  pgf
  583. # AIX support (needs -lcurses)
  584. #
  585. # Revision 1.33  1992/03/01  18:41:31  pgf
  586. # moved target define
  587. #
  588. # Revision 1.32  1992/02/17  08:48:49  pgf
  589. # keep copy of current executable during install
  590. #
  591. # Revision 1.31  1991/12/30  23:15:04  pgf
  592. # rename the product of bigshar
  593. #
  594. # Revision 1.30  1991/11/27  10:17:21  pgf
  595. # changes to dos backup target
  596. #
  597. # Revision 1.29  1991/11/16  18:35:08  pgf
  598. # dropped the file locking files -- they didn't work, and were only
  599. # compatible with other's running vile
  600. #
  601. # Revision 1.28  1991/11/13  20:09:27  pgf
  602. # X11 changes, from dave lemke
  603. #
  604. # Revision 1.27  1991/11/07  02:00:32  pgf
  605. # lint cleanup
  606. #
  607. # Revision 1.26  1991/11/01  14:56:51  pgf
  608. # took tags file out of the distribution
  609. #
  610. # Revision 1.25  1991/11/01  14:20:24  pgf
  611. # a little bit more saber support
  612. #
  613. # Revision 1.24  1991/10/28  14:19:46  pgf
  614. # took out some old junk, moved the changelog down low
  615. #
  616. # Revision 1.23  1991/10/27  01:47:14  pgf
  617. # switched from regex to regexp
  618. #
  619. # Revision 1.22  1991/10/24  13:03:48  pgf
  620. # added regex.c
  621. #
  622. # Revision 1.21  1991/10/23  12:05:37  pgf
  623. # added bigshar, and put ./ in front of mktbls rule -- there seems
  624. # to be a bug in some makes that drops the ./ in the MKTBLS
  625. # variable
  626. #
  627. # Revision 1.20  1991/10/22  14:36:01  pgf
  628. # added the CHANGES file
  629. #
  630. # Revision 1.19  1991/10/10  12:20:26  pgf
  631. # added vmalloc.o dependencies
  632. #
  633. # Revision 1.18  1991/09/27  02:49:30  pgf
  634. # initial saber support
  635. #
  636. # Revision 1.17  1991/08/10  01:24:28  pgf
  637. # added update target, and
  638. # removed the BUILTHDRS list
  639. #
  640. # Revision 1.16  1991/08/07  11:56:58  pgf
  641. # added RCS log entries
  642. #
  643. # revision 1.15
  644. # date: 1991/08/07 02:10:53;
  645. # removed './' from files in dependencies
  646. # revision 1.14
  647. # date: 1991/08/06 16:19:55;
  648. # added populate rule, and "revision" arg to co rule
  649. # revision 1.13
  650. # date: 1991/08/06 16:09:42;
  651. # fixed "rw" rule
  652. # revision 1.12
  653. # date: 1991/08/06 14:45:14;
  654. # commented out shortnames stuff, and
  655. # added "co" rule
  656. # revision 1.11
  657. # date: 1991/06/28 10:52:36;
  658. # exclude built headers from come lists
  659. # revision 1.10
  660. # date: 1991/06/16 17:29:07;
  661. # fixed install rules, so I don't have to change it at home
  662. # revision 1.9
  663. # date: 1991/06/04 16:00:40;
  664. # switch to -L for shar'ing
  665. # revision 1.8
  666. # date: 1991/06/04 13:12:25;
  667. # cleanup for release of version three
  668. # revision 1.7
  669. # date: 1991/04/08 13:11:17;
  670. # added 'rw' target, and make some dos backup changes
  671. # revision 1.6
  672. # date: 1991/04/04 09:38:12;
  673. # new REMOTE address
  674. # revision 1.5
  675. # date: 1990/12/06 18:53:14;
  676. # fixed compr-shar entry, commented out remap.h target
  677. # revision 1.4
  678. # date: 1990/12/03 12:01:37;
  679. # comment change
  680. # revision 1.3
  681. # date: 1990/10/03 16:09:30;
  682. # shortened "shortnames" to "shorten" !
  683. # revision 1.2
  684. # date: 1990/10/01 12:32:23;
  685. # added shortnames directory
  686. # revision 1.1
  687. # date: 1990/09/21 10:25:38;
  688. # initial vile RCS revision
  689. #
  690.