home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
archives
/
ckc190.tar.gz
/
ckc190.tar
/
ck9ker.gcc
< prev
next >
Wrap
Text File
|
1993-06-30
|
5KB
|
151 lines
# CK9KER.MAK, version 1, 07/25/91 Christian Hemsing
# version 2, 10/01/92 Christian Hemsing, added MYCURSES
# based on ckuker.mak
#
# -- Makefile to build C-Kermit for os9/68k with gcc compiler
#
# Before proceeding, read the instructions below, and also do read the file
# ck9ker.bwr (the "beware file"), and then rename this file to "makefile"
# or "Makefile", and then:
#
# for os9/68k: make
#
# or don't rename it and type: make -f=ck9ker.gcc
#
#
#############################################################################
#
# Notes:
#
# You should remove the -T/r0 option if you don't have a
# ramdisk named /r0.
#
# Change ODIR to where you want the executable (give a full path).
# Change RDIR to where you want the rels (can be a relative path).
#
ODIR= /r1/gccexe
RDIR = ./gccrels
#
# Edit the PROGRAM macro to the name you want kermit to have
#
# If Kermit is to large for your machine you can add some
# defines to make it smaller.
# -DNODEBUG don't include debugging information
# -DNOHELP no on-line help
# -DNOTLOG no transaction logging
# -DNOSCRIPT no UUCP-style script command
# -DNOCSETS no character set translation
# -DNOMSEND no msend command
# -DNOICP no interactive command parser
# -DNODIAL no modem support
# -DNOXMIT no tranmit command
# -DNOSPL no script programming language
#
# If you have problems changing the line speed do read ck9ker.bwr and
# add -DXMODE option to the CPPFLAGS if neccessary and wanted
# (see ck9ker.bwr)
# for futher information see ckuins.doc (installation manual)
###########################################################################
#
# Compile and Link variables:
#
CC = gcc
#minimum size:
#CPPFLAG = -DVOID=void -DSIG_V -DDYNAMIC -DNODEBUG \
# -DNOHELP -DNOTLOG -DNOSCRIPT -DNOCSETS -DNOMSEND -DNODIAL -DNOICP
#maximum size:
CPPFLAG = -DSIG_V -DDYNAMIC -DPARSENSE -DKANJI -DMYCURSES
SDIR = .
PROGRAM= wermit
GCCLFLAGS= -cio
GCCFLAGS = -O -T/r0 -o68
COMPILE = gcc -DOSK -W -c -ansi $(CPPFLAG) $(GCCFLAGS)
#
###########################################################################
#
# Dependencies Section:
#
RFILES = ckcmai.r ckucmd.r ckuusr.r ckuus2.r ckuus3.r ckuus4.r ckuus5.r \
ckuus6.r ckuus7.r ckuusx.r ckuusy.r ckcpro.r ckcfns.r ckcfn2.r ckcfn3.r \
ckuxla.r ck9con.r ck9tio.r ck9fio.r ck9asm.r ckudia.r ckuscr.r
$(PROGRAM): $(RFILES)
chd $(RDIR);$(CC) $(GCCLFLAGS) -o $(ODIR)/$@ $(RFILES)
ckcmai.r: ckcmai.c ckcker.h ckcdeb.h ckcsym.h ckcasc.h ckcnet.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckcpro.r: ckcpro.c ckcker.h ckcdeb.h ckcasc.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckcpro.c: ckcpro.w wart ckcdeb.h ckcasc.h ckcker.h
$(ODIR)/wart ckcpro.w ckcpro.c
wart: ckwart.r
chd $(RDIR);$(CC) $(GCCLFLAGS) -o $(ODIR)/$@ ckwart.r
ckwart.r: ckwart.c
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckcfns.r: ckcfns.c ckcker.h ckcdeb.h ckcsym.h ckcasc.h ckcxla.h ckuxla.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckcfn2.r: ckcfn2.c ckcker.h ckcdeb.h ckcsym.h ckcasc.h ckcxla.h ckuxla.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckcfn3.r: ckcfn3.c ckcker.h ckcdeb.h ckcsym.h ckcasc.h ckcxla.h ckuxla.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckuxla.r: ckuxla.c ckcker.h ckcdeb.h ckcxla.h ckuxla.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckuusr.r: ckuusr.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcxla.h ckuxla.h \
ckcasc.h ckcnet.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckuus2.r: ckuus2.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcxla.h ckuxla.h \
ckcasc.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckuus3.r: ckuus3.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcxla.h ckuxla.h \
ckcasc.h ckcnet.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckuus4.r: ckuus4.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcxla.h ckuxla.h \
ckcasc.h ckcnet.h ckuver.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckuus5.r: ckuus5.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcasc.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckuus6.r: ckuus6.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcasc.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckuus7.r: ckuus7.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h ckcxla.h ckuxla.h \
ckcasc.h ckcnet.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckuusx.r: ckuusx.c ckcker.h ckuusr.h ckcdeb.h ckcasc.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckuusy.r: ckuusy.c ckcker.h ckcdeb.h ckcasc.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckucmd.r: ckucmd.c ckcasc.h ckucmd.h ckcdeb.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ck9fio.r: ck9fio.c ckcker.h ckcdeb.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ck9tio.r: ck9tio.c ckcdeb.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ck9con.r: ck9con.c ckcker.h ckcdeb.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckudia.r: ckudia.c ckcker.h ckcdeb.h ckucmd.h ckcasc.h
$(COMPILE) $*.c -o $(RDIR)/$*.r
ckuscr.r: ckuscr.c ckcker.h ckcdeb.h ckcasc.h
$(COMPILE) $*.c -o $(RDIR)/$*.r