head	1.21;
access;
symbols
	HWGRCSP7F:1.19
	C_15:1.19
	HWGRCSP6F:1.15
	HWGRCSP5F:1.10
	HWGRCSp4:1.8
	HWGRCSp3:1.5
	HWGRCS_Fish:1.4
	HWGRCS:1.4;
locks; strict;
comment	@# @;


1.21
date	94.03.14.12.36.15;	author heinz;	state Exp;
branches;
next	1.20;

1.20
date	94.02.12.19.24.25;	author heinz;	state Exp;
branches;
next	1.19;

1.19
date	94.01.26.19.05.40;	author heinz;	state Exp;
branches;
next	1.18;

1.18
date	94.01.22.13.42.07;	author heinz;	state Exp;
branches;
next	1.17;

1.17
date	94.01.08.11.53.10;	author heinz;	state Exp;
branches;
next	1.16;

1.16
date	94.01.06.11.51.41;	author heinz;	state Exp;
branches;
next	1.15;

1.15
date	93.12.20.18.50.33;	author heinz;	state Exp;
branches;
next	1.14;

1.14
date	93.12.20.18.47.24;	author heinz;	state Exp;
branches;
next	1.13;

1.13
date	93.12.18.20.09.03;	author heinz;	state Exp;
branches;
next	1.12;

1.12
date	93.12.18.16.12.22;	author heinz;	state Exp;
branches;
next	1.11;

1.11
date	93.10.17.17.18.25;	author heinz;	state Exp;
branches;
next	1.10;

1.10
date	93.07.23.22.51.26;	author heinz;	state Exp;
branches;
next	1.9;

1.9
date	93.07.07.20.33.01;	author heinz;	state Exp;
branches;
next	1.8;

1.8
date	93.06.13.14.33.41;	author heinz;	state Exp;
branches;
next	1.7;

1.7
date	93.06.13.14.16.48;	author heinz;	state Exp;
branches;
next	1.6;

1.6
date	93.06.13.14.00.54;	author heinz;	state Exp;
branches;
next	1.5;

1.5
date	93.03.20.20.38.56;	author heinz;	state Exp;
branches;
next	1.4;

1.4
date	93.01.18.20.39.58;	author heinz;	state Exp;
branches;
next	1.3;

1.3
date	93.01.18.20.36.40;	author heinz;	state Exp;
branches;
next	1.2;

1.2
date	93.01.18.18.14.53;	author heinz;	state Exp;
branches;
next	1.1;

1.1
date	93.01.18.13.17.23;	author heinz;	state Exp;
branches;
next	;


desc
@Start of the AMIGA port of RCS 5.6. I call it HWGRCS now ;^)
This is the actual makefile for SAS/C 6.1. The original makefile
is still there but not used anyymore!
@


1.21
log
@Cleanu, bumprev target added, changes to version string handling.
@
text
@# $Id: smakefile,v 1.20 1994/02/12 19:24:25 heinz Exp heinz $
#
#   Derived from the original RCS makefile
#
#   1993,1994 by HWG, For Joan Thuesen
#

# default target
def: all

#default :: all

# See README for more information on the configuration section.
# ----- start of configuration section -----

#(Unix

.ONERROR
    say "Error"

 CC = SC

#CC_D = NOOPT DEBUG=sf
 CC_D =

 CC_ADD = DEF "PRGVERSIONTEXT=*" Changes 1993,1994 by HWG, For Joan Thuesen*""

 CC_O = RESOPT IGNORE=85,93,149,161,178 DEF=AMIGA=1 DEF=_AMIGA=1\
        ANSI STRICT ERROR=ALL DEF=_STRICT_ANSI UTILLIB\
        DEF=_exit=__exit DEF=VOID_CLOSEDIR=1\
        PARM=R NOSTKCHK PPBUF=16384\
        DEF=USE_BUILTIN_MATH DEF=__USE_SYSBASE\
        $(CC_ADD)\
        OPT

 CC_W =

 CFLAGS = $(CC_O) $(CC_D) $(CC_W)

HWGRCSGST = hwgrcs.gst

$(HWGRCSGST): rcsbase.h conf.h
    echo >t.c "\#include *"rcsbase.h*""
    -@@avail >NIL: flush
    $(CC) $(CFLAGS) t.c MAKEGST $@@
    -delete t.c

.c.o:
    $(CC) $(CFLAGS) $* GST $(HWGRCSGST)

amiga$o: amiga.c smakefile
    $(CC) $(CFLAGS) $* GST $(HWGRCSGST)

 COMPAT2 = 0
#COMPAT2 = 1

 DIFF = $(DIFFPREFIX)diff

 DIFFPREFIX = RCS:# GNU diff -- must be version 1.15 or later

 DIFF_FLAGS = -an# GNU diff

#DIFF_L = 0# traditional diff
 DIFF_L = 1# GNU diff
#DIFF_L = 0# traditional diff

 DIFF_SUCCESS = 0
#DIFF_SUCCESS = EXIT_SUCCESS
 DIFF_FAILURE = 1
#DIFF_FAILURE = EXIT_FAILURE
 DIFF_TROUBLE = 2
#DIFF_TROUBLE = (EXIT_FAILURE*2)

 DIFF3 = $(DIFF)3# GNU diff3

#DIFF3_A = 1# GNU diff 2.1 or later
 DIFF3_A = 0# all other diffs

 DIFF3_BIN = 1# GNU diff
#DIFF3_BIN = 0# traditional diff

 ED = RCS:ked
#ED = /bin/ed

 EXECUTABLE_GROUP =
 EXECUTABLE_PERMISSIONS =
 INSTALL = copy clone
#EXECUTABLE_GROUP = staff# BSD unix installation
#EXECUTABLE_PERMISSIONS = -g $(EXECUTABLE_GROUP) -m 775# BSD unix installation
#INSTALL = install -c $(EXECUTABLE_PERMISSIONS)# BSD unix installation
#INSTALL = cp# traditional Unix installation

 LDFLAGS = LINK LINKWITH LIB:utillib.with MAP MXREF

 LDLIBS = STRT=cres LIB //addlib/hwgunix.lib

 LINK = $(CC) $(LDFLAGS)

 LINT =

 MAKE = SMAKE

 OTHER_OBJECT = amiga.o

 RCSDIR = RCS:

 RCSPREFIX = $(RCSDIR)

 REMOVE = DELETE

 SENDMAIL = "sendmail"

 TESTPREFIX =

 o = .o

 x =

#)
# On non-Unix hosts you must manually create and edit conf.h from conf.heg.

# ----- end of configuration section -----
# You shouldn't have to change anything past this point.


# Avoid brain damage in some versions of 'make'.
SHELL = /bin/sh

# all commands
RCSCOMMANDS = ci$x co$x ident$x merge$x rcs$x rcsdiff$x rcsmerge$x rlog$x rcsclean$x rcsfreeze$x

all : $(HWGRCSGST) $(RCSCOMMANDS)
        say "All done."

bumprev:
    @@co -q -l conf.h.amiga
    @@ci -q -f -l -mAmiga_BUMPREV_Start conf.h.amiga
    @@ci -q -f -u -mAmiga_BUMPREV_End conf.h.amiga
    @@echo "Bumped patch revision"

install : all
        $(INSTALL) ci$x $(DESTDIR)$(RCSDIR)
        $(INSTALL) co$x $(DESTDIR)$(RCSDIR)
        $(INSTALL) ident$x $(DESTDIR)$(RCSDIR)
        $(INSTALL) merge$x $(DESTDIR)$(RCSDIR)
        $(INSTALL) rcs$x $(DESTDIR)$(RCSDIR)
        $(INSTALL) rcsdiff$x $(DESTDIR)$(RCSDIR)
        $(INSTALL) rcsmerge$x $(DESTDIR)$(RCSDIR)
        $(INSTALL) rlog$x $(DESTDIR)$(RCSDIR)
        $(INSTALL) rcsclean$x $(DESTDIR)$(RCSDIR)
        $(INSTALL) rcsfreeze$x $(DESTDIR)$(RCSDIR)

# Install RCS and (if applicable) GNU diff before running these tests.
# To test RCS before installing it, see README.
RCSTEST = PATH=$(RCSDIR):$(DIFFPREFIX).:$$PATH sh $(TESTPREFIX)rcstest
installtest :
        $(RCSTEST)
installdebug :
        $(RCSTEST) -v

clean :
        -$(REMOVE) a.\#? \#?$o \#?.lnk \#?.gst \#?.map conf.h conf.error $(RCSCOMMANDS)

cleancmds :
        -$(REMOVE) $(RCSCOMMANDS)

#(Unix
#conf.h : conf.sh Makefile
#        $(REMOVE) a.*
#        CC='$(CC)' CFLAGS='$(CFLAGS)' \
#        COMPAT2='$(COMPAT2)' \
#        DIFF3='$(DIFF3)' DIFF3_A='$(DIFF3_A)' DIFF3_BIN='$(DIFF3_BIN)' \
#        DIFF='$(DIFF)' DIFF_FLAGS='$(DIFF_FLAGS)' DIFF_L='$(DIFF_L)' \
#        DIFF_SUCCESS='$(DIFF_SUCCESS)' DIFF_FAILURE='$(DIFF_FAILURE)' DIFF_TROUBLE='$(DIFF_TROUBLE)' \
#        ED='$(ED)' \
#        LDFLAGS='$(LDFLAGS)' LDLIBS='$(LDLIBS)' \
#        RCSPREFIX='$(RCSPREFIX)' \
#        SENDMAIL='$(SENDMAIL)' \
#        sh -x conf.sh >a.h 2>conf.error
#        mv a.h $@@
#        $(REMOVE) a.*
#)
conf.h: conf.h.amiga
    copy clone conf.h.amiga conf.h
    protect conf.h +wd

ci = ci$o rcslex$o rcssyn$o rcsgen$o rcsedit$o rcskeys$o rcsmap$o \
        rcsrev$o rcsutil$o rcsfnms$o partime$o maketime$o rcskeep$o \
        rcsfcmp$o $(OTHER_OBJECT)
ci$x : $(ci) $(HWGRCSGST)
        $(LINK) $(ci) $(LDLIBS) TO $@@

co = co$o rcslex$o rcssyn$o rcsgen$o rcsedit$o rcskeys$o rcsmap$o \
        rcsrev$o rcsutil$o rcsfnms$o partime$o maketime$o rcskeep$o $(OTHER_OBJECT)
co$x : $(co) $(HWGRCSGST)
        $(LINK) $(co) $(LDLIBS) TO $@@

ident = ident$o rcsmap$o $(OTHER_OBJECT)
ident$x : $(ident) $(HWGRCSGST)
        $(LINK) $(ident) $(LDLIBS) TO $@@

merge = merge$o merger$o rcsfnms$o rcslex$o \
        rcsmap$o rcsrev$o rcssyn$o rcsutil$o \
        rcskeep$o rcskeys$o $(OTHER_OBJECT)
merge$x : $(merge) $(HWGRCSGST)
        $(LINK) $(merge) $(LDLIBS) TO $@@

rlog = rlog$o rcslex$o rcsmap$o rcssyn$o rcsrev$o rcsutil$o partime$o \
        maketime$o rcsfnms$o rcskeep$o rcskeys$o $(OTHER_OBJECT)
rlog$x : $(rlog) $(HWGRCSGST)
        $(LINK) $(rlog) $(LDLIBS) TO $@@

rcs = rcs$o rcslex$o rcssyn$o rcsrev$o rcsutil$o rcsgen$o rcsedit$o rcskeys$o \
        rcsmap$o rcsfnms$o rcskeep$o $(OTHER_OBJECT)
rcs$x : $(rcs) $(HWGRCSGST)
        $(LINK) $(rcs) $(LDLIBS) TO $@@

rcsclean = rcsclean$o rcsedit$o rcsfcmp$o rcsfnms$o rcsgen$o rcskeys$o \
        rcslex$o rcsmap$o rcsrev$o rcssyn$o rcsutil$o rcskeep$o $(OTHER_OBJECT)
rcsclean$x : $(rcsclean) $(HWGRCSGST)
        $(LINK) $(rcsclean) $(LDLIBS) TO $@@

rcsdiff = rcsdiff$o rcsutil$o rcsfnms$o rcsmap$o rcsrev$o rcssyn$o rcslex$o \
        maketime$o partime$o rcskeep$o rcskeys$o $(OTHER_OBJECT)
rcsdiff$x : $(rcsdiff) $(HWGRCSGST)
        $(LINK) $(rcsdiff) $(LDLIBS) TO $@@

rcsmerge = rcsmerge$o merger$o rcsutil$o rcsfnms$o rcsmap$o rcsrev$o rcssyn$o \
        rcslex$o rcskeep$o rcskeys$o $(OTHER_OBJECT)
rcsmerge$x : $(rcsmerge) $(HWGRCSGST)
        $(LINK) $(rcsmerge) $(LDLIBS) TO $@@

rcsfreeze$x: rcsfreeze.c
    $(CC) RESOPT $* $(CC_ADD) NOSTKCHK OPTIMIZE LINK NOSTARTUP STRMERGE PARM=R
    protect rcsfreeze$x +p


SOURCE= ci.c co.c ident.c maketime.c merge.c merger.c partime.c rcs.c \
        rcsclean.c rcsdiff.c rcsedit.c rcsfcmp.c rcsfnms.c rcsgen.c \
        rcskeep.c rcskeys.c rcslex.c rcsmap.c rcsmerge.c rcsrev.c rcssyn.c \
        rcsutil.c rlog.c
OBJECT= ci$o co$o ident$o maketime$o merge$o merger$o partime$o rcs$o \
        rcsclean$o rcsdiff$o rcsedit$o rcsfcmp$o rcsfnms$o rcsgen$o \
        rcskeep$o rcskeys$o rcslex$o rcsmap$o rcsmerge$o rcsrev$o rcssyn$o \
        rcsutil$o rlog$o

lint : conf.h
        $(LINT) $(CC_D) -Dlint=1 $(SOURCE)

conf_h = conf.h
#$(OBJECT) : $(conf_h) rcsbase.h

# smake doesn't seem to work right without this.
ci$o:       ci.c       $(conf_h) rcsbase.h $(HWGRCSGST)
co$o:       co.c       $(conf_h) rcsbase.h $(HWGRCSGST)
ident$o:    ident.c    $(conf_h) rcsbase.h $(HWGRCSGST)
maketime$o: maketime.c $(conf_h) rcsbase.h $(HWGRCSGST)
merge$o:    merge.c    $(conf_h) rcsbase.h $(HWGRCSGST)
merger$o:   merger.c   $(conf_h) rcsbase.h $(HWGRCSGST)
partime$o:  partime.c  $(conf_h) rcsbase.h $(HWGRCSGST)
rcs$o:      rcs.c      $(conf_h) rcsbase.h $(HWGRCSGST)
rcsclean$o: rcsclean.c $(conf_h) rcsbase.h $(HWGRCSGST)
rcsdiff$o:  rcsdiff.c  $(conf_h) rcsbase.h $(HWGRCSGST)
rcsedit$o:  rcsedit.c  $(conf_h) rcsbase.h $(HWGRCSGST)
rcsfcmp$o:  rcsfcmp.c  $(conf_h) rcsbase.h $(HWGRCSGST)
rcsfnms$o:  rcsfnms.c  $(conf_h) rcsbase.h $(HWGRCSGST)
rcsgen$o:   rcsgen.c   $(conf_h) rcsbase.h $(HWGRCSGST)
rcskeep$o:  rcskeep.c  $(conf_h) rcsbase.h $(HWGRCSGST)
rcskeys$o:  rcskeys.c  $(conf_h) rcsbase.h $(HWGRCSGST)
rcslex$o:   rcslex.c   $(conf_h) rcsbase.h $(HWGRCSGST)
rcsmap$o:   rcsmap.c   $(conf_h) rcsbase.h $(HWGRCSGST)
rcsmerge$o: rcsmerge.c $(conf_h) rcsbase.h $(HWGRCSGST)
rcsrev$o:   rcsrev.c   $(conf_h) rcsbase.h $(HWGRCSGST)
rcssyn$o:   rcssyn.c   $(conf_h) rcsbase.h $(HWGRCSGST)
rcsutil$o:  rcsutil.c  $(conf_h) rcsbase.h $(HWGRCSGST)
rlog$o:     rlog.c     $(conf_h) rcsbase.h $(HWGRCSGST)


@


1.20
log
@Version update.
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.19 1994/01/26 19:05:40 heinz Exp heinz $
d26 1
a26 3
 CC_ADD = DEF "PRGVERSIONDATE=*"(12.2.94)*""\
          DEF "PRGVERSION=*"$$VER: HWGRCSp8 5.6 *""\
          DEF "PRGVERSIONTEXT=*" Changes 1993,1994 by HWG, For Joan Thuesen*""
d29 1
a29 1
        ANSI STRICT ERROR=ALL DEF=_STRICT_ANSI\
d44 1
d93 1
a93 1
 LDFLAGS = LINK MAP
d135 6
d190 1
a190 1
ci$x : $(ci)
d195 1
a195 1
co$x : $(co)
d199 1
a199 1
ident$x : $(ident)
d205 1
a205 1
merge$x : $(merge)
d210 1
a210 1
rlog$x : $(rlog)
d215 1
a215 1
rcs$x : $(rcs)
d220 1
a220 1
rcsclean$x : $(rcsclean)
d225 1
a225 1
rcsdiff$x : $(rcsdiff)
d230 1
a230 1
rcsmerge$x : $(rcsmerge)
d254 23
a276 23
ci$o: ci.c $(conf_h) rcsbase.h
co$o: co.c $(conf_h) rcsbase.h
ident$o: ident.c $(conf_h) rcsbase.h
maketime$o: maketime.c $(conf_h) rcsbase.h
merge$o: merge.c $(conf_h) rcsbase.h
merger$o: merger.c $(conf_h) rcsbase.h
partime$o: partime.c $(conf_h) rcsbase.h
rcs$o: rcs.c $(conf_h) rcsbase.h
rcsclean$o: rcsclean.c $(conf_h) rcsbase.h
rcsdiff$o: rcsdiff.c $(conf_h) rcsbase.h
rcsedit$o: rcsedit.c $(conf_h) rcsbase.h
rcsfcmp$o: rcsfcmp.c $(conf_h) rcsbase.h
rcsfnms$o: rcsfnms.c $(conf_h) rcsbase.h
rcsgen$o: rcsgen.c $(conf_h) rcsbase.h
rcskeep$o: rcskeep.c $(conf_h) rcsbase.h
rcskeys$o: rcskeys.c $(conf_h) rcsbase.h
rcslex$o: rcslex.c $(conf_h) rcsbase.h
rcsmap$o: rcsmap.c $(conf_h) rcsbase.h
rcsmerge$o: rcsmerge.c $(conf_h) rcsbase.h
rcsrev$o: rcsrev.c $(conf_h) rcsbase.h
rcssyn$o: rcssyn.c $(conf_h) rcsbase.h
rcsutil$o: rcsutil.c $(conf_h) rcsbase.h
rlog$o: rlog.c $(conf_h) rcsbase.h
@


1.19
log
@Changed revision and date.
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.18 1994/01/22 13:42:07 heinz Exp heinz $
d26 2
a27 2
 CC_ADD = DEF "PRGVERSIONDATE=*"(26.1.94)*""\
          DEF "PRGVERSION=*"$$VER: HWGRCSp7 5.6 *""\
@


1.18
log
@Compile now works with a GST. C= style version string generation reworked.
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.17 1994/01/08 11:53:10 heinz Exp $
d26 2
a27 2
 CC_ADD = DEF "PRGVERSIONDATE=*"(22.1.94)*""\
          DEF "PRGVERSION=*"$$VER: HWGRCSp6i 5.6 *""\
@


1.17
log
@Intermediate update.
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.16 1994/01/06 11:51:41 heinz Exp heinz $
d26 3
a28 1
 CC_ADD = DEF "PRGVERSION=*"$$VER: HWGRCSp6i 5.6 (7.1.94) Changes 1993,1994 by HWG, For Joan Thuesen*""
d42 7
d50 1
a50 1
    $(CC) $(CFLAGS) $*
d53 1
a53 1
    $(CC) $(CFLAGS) $*
d133 1
a133 1
all : $(RCSCOMMANDS)
d157 1
a157 1
        -$(REMOVE) a.\#? \#?$o \#?.lnk \#?.map conf.h conf.error $(RCSCOMMANDS)
@


1.16
log
@Version change for intermediate patches.
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.15 1993/12/20 18:50:33 heinz Exp heinz $
d26 1
a26 1
 CC_ADD = DEF "PRGVERSION=*"$$VER: HWGRCSp6i 5.6 (6.1.94) Changes 1993,1994 by HWG, For Joan Thuesen*""
@


1.15
log
@Header change. Missing cleanup for maps added.
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.14 1993/12/20 18:47:24 heinz Exp heinz $
d5 1
a5 1
#   1993 by HWG, For Joan Thuesen
d26 1
a26 1
 CC_ADD = DEF "PRGVERSION=*"$$VER: HWGRCSp6 5.6 (20.12.93) Changes 1993 by HWG, For Joan Thuesen*""
@


1.14
log
@Updated the SC options for use of builtin functions.
Some cosmetic changes, too.
@
text
@d1 1
a1 4
# $Id: smakefile,v 1.13 1993/12/18 20:09:03 heinz Exp heinz $
# Copyright (C) 1982, 1988, 1989 Walter Tichy
# Copyright 1990, 1991 by Paul Eggert
#   Distributed under license by the Free Software Foundation, Inc.
d3 1
a3 1
# This file is part of RCS.
d5 1
a5 17
# RCS is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# RCS is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with RCS; see the file COPYING.  If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
#
# Report problems and direct all questions to:
#
#    rcs-bugs@@cs.purdue.edu
d148 1
a148 1
        -$(REMOVE) a.\#? \#?$o \#?.lnk conf.h conf.error $(RCSCOMMANDS)
@


1.13
log
@Corrected the version string.
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.12 1993/12/18 16:12:22 heinz Exp heinz $
a40 1
 SC = SC
d45 1
a45 1
 CC_ADD = DEF "PRGVERSION=*"$$VER: HWGRCSp6 5.6 (18.12.93) Changes 1993 by HWG, For Joan Thuesen*""
d47 2
a48 2
 CC_O = RESOPT PARM=R DEF=AMIGA=1 DEF=_AMIGA=1\
        IGNORE=85,93,149,161,178 ANSI STRICT ERROR=ALL DEF=_STRICT_ANSI\
d50 2
a58 2
 SCFLAGS = $(CFLAGS)

d104 1
a104 1
 LDFLAGS = FROM LIB:cres.o
d106 1
a106 1
 LDLIBS = LIB //addlib/hwgunix.lib LIB:sc.lib
d108 1
a108 1
 LINK = SLINK $(LDFLAGS)
@


1.12
log
@Changed all checks for AMIGA to _AMIGA. This is more standard like
and helps future updates. Major patch cleanup on the way.
[Note: Added a VOID_CLOSEDIR define for this global change, too!]
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.11 1993/10/17 17:18:25 heinz Exp heinz $
d46 1
a46 1
 CC_ADD = DEF "PRGVERSION=*"$$VER: HWGRCSp6 5.6 (16.12.93) Changes (C)1993 by HWG, For Joan Thuesen*""
@


1.11
log
@Small changes for the hwgunix.lib
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.10 1993/07/23 22:51:26 heinz Exp heinz $
d46 1
a46 1
 CC_ADD = DEFINE "PRGVERSION=*"$$VER: HWGRCSp6 5.6 (17.10.93) Changes (C)1993 by HWG, For Joan Thuesen*""
d48 3
a50 1
 CC_O = RESOPT PARM=R DEFINE=AMIGA=1 IGNORE=85,93,149,161,178 ANSI STRICT ERROR=ALL\
d52 1
a52 1
        OPTIMIZE
d59 1
d63 3
d75 2
a76 2
 DIFF_L = 0# traditional diff
#DIFF_L = 1# GNU diff
d88 4
a91 2
 DIFF3_BIN = 0# traditional diff
#DIFF3_BIN = 1# GNU diff
d178 1
a178 1
#        DIFF3='$(DIFF3)' DIFF3_BIN='$(DIFF3_BIN)' \
a282 1
amiga$o: amiga.c $(conf_h) rcsbase.h
@


1.10
log
@Date change in the C= version string
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.9 1993/07/07 20:33:01 heinz Exp heinz $
d46 1
a46 1
 CC_ADD = DEFINE "PRGVERSION=*"$$VER: HWGRCSp5 5.6 (23.7.93) Changes (C)1993 by HWG, For Joan Thuesen*""
d99 1
a99 1
 LDLIBS = LIB LIB:sc.lib
d107 1
a107 1
 OTHER_OBJECT = _main.o amiga.o
d161 3
@


1.9
log
@The version string is now defined in the smakefile
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.8 1993/06/13 14:33:41 heinz Exp heinz $
d43 1
d46 1
a46 1
 CC_ADD = DEFINE "PRGVERSION=*"$$VER: HWGRCSp5 5.6 (7.7.93) Changes (C)1993 by HWG, For Joan*""
@


1.8
log
@rcsfreeze is pure. I forgot about that.
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.7 1993/06/13 14:16:48 heinz Exp heinz $
a41 4
#CC = cc
#CC = bsdcc -qlanglvl=ansi# AIX
#CC = cc -g# debug
#CC = gcc -g# GCC
a43 1
#CC_D =
d45 1
a45 5
 CC_O = RESOPT PARM=R DEFINE=AMIGA=1 IGNORE=85,93,149,161,178 ANSI STRICT ERROR=ALL OPTIMIZE
#CC_O = -O
#CC_O =# debug
#CC_O = -O -R# BSD compilers that do not support `const'
#CC_O = -O -fdelayed-branch -finline-functions -fomit-frame-pointer -fstrength-reduce# GCC options for brave souls
d47 4
a51 2
#CC_W =
#CC_W = -Wall -Wcast-qual -Wpointer-arith -Wshadow -Wwrite-strings# GCC
a62 1
#DIFF = $(DIFFPREFIX)rdiff# short for ``RCS diff'' on some hosts
a64 3
#DIFFPREFIX = /usr/local/gnu/# GNU diff -- must be version 1.15 or later
#DIFFPREFIX = /bin/# traditional diff
#DIFFPREFIX = /usr/bin/# traditional diff (alternate name)
a66 1
#DIFF_FLAGS = -n# traditional diff
a79 4
#DIFF3 = /usr/lib/diff3# traditional diff3
#DIFF3 = /usr/5lib/diff3prog# other aliases for traditional diff3
#DIFF3 = /usr/lib/diff3prog
#DIFF3 = /usr/lib/rdiff3
a98 1
#LDLIBS =
a100 1
#LINK = $(CC) $(LDFLAGS)
a102 2
#LINT = lint -abchx# traditional and BSD lint
#LINT = lint# System V lint
a104 1
#MAKE = make
a108 3
#RCSDIR = /usr/local/bin
#RCSDIR = /bin
#RCSDIR = /usr/bin
a110 2
#RCSPREFIX = $(RCSDIR)/
#RCSPREFIX =
a112 1
#REMOVE = rm -f
a114 6
#SENDMAIL = "/bin/mail"
#SENDMAIL = "/etc/delivermail", "-w"
#SENDMAIL = "/usr/bin/mail"
#SENDMAIL = "/usr/lib/sendmail"
#SENDMAIL = "mail"
#SENDMAIL =# for impoverished hosts that lack electronic mail
a118 1
#o = .s# Minix/PC with ACK cc
d228 1
a228 1
    $(CC) RESOPT $* NOSTKCHK OPTIMIZE LINK NOSTARTUP STRMERGE PARM=R
@


1.7
log
@PARM=R is good for rcsfreeze.
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.6 1993/06/13 14:00:54 heinz Exp heinz $
d263 1
@


1.6
log
@The new SAS/C rcsfreeze now has a rule in the smakefile.
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.5 1993/03/20 20:38:56 heinz Exp heinz $
d193 1
a193 1
        $(REMOVE) a.\#? \#?$o \#?.lnk conf.h conf.error $(RCSCOMMANDS)
d262 1
a262 1
    sc $* nostkchk optimize link nostartup strmerge
@


1.5
log
@PARM=R added to compiler options. This improves code quality here
and helps replacing some buggy SAS/C 6.2 library functions.
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.4 1993/01/18 20:39:58 heinz Exp heinz $
d167 1
a167 1
RCSCOMMANDS = ci$x co$x ident$x merge$x rcs$x rcsdiff$x rcsmerge$x rlog$x rcsclean$x
d182 1
a182 3
        $(INSTALL) rcsfreeze t:
        protect t:rcsfreeze +wd
        $(INSTALL) t:rcsfreeze $(DESTDIR)$(RCSDIR)
d193 1
a193 1
        $(REMOVE) a.\#? \#?$o conf.h conf.error $(RCSCOMMANDS) rcsclean$x
d260 4
@


1.4
log
@rcsfreeze has now +wd bits!
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.3 1993/01/18 20:36:40 heinz Exp heinz $
d15 1
a15 1
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
d50 1
a50 1
 CC_O = RESOPT DEFINE=AMIGA=1 IGNORE=85,93,149,161,178 ANSI STRICT ERROR=ALL OPTIMIZE
d170 1
a170 1
	say "All done."
d173 12
a184 12
	$(INSTALL) ci$x $(DESTDIR)$(RCSDIR)
	$(INSTALL) co$x $(DESTDIR)$(RCSDIR)
	$(INSTALL) ident$x $(DESTDIR)$(RCSDIR)
	$(INSTALL) merge$x $(DESTDIR)$(RCSDIR)
	$(INSTALL) rcs$x $(DESTDIR)$(RCSDIR)
	$(INSTALL) rcsdiff$x $(DESTDIR)$(RCSDIR)
	$(INSTALL) rcsmerge$x $(DESTDIR)$(RCSDIR)
	$(INSTALL) rlog$x $(DESTDIR)$(RCSDIR)
	$(INSTALL) rcsclean$x $(DESTDIR)$(RCSDIR)
	$(INSTALL) rcsfreeze t:
	protect t:rcsfreeze +wd
	$(INSTALL) t:rcsfreeze $(DESTDIR)$(RCSDIR)
d190 1
a190 1
	$(RCSTEST)
d192 1
a192 1
	$(RCSTEST) -v
d195 1
a195 1
	$(REMOVE) a.\#? \#?$o conf.h conf.error $(RCSCOMMANDS) rcsclean$x
d199 13
a211 13
#	 $(REMOVE) a.*
#	 CC='$(CC)' CFLAGS='$(CFLAGS)' \
#	 COMPAT2='$(COMPAT2)' \
#	 DIFF3='$(DIFF3)' DIFF3_BIN='$(DIFF3_BIN)' \
#	 DIFF='$(DIFF)' DIFF_FLAGS='$(DIFF_FLAGS)' DIFF_L='$(DIFF_L)' \
#	 DIFF_SUCCESS='$(DIFF_SUCCESS)' DIFF_FAILURE='$(DIFF_FAILURE)' DIFF_TROUBLE='$(DIFF_TROUBLE)' \
#	 ED='$(ED)' \
#	 LDFLAGS='$(LDFLAGS)' LDLIBS='$(LDLIBS)' \
#	 RCSPREFIX='$(RCSPREFIX)' \
#	 SENDMAIL='$(SENDMAIL)' \
#	 sh -x conf.sh >a.h 2>conf.error
#	 mv a.h $@@
#	 $(REMOVE) a.*
d218 2
a219 2
	rcsrev$o rcsutil$o rcsfnms$o partime$o maketime$o rcskeep$o \
	rcsfcmp$o $(OTHER_OBJECT)
d221 1
a221 1
	$(LINK) $(ci) $(LDLIBS) TO $@@
d224 1
a224 1
	rcsrev$o rcsutil$o rcsfnms$o partime$o maketime$o rcskeep$o $(OTHER_OBJECT)
d226 1
a226 1
	$(LINK) $(co) $(LDLIBS) TO $@@
d230 1
a230 1
	$(LINK) $(ident) $(LDLIBS) TO $@@
d233 2
a234 2
	rcsmap$o rcsrev$o rcssyn$o rcsutil$o \
	rcskeep$o rcskeys$o $(OTHER_OBJECT)
d236 1
a236 1
	$(LINK) $(merge) $(LDLIBS) TO $@@
d239 1
a239 1
	maketime$o rcsfnms$o rcskeep$o rcskeys$o $(OTHER_OBJECT)
d241 1
a241 1
	$(LINK) $(rlog) $(LDLIBS) TO $@@
d244 1
a244 1
	rcsmap$o rcsfnms$o rcskeep$o $(OTHER_OBJECT)
d246 1
a246 1
	$(LINK) $(rcs) $(LDLIBS) TO $@@
d249 1
a249 1
	rcslex$o rcsmap$o rcsrev$o rcssyn$o rcsutil$o rcskeep$o $(OTHER_OBJECT)
d251 1
a251 1
	$(LINK) $(rcsclean) $(LDLIBS) TO $@@
d254 1
a254 1
	maketime$o partime$o rcskeep$o rcskeys$o $(OTHER_OBJECT)
d256 1
a256 1
	$(LINK) $(rcsdiff) $(LDLIBS) TO $@@
d259 1
a259 1
	rcslex$o rcskeep$o rcskeys$o $(OTHER_OBJECT)
d261 1
a261 1
	$(LINK) $(rcsmerge) $(LDLIBS) TO $@@
d264 3
a266 3
	rcsclean.c rcsdiff.c rcsedit.c rcsfcmp.c rcsfnms.c rcsgen.c \
	rcskeep.c rcskeys.c rcslex.c rcsmap.c rcsmerge.c rcsrev.c rcssyn.c \
	rcsutil.c rlog.c
d268 3
a270 3
	rcsclean$o rcsdiff$o rcsedit$o rcsfcmp$o rcsfnms$o rcsgen$o \
	rcskeep$o rcskeys$o rcslex$o rcsmap$o rcsmerge$o rcsrev$o rcssyn$o \
	rcsutil$o rlog$o
d273 1
a273 1
	$(LINT) $(CC_D) -Dlint=1 $(SOURCE)
@


1.3
log
@rcsfreeze added to install:
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.2 1993/01/18 18:14:53 heinz Exp heinz $
d182 3
a184 1
	$(INSTALL) rcsfreeze $(DESTDIR)$(RCSDIR)
@


1.2
log
@conf.h will have th write and delete bit set, now.
@
text
@d1 1
a1 1
# $Id: smakefile,v 1.1 1993/01/18 13:17:23 heinz Exp heinz $
d182 1
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $Id: Makefile,v 5.16 1991/10/07 17:32:46 eggert Exp $
d212 1
@
