home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD1.img
/
d1xx
/
d109
/
uupc
/
source
/
makefile
< prev
next >
Wrap
Makefile
|
1987-10-28
|
2KB
|
93 lines
# Makefile for uu/dcp with Amiga Aztec C
#
# Jeff Lydiatt
# Last Modified: 02 October 1987
# Modeled after Stuart Lynne's for the Mac.
#
.c.o:
cc $(CFLAGS) $*.c
LFLAGS= -lc
CFLAGS=
AMILIB= local/getcwd.o local/chdir.o local/mkdir.o local/ndir.o\
local/genv.o
SIOLIB= local/sio.o local/Timer.o local/SerialIO.o local/sleep.o
OFILES= dcp.o dcpsys.o dcpxfer.o dcpgpkt.o rmail.o lib.o
all: Binary/uupc Binary/mail
echo uupc & mail done
#
# .o dependicies
#
dcp.o: dcp.c dcp.h local/host.h
dcpsys.o: dcpsys.c dcp.h local/host.h
dcpxfer.o: dcpxfer.c dcp.h local/host.h
dcpgpkt.o: dcpgpkt.c dcp.h local/host.h
lib.o: lib.c local/host.h
lmail.o: pcmail.c lmail.c local/host.h
mailhost.o: local/host.c local/host.h
mail.o: local/host.h
mlib.o: local/mlib.c local/host.h
ulib.o: local/ulib.c local/host.h
uuhost.o: local/host.c local/host.h
#
# mail
#
Binary/mail: lmail.o mailhost.o mail.o mlib.o lib.o Makefile
ln mailhost.o mail.o lmail.o mlib.o lib.o $(AMILIB) $(LFLAGS) \
-o Binary/mail
#
# uupc
#
Binary/uupc: uuhost.o $(OFILES) ulib.o $(AMILIB) $(SIOLIB) Makefile
ln uuhost.o $(OFILES) ulib.o $(AMILIB) $(SIOLIB) $(LFLAGS) \
-o Binary/uupc
#
# simple shar constructing
#
SDCP = README.Install README.DCP \
dcp.c dcp.h dcpgpkt.c dcpsys.c dcpxfer.c
SUU = README.UU Makefile.ami \
host.h ndir.h lib.c lmail.c mail.c mailhost.c mlib.c \
pcmail.c rmail.c ulib.c uuhost.c systems profile
SMAC = mac/README.MAC \
mac/host.c mac/host.h mac/mlib.c mac/ulib.c mac/profile
AMI = amiga/README.Amiga amiga/ReadME.install amiga/makefile\
amiga/genv.h amiga/host.h amiga/ndir.h \
amiga/SerialIO.c amiga/Timer.c amiga/chdir.c amiga/genv.c \
amiga/getcwd.c amiga/host.c amiga/mkdir.c \
amiga/mlib.c amiga/ndir.c amiga/sio.c amiga/sleep.c amiga/ulib.c
BINLIB= Binary/How_to_Use Binary/ReadME.1st Binary/Setup Binary/Systems.doc \
Binary/mail Binary/profile Binary/systems Binary/u Binary/uupc
#
# Note: Manx's makefile seems to have a bug that forbids indirection
# such as "shar >lib a.c b.c c.c"
# however "make >lib" seems to work fine if you edit out the
# commands make echos as it proceeds through the makefile.
#
# Try make >uulib/dcp shardcp for example.
#
#
shardcp:
shar $(SDCP)
sharuu:
shar $(SUU)
sharami:
shar $(AMI)
sharbin:
shar $(BINLIB)