home *** CD-ROM | disk | FTP | other *** search
- head 1.13;
- access;
- symbols
- sercli_v1_10:1.13
- sercli_v1_9:1.9
- sercli_v1_8:1.4
- sercli_v1_7:1.3
- sercli_v1_6:1.2
- sercli_v1_5:1.1;
- locks
- rkr:1.13;
- comment @## @;
-
-
- 1.13
- date 93.06.16.23.34.36; author rkr; state Exp;
- branches;
- next 1.12;
-
- 1.12
- date 93.06.16.20.10.29; author rkr; state Exp;
- branches;
- next 1.11;
-
- 1.11
- date 93.06.14.23.33.07; author rkr; state Exp;
- branches;
- next 1.10;
-
- 1.10
- date 93.06.10.16.42.28; author rkr; state Exp;
- branches;
- next 1.9;
-
- 1.9
- date 93.06.06.13.22.11; author rkr; state Exp;
- branches;
- next 1.8;
-
- 1.8
- date 93.06.06.13.19.33; author rkr; state Exp;
- branches;
- next 1.7;
-
- 1.7
- date 93.06.06.12.38.53; author rkr; state Exp;
- branches;
- next 1.6;
-
- 1.6
- date 93.06.06.10.38.37; author rkr; state Exp;
- branches;
- next 1.5;
-
- 1.5
- date 93.06.06.10.12.50; author rkr; state Exp;
- branches;
- next 1.4;
-
- 1.4
- date 91.12.20.09.44.22; author rkr; state Exp;
- branches;
- next 1.3;
-
- 1.3
- date 91.12.10.02.48.47; author rkr; state Exp;
- branches;
- next 1.2;
-
- 1.2
- date 91.12.02.10.52.04; author rkr; state Exp;
- branches;
- next 1.1;
-
- 1.1
- date 91.11.28.08.25.38; author rkr; state Exp;
- branches;
- next ;
-
-
- desc
- @sercli is a program to permit shell-like interface to the serial port,
- while also permitting easy config- and run-time-control over the way the
- serial port (or even _which_ serial port) is used.
-
- @
-
-
- 1.13
- log
- @Added per-file copyright notice, as suggested by GPL.
-
- When making the `rcs' target, rcsdiff the working file against the
- last checked-in version.
-
- Fixed a minor stupidity with name/version DMake vars.
- @
- text
- @## $Source: WB_2.1:homes/rkr/prog/sercli/src/RCS/dmakefile,v $
- ## $Author: rkr $
- ## $Revision: 1.12 $
- ## $Locker: rkr $
- ## $State: Exp $
- ## $Date: 1993/06/16 20:10:29 $
- ##
- ## sercli (an Amiga .device <-> FIFO interface tool)
- ## Copyright (C) 1993 Richard Rauch
- ##
- ## See /doc/sercli.doc and /COPYING for use and distribution license.
- ##
-
- ## Can't easily make it all -mRR, right now, since there is no @@BeginIO()
- ## for register arg entry (also fifo stuff doesn't look like it will
- ## support it).
- ##
-
-
- ## $(name) is relatively constant
- ## $(version) we _could_ export to another file, but
- ## $(symbol) is closely tied to $(version), and _has_ to be available here.
- ## (I suppose we might get away with using an ENV/shell var...)
- ##
- name = sercli
- version = v1.10
- symbol = sercli_v1_10
-
-
- ## od == temp place to put objects during compilation
- ## exe == The primary target of all of this
- ## srcs == Compilables (given to the C compiler)
- ## objs == Intended output of the C compiler
- ## hdrs == list of all header files (#?.h) that $(srcs) need
- ##
- od = dtmp:sercli/
- exe = /bin/sercli
- srcs = serial.c sercli.c misc.c config.c sercli-config.c rexx.c keywords.c errors.c
- objs = $(srcs:"*.c":"$(od)%1.o")
- hdrs = config.h keywords.h sercli-config.h ser_supp.h misc.h rexx.h defs.h errors.h fifo_pragmas.h fifo.h
-
-
- ## allfiles == every non-changes file that is manually written in this dir
- ## rcsfiles == set of RCS files for $(allfiles)
- ##
- allfiles= $(srcs) $(hdrs) dmakefile
- rcsfiles= $(allfiles:"*":"rcs/%1,v")
-
-
- ## chgs == the changes list (in changes/ relative to this dir)
- ## ch_dummy == non-existant files; $(chgs) are all always out of date
- ## ch_text == end-user changes doc (needs trimming)
- ##
- chgs = $(allfiles:"*":"changes/%1")
- ch_dummy= $(chgs:"*":"no-such-file-%1")
- ch_text = /doc/changes.text
-
-
- cflags = -no-env -r -2.0 -// -c -proto
- lflags = -no-env -r -2.0
- comp = dcc $(cflags)
- link = dcc $(lflags)
-
-
- ## Make everything
- ##
- all : version.h $(exe) tags
-
-
- ## Clear out object code...(and executable?)
- ##
- clean :
- delete $(od)#?
-
-
- ## To make a release, we pro'ly want to update the changes text and do a
- ## full RCS checkin/symbolic bind. The order is important since the RCS
- ## target can find straglers that haven't been checked in, so it Types the
- ## appropriate changes file before doing the ci.
- ##
- release : changes rcs
-
-
- ## Optional; update this when making a release.
- ##
- changes : $(ch_dummy) $(ch_text)
- echo "*n-- Finished updating $(ch_text).*N You may wish to prune it manually."
-
-
- ## rx addlog t:version_changes
- ##
- $(ch_text) :
- echo > t:version $(name) $(version) ($(symbol))
- echo >> t:version ""
- join t:version t:changes /doc/changes.text as t:u2
- copy t:u2 /doc/changes.text
- join t:version t:changes as t:version_changes
- delete t:version t:changes t:u2 t:version_changes
-
-
- ## Update $(ch_text) (log of changes)
- ##
- $(ch_dummy) : $(chgs)
- type >> t:changes %(right)
- echo >> t:changes ""
- echo > %(right) noline
-
-
- ## Create version.h file...
- ##
- version.h :
- echo > version.h "#define NAME *"$(name)*""
- echo >> version.h "#define VERSION *"$(version)*""
-
-
- ## make sure all are checked in, then set the RCS symbolic name
- ##
- rcs : $(rcsfiles)
- rcs -N$(symbol): rcs/#?,v
-
-
- ## For each file in $(allfiles), make sure it's checked in. changes/#?
- ## files FORMERLY were used to to fetch a list of changed info. Now that
- ## checkins are done independant of this makefile, the work is to simply
- ## make sure the latest version of each file is checked in.
- ##
- $(rcsfiles) : $(allfiles)
- echo %(right) appears newer than its RCS file.
- rlog -r %(right)
- type changes/%(right)
- rcsdiff %(right) %(left)
- ci -l %(right)
-
-
- ## Can't do this w/o ctags
- ## delete tags
- ##
- tags : $(srcs)
- echo "No tags to do this: ctags $(srcs)"
-
-
- ## $(link) -o $(exe) $(objs) -l fifos -l rexxglue.o
- $(exe) : $(objs)
- $(link) -o $(exe) $(objs) -l fifos
-
-
- $(objs) : $(srcs)
- $(comp) -o %(left) %(right)
- @
-
-
- 1.12
- log
- @Made `rcs' target do an `rlog -r' to help clarify what's changed.
-
- Perhaps an RCS diff would be better?
- @
- text
- @d3 1
- a3 1
- ## $Revision: 1.11 $
- d6 1
- a6 1
- ## $Date: 1993/06/14 23:33:07 $
- d8 6
- d93 1
- a93 1
- echo > t:version "$name $version ($(symbol))"
- d131 1
- @
-
-
- 1.11
- log
- @Quoted ctags command (to hide `do' from Echo); should hunt down
- a ctags util eventually...
- @
- text
- @d3 1
- a3 1
- ## $Revision: 1.10 $
- d6 1
- a6 1
- ## $Date: 1993/06/10 16:42:28 $
- d123 1
- @
-
-
- 1.10
- log
- @Created `clean' target; removed ref. to `rexxglue.o'.
- @
- text
- @d3 1
- a3 1
- ## $Revision: 1.9 $
- d6 1
- a6 1
- ## $Date: 1993/06/06 13:22:11 $
- d131 1
- a131 1
- echo No tags to do this: ctags $(srcs)
- @
-
-
- 1.9
- log
- @The Added `:' in -N$(symbol): RCS arg. Hopefull that will help.
- @
- text
- @d3 1
- a3 1
- ## $Revision: 1.6 $
- d6 1
- a6 1
- ## $Date: 1993/06/06 10:38:37 $
- d13 6
- d20 2
- a21 2
- version = v1.9
- symbol = sercli_v1_9
- d23 7
- d35 5
- d41 7
- d51 4
- a54 3
- rcsfiles= $(allfiles:"*":"rcs/%1,v")
- cflags = -no-env -r -// -c -proto
- lflags = -no-env -r
- d58 3
- d64 11
- d77 1
- d83 1
- d85 1
- d87 1
- a87 1
- echo > t:version "$(name) $(version) ($(symbol))"
- d95 1
- a95 1
- ## Update the $(ch_text) file (text describing all changes)
- d103 2
- d106 2
- a107 2
- echo > version.h "#define NAME \"$(name)\""
- echo >> version.h "#define VERSION \"$(version)\""
- d110 1
- a110 7
- ## rcs : $(rcsfiles)
- ## echo > t:version "$(name) $(version) ($(symbol))"
- ## echo >> t:version
- ## join t:version t:changes /doc/changes.text as t:u2
- ## copy t:u2 /doc/changes.text
- ## join t:version t:changes as t:version_changes
- ## delete t:version t:changes t:u2 t:version_changes
- d115 1
- d126 1
- d128 2
- a130 1
- delete tags
- d133 2
- d136 2
- a137 1
- $(link) -o $(exe) $(objs) -l fifos -l rexxglue.o
- a140 1
-
- @
-
-
- 1.8
- log
- @Testing dmake `rcs'; also removed tags & changed to symbolic v1.9
- @
- text
- @d74 1
- a74 1
- rcs -N$(symbol) rcs/#?,v
- @
-
-
- 1.7
- log
- @RCS maint may be a little cleaner.
-
- Also created `changes' target to update the /doc/changes.text file.
- @
- text
- @a31 1
-
- d86 1
- d89 1
- a89 1
- ctags $(srcs)
- @
-
-
- 1.6
- log
- @I think (HOPE) I fixed the dmakefile.
- @
- text
- @d1 1
- a1 1
- ## $Source: WB_2.1:ho/rcs/dmakefile,v $
- d3 2
- a4 2
- ## $Revision: 1.4 $
- ## $Locker: $
- d6 1
- a6 1
- ## $Date: 1991/12/20 09:44:22 $
- d20 1
- a20 1
- objs = $(srcs:"*.c":"$(od)*.o")
- d23 4
- a26 2
- chgs = $(allfiles:"*":"*.changes")
- rcsfiles= $(allfiles:"*":"rcs/*,v")
- d35 26
- a71 1
- ## rx addlog t:version_changes
- a73 1
-
- a74 6
- echo > t:version "$(name) $(version) ($(symbol))"
- echo >> t:version
- join t:version t:changes /doc/changes.text as t:u2
- copy t:u2 /doc/changes.text
- join t:version t:changes as t:version_changes
- delete t:version t:changes t:u2 t:version_changes
- d77 4
- a80 5
-
- ## $(rcsfiles) : $(allfiles)
- ## echo >> changes/%(right)
- ## type >> t:changes changes/%(right)
- ## echo > changes/%(right) noline
- a81 1
-
- d83 3
- a85 5
- echo >> changes/%(right)
- type >> t:changes changes/%(right)
- ci < changes/%(right) -l %(right)
- echo > changes/%(right) noline
-
- @
-
-
- 1.5
- log
- @Removed `rx addlog' ref.
- @
- text
- @d55 1
- d57 7
- d67 1
- a67 1
- ci < changes/%(right) -f -N$(symbol) -l %(right)
- @
-
-
- 1.4
- log
- @*** empty log message ***
- @
- text
- @d1 1
- a1 1
- ## $Source: Workbench:personal/rkr/prog/sercli/src/rcs/dmakefile,v $
- d3 2
- a4 2
- ## $Revision: 1.2 $
- ## $Locker: rkr $
- d6 1
- a6 1
- ## $Date: 91/12/02 10:42:41 $
- d14 2
- a15 2
- version = v1.8
- symbol = sercli_v1_8
- d37 11
- a53 1
- rx addlog t:version_changes
- @
-
-
- 1.3
- log
- @** Made sercli "startup-banner" automatically reflect version set in
- dmakefile, and also embed the date-compiled.
-
-
- @
- text
- @d14 2
- a15 2
- version = v1.7
- symbol = sercli_v1_7
- d38 1
- a38 1
- echo >> t:version $(name)
- d42 3
- a44 4
- delete t:version
- delete t:changes
- rx addlog t:u2
- delete t:u2
- @
-
-
- 1.2
- log
- @** Made dmakefile support for rcs more complete.
- @
- text
- @d13 3
- a15 1
- name = sercli_v1_6
- d25 1
- a25 1
- cflags = -no-env -r -//
- d27 1
- a27 1
- comp = dcc $(cflags) -c -proto
- d31 1
- a31 1
- all : $(exe) tags
- d33 4
- d44 2
- a45 2
- rx addlog t:u2.text
- delete t:u2.text
- d48 4
- a51 4
- echo >> %(right).changes noline
- type >> t:changes %(right).changes
- ci < %(right).changes -f -N$(name) -l %(right)
- echo > %(right).changes noline
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d1 6
- a6 6
- ## $Source$
- ## $Author$
- ## $Revision$
- ## $Locker$
- ## $State$
- ## $Date$
- d13 1
- a13 1
- name = sercli_v1_5
- d21 1
- d29 1
- a29 1
- all : $(exe) tags rcs
- d32 8
- d42 5
- a46 1
- ci -N$(name) -l %(right)
- @
-