head     1.18;
branch   ;
access   ;
symbols  ;
locks    ; strict;
comment  @# @;


1.18
date     92.06.26.11.39.33;  author gregm;  state Exp;
branches ;
next     1.17;

1.17
date     92.06.09.15.10.08;  author gregm;  state Exp;
branches ;
next     1.16;

1.16
date     92.06.08.10.17.41;  author kcd;  state Exp;
branches ;
next     1.15;

1.15
date     92.05.19.15.20.31;  author gregm;  state Exp;
branches ;
next     1.14;

1.14
date     92.05.06.13.46.42;  author kcd;  state Exp;
branches ;
next     1.13;

1.13
date     92.04.12.16.27.07;  author kcd;  state Exp;
branches ;
next     1.12;

1.12
date     92.03.18.17.22.11;  author kcd;  state Exp;
branches ;
next     1.11;

1.11
date     92.03.09.11.31.26;  author kcd;  state Exp;
branches ;
next     1.10;

1.10
date     92.03.04.17.01.58;  author gregm;  state Exp;
branches ;
next     1.9;

1.9
date     92.03.02.15.13.36;  author kcd;  state Exp;
branches ;
next     1.8;

1.8
date     92.02.27.22.32.17;  author kcd;  state Exp;
branches ;
next     1.7;

1.7
date     92.02.27.21.18.15;  author kcd;  state Exp;
branches ;
next     1.6;

1.6
date     92.02.27.21.10.30;  author kcd;  state Exp;
branches ;
next     1.5;

1.5
date     92.02.24.14.26.24;  author dlarson;  state Exp;
branches ;
next     1.4;

1.4
date     92.02.24.10.50.44;  author kcd;  state Exp;
branches ;
next     1.3;

1.3
date     92.02.20.14.06.53;  author gregm;  state Exp;
branches ;
next     1.2;

1.2
date     92.02.14.17.47.01;  author kcd;  state Exp;
branches ;
next     1.1;

1.1
date     92.02.13.10.14.50;  author gregm;  state Exp;
branches ;
next     ;


desc
@The makefile, of course!
@


1.18
log
@commented out the line that wrote the binary to the server
@
text
@# $Id: makefile,v 1.17 92/06/09 15:10:08 gregm Exp $
#
# nipc.library's makefile
# I've switched to Manx make because lmk sucks, and my copy of dmake is buggy.
# I also tried the bmake that Martin gave me, but tossed it because it had a weird
# requirement that command lines have to begin with a TAB character.  I [gregm]
# use DME, which expands tabs, so f*ck it.
#

COBJS = center_custom.o memory.o s2io.o arp.o ip_out.o route.o ip_in.o icmp.o timer.o rdp.o amp.o statistics.o udp.o resolver.o
AOBJS = nipcface.o callback.o checksum.o nipcproc.o iff.o math.o

all : nipc.library

nipcend.o : nipcend.asm
            casm -a $*.asm -cqy -iinc: -o$*.o

nipcface.o : nipc.library_rev.i nipcbase.i
center_custom.o : center_custom.c nipcinternal.h nipc.h nipcinternal_protos.h externs.h nipcbase.h
memory.o : memory.c nipcinternal.h nipc.h nipcinternal_protos.h externs.h nipcbase.h
s2io.o : s2io.c nipcinternal.h nipc.h nipcinternal_protos.h externs.h nipcbase.h
arp.o : arp.c nipcinternal.h nipc.h nipcinternal_protos.h externs.h nipcbase.h
ip_out.o : ip_out.c nipcinternal.h nipc.h nipcinternal_protos.h externs.h nipcbase.h
route.o : route.c nipcinternal.h nipc.h nipcinternal_protos.h externs.h nipcbase.h
ip_in.o : ip_in.c nipcinternal.h nipc.h nipcinternal_protos.h externs.h nipcbase.h
icmp.o : icmp.c nipcinternal.h nipc.h nipcinternal_protos.h externs.h nipcbase.h
timer.o : timer.c nipcinternal.h nipc.h nipcinternal_protos.h externs.h nipcbase.h
rdp.o : rdp.c nipcinternal.h nipc.h nipcinternal_protos.h externs.h nipcbase.h
amp.o : amp.c nipcinternal.h nipc.h nipcinternal_protos.h externs.h nipcbase.h
statistics.o : statistics.c nipcinternal.h nipc.h nipcinternal_protos.h externs.h nipcbase.h
monitor.o : monitor.c nipcinternal.h nipc.h nipcinternal_protos.h externs.h nipcbase.h
udp.o : udp.c nipcinternal.h nipc.h nipcinternal_protos.h externs.h nipcbase.h
resolver.o : resolver.c nipcinternal.h nipc.h nipcinternal_protos.h externs.h nipcbase.h
iff.o : iff.asm nipcbase.i
math.o : math.asm

fd/nipc_lib.fd: nipc_lib.sfd
        sfd nipc_lib.sfd
        copy FD/nipc_lib.fd nipc_lib.fd
        copy PROTOS/nipc_protos.h INCLUDE:clib
        copy PRAGMAS/nipc_pragmas.h INCLUDE:pragmas


$(COBJS)       :
                     lc -. -b0 -d1 -rr -mes -cfist -v -O $*.c


$(AOBJS)       :
                     casm -a $*.asm -cqy -iinc: -o$*.o

nipc.library   : $(COBJS) $(AOBJS) nipcend.o fd/nipc_lib.fd
                 blink $(AOBJS) $(COBJS) nipcend.o to nipc.library NODEBUG LIB lib:lcr.lib lib:small.lib lib:debug.lib
                 copy nipc.library libs:

#Note that because we don't have MakeMeta native, we need to hand generate our
#own stubs manually when something changes.

release: nipc.library fd/nipc_lib.fd
        copy FD/nipc_lib.fd envoy:fd NOPRO
        copy PROTOS/nipc_protos.h envoy:include/clib NOPRO
        copy PROTOS/nipc_protos.h ""
        copy PRAGMAS/nipc_pragmas.h envoy:include/pragmas NOPRO
        copy PRAGMAS/nipc_pragmas.h ""
        copy nipc.h envoy:include/envoy NOPRO
        copy nipc.h include:envoy NOPRO
        copy RAM envoy:src/stubs/ NOPRO all
#        copy nipc.library envoy:disk/envoy/libs/ NOPRO
        copy #?.c #?.asm #?.h #?.rev nipc.library makefile envoy:src/nipc NOPRO

clean:
        touch tmp
        delete $(COBJS) $(AOBJS) tmp libent.o libinit.o nipc.library
        touch tmp
        delete tmp fd lvo hdr protos pragmas ram rom all

bump:
         co -l nipc.library_rev.h
         co -l nipc.library_rev.i
         co -l nipc.library_rev.rev
         bumprev 37 nipc.library_rev
         ci -u -m"" nipc.library_rev.h
         ci -u -m"" nipc.library_rev.i
         ci -u -m"" nipc.library_rev.rev
         touch nipcface.asm
@


1.17
log
@references to 'appn' now 'envoy'.
@
text
@d1 1
a1 1
# $Id: makefile,v 1.16 92/06/08 10:17:41 kcd Exp $
d67 1
a67 1
        copy nipc.library envoy:disk/envoy/libs/ NOPRO
@


1.16
log
@Changes for new iff module and the removal of the monitor module.
@
text
@d1 1
a1 1
# $Id: makefile,v 1.14 92/05/06 13:46:42 kcd Exp $
d11 1
a11 1
AOBJS = nipcface.o callback.o checksum.o nipcproc.o iff.o
d35 1
d59 2
a60 2
        copy FD/nipc_lib.fd appn:fd NOPRO
        copy PROTOS/nipc_protos.h appn:include/clib NOPRO
d62 1
a62 1
        copy PRAGMAS/nipc_pragmas.h appn:include/pragmas NOPRO
d64 5
a68 5
        copy nipc.h appn:include/appn NOPRO
        copy nipc.h include:appn NOPRO
        copy RAM appn:src/stubs/ NOPRO all
        copy nipc.library appn:disk/envoy/libs/ NOPRO
        copy #?.c #?.asm #?.h #?.rev nipc.library makefile appn:src/nipc NOPRO
@


1.15
log
@converted the makefile to use 'envoy' instead of appn
@
text
@d10 2
a11 2
COBJS = center_custom.o memory.o s2io.o arp.o ip_out.o route.o ip_in.o icmp.o timer.o rdp.o amp.o statistics.o monitor.o udp.o resolver.o iff.o
AOBJS = nipcface.o callback.o checksum.o nipcproc.o
d34 1
a34 1
iff.o : iff.c nipcinternal.h nipc.h nipcinternal_protos.h externs.h nipcbase.h
a44 1
                     omd $*.o $*.c >$*.d
d58 2
a59 2
        copy FD/nipc_lib.fd envoy:fd NOPRO
        copy PROTOS/nipc_protos.h envoy:include/clib NOPRO
d61 1
a61 1
        copy PRAGMAS/nipc_pragmas.h envoy:include/pragmas NOPRO
d63 5
a67 5
        copy nipc.h envoy:include/envoy NOPRO
        copy nipc.h include:envoy NOPRO
        copy RAM envoy:src/stubs/ NOPRO all
        copy nipc.library envoy:disk/envoy/libs/ NOPRO
        copy #?.c #?.asm #?.h #?.rev nipc.library makefile envoy:src/nipc NOPRO
a83 1

@


1.14
log
@Added IFF module.
@
text
@d1 1
a1 1
# $Id: makefile,v 1.13 92/04/12 16:27:07 kcd Exp $
d59 2
a60 2
        copy FD/nipc_lib.fd appn:fd NOPRO
        copy PROTOS/nipc_protos.h appn:include/clib NOPRO
d62 1
a62 1
        copy PRAGMAS/nipc_pragmas.h appn:include/pragmas NOPRO
d64 5
a68 5
        copy nipc.h appn:include/appn NOPRO
        copy nipc.h include:appn NOPRO
        copy RAM appn:src/stubs/ NOPRO all
        copy nipc.library appn:disk/envoy/libs/ NOPRO
        copy #?.c #?.asm #?.h #?.rev nipc.library makefile appn:src/nipc NOPRO
d85 1
@


1.13
log
@Removed lc.lib and dns.o. Also added nipcbase.h dependancy.
@
text
@d1 1
a1 1
# $Id: makefile,v 1.10 92/03/04 17:01:58 gregm Exp $
d10 1
a10 1
COBJS = center_custom.o memory.o s2io.o arp.o ip_out.o route.o ip_in.o icmp.o timer.o rdp.o amp.o statistics.o monitor.o udp.o resolver.o
d34 1
d67 1
a67 1
        copy nipc.library appn:bin/libs/ NOPRO
d80 1
a80 1
         bumprev 1 nipc.library_rev
@


1.12
log
@Now also copies nipc_lib.asm (LVO Defs) to appn:src/stubs/nipc
@
text
@d1 1
a1 1
# $Id: makefile,v 1.11 92/03/09 11:31:26 kcd Exp Locker: kcd $
d10 2
a11 2
COBJS = center_custom.o memory.o s2io.o arp.o ip_out.o route.o ip_in.o icmp.o timer.o rdp.o amp.o statistics.o monitor.o udp.o resolver.o globals.o
AOBJS = callback.o checksum.o endtag.o nipcproc.o dns.o
d15 2
a16 17
globals.o : globals.c nipcinternal.h nipc.h nipcinternal_protos.h
center_custom.o : center_custom.c nipcinternal.h nipc.h nipcinternal_protos.h
memory.o : memory.c nipcinternal.h nipc.h nipcinternal_protos.h
s2io.o : s2io.c nipcinternal.h nipc.h nipcinternal_protos.h
arp.o : arp.c nipcinternal.h nipc.h nipcinternal_protos.h
ip_out.o : ip_out.c nipcinternal.h nipc.h nipcinternal_protos.h
route.o : route.c nipcinternal.h nipc.h nipcinternal_protos.h
ip_in.o : ip_in.c nipcinternal.h nipc.h nipcinternal_protos.h
icmp.o : icmp.c nipcinternal.h nipc.h nipcinternal_protos.h
timer.o : timer.c nipcinternal.h nipc.h nipcinternal_protos.h
rdp.o : rdp.c nipcinternal.h nipc.h nipcinternal_protos.h
amp.o : amp.c nipcinternal.h nipc.h nipcinternal_protos.h
statistics.o : statistics.c nipcinternal.h nipc.h nipcinternal_protos.h
monitor.o : monitor.c nipcinternal.h nipc.h nipcinternal_protos.h
udp.o : udp.c nipcinternal.h nipc.h nipcinternal_protos.h
resolver.o : resolver.c nipcinternal.h nipc.h nipcinternal_protos.h
dns.o : dns.asm dns.i
d18 17
d42 3
a44 2
libinit.o      :     libinit.c nipc.library_rev.h
                     lc -. -d0 -rr -ml -cfist -v -O -ms libinit.c
a45 5
libent.o       :     libent.asm nipc.library_rev.i
                     genim2 libent.asm -b -l -iinc: -olibent.o

$(COBJS)       :
                     lc -. -d0 -rr -ml -cfist -ms -v -O $*.c
d50 2
a51 2
nipc.library   : $(COBJS) $(AOBJS) endtag.o libinit.o libent.o fd/nipc_lib.fd
                 blink with b.in from libent.o libinit.o $(AOBJS) $(COBJS) to nipc.library lib lib:lcr.lib lib:lc.lib lib:small.lib endtag.o XREF ram:nipc.xref ND SD SC BATCH VERBOSE MAP ram:nipc.map S X F H
a65 1
        copy LVO appn:src/stubs/nipc NOPRO all
d83 1
@


1.11
log
@Added DNS support.

@
text
@d1 1
a1 1
# $Id: makefile,v 1.10 92/03/04 17:01:58 gregm Exp $
d68 1
@


1.10
log
@Moved globals to globals.c; externs for these in externs.h.
@
text
@d1 1
a1 1
# $Id: makefile,v 1.9 92/03/02 15:13:36 kcd Exp Locker: gregm $
d11 1
a11 1
AOBJS = callback.o checksum.o endtag.o nipcproc.o
d31 1
d53 1
a53 1
                 blink with b.in from libent.o libinit.o $(AOBJS) $(COBJS) to nipc.library lib lib:lcr.lib lib:lc.lib lib:small.lib lib:debug.lib endtag.o XREF ram:nipc.xref ND SD SC BATCH VERBOSE MAP ram:nipc.map S X F H
@


1.9
log
@
Added resolver module.
@
text
@d1 1
a1 1
# $Id: makefile,v 1.8 92/02/27 22:32:17 kcd Exp Locker: kcd $
d10 1
a10 1
COBJS = center_custom.o memory.o s2io.o arp.o ip_out.o route.o ip_in.o icmp.o timer.o rdp.o amp.o statistics.o monitor.o udp.o resolver.o
d15 1
@


1.8
log
@Fixed problem with "bump" target.  "release" now copies the source to 
appn:src/nipc.
@
text
@d1 1
a1 1
# $Id: makefile,v 1.7 92/02/27 21:18:15 kcd Exp Locker: kcd $
d10 1
a10 1
COBJS = center_custom.o memory.o s2io.o arp.o ip_out.o route.o ip_in.o icmp.o timer.o rdp.o amp.o statistics.o monitor.o udp.o
d29 1
@


1.7
log
@Oops.  Still had old dependencies on nipc.library.h and nipc.librari.i
@
text
@d1 1
a1 1
# $Id: makefile,v 1.6 92/02/27 21:10:30 kcd Exp $
d15 14
a28 14
center_custom.o : center_custom.c nipcinternal.h include:appn/nipc.h nipcinternal_protos.h
memory.o : memory.c nipcinternal.h include:appn/nipc.h nipcinternal_protos.h
s2io.o : s2io.c nipcinternal.h include:appn/nipc.h nipcinternal_protos.h
arp.o : arp.c nipcinternal.h include:appn/nipc.h nipcinternal_protos.h
ip_out.o : ip_out.c nipcinternal.h include:appn/nipc.h nipcinternal_protos.h
route.o : route.c nipcinternal.h include:appn/nipc.h nipcinternal_protos.h
ip_in.o : ip_in.c nipcinternal.h include:appn/nipc.h nipcinternal_protos.h
icmp.o : icmp.c nipcinternal.h include:appn/nipc.h nipcinternal_protos.h
timer.o : timer.c nipcinternal.h include:appn/nipc.h nipcinternal_protos.h
rdp.o : rdp.c nipcinternal.h include:appn/nipc.h nipcinternal_protos.h
amp.o : amp.c nipcinternal.h include:appn/nipc.h nipcinternal_protos.h
statistics.o : statistics.c nipcinternal.h include:appn/nipc.h nipcinternal_protos.h
monitor.o : monitor.c nipcinternal.h include:appn/nipc.h nipcinternal_protos.h
udp.o : udp.c nipcinternal.h include:appn/nipc.h nipcinternal_protos.h
d63 1
a63 1
        copy nipc.h include:appn
d66 1
d77 1
d81 1
a81 1

@


1.6
log
@Minor changes.  Now uses the cape assembler.
@
text
@d1 1
a1 1
# $Id: makefile,v 1.5 92/02/24 14:26:24 dlarson Exp Locker: kcd $
d37 1
a37 1
libinit.o      :     libinit.c nipc.library.h
d40 1
a40 1
libent.o       :     libent.asm nipc.library.i
@


1.5
log
@Added make sfd, clean, release.  Modified make bump.
@
text
@d1 1
a1 1
# $Id$
d10 1
a10 1
COBJS = center_custom.o memory.o s2io.o arp.o ip_out.o route.o ip_in.o icmp.o timer.o rdp.o amp.o statistics.o monitor.o
d13 1
a13 1
all : nipc.library nipc_pragmas.h nipc_pragma.h
d15 20
a34 17
center_custom.o : center_custom.c s2io.h memory.h ip.h rdp.h monitor.h
memory.o : memory.c memory.h
s2io.o : s2io.c s2io.h memory.h ip.h route.h exchange.h monitor.h
arp.o : arp.c s2io.h memory.h route.h monitor.h
ip_out.o : ip_out.c ip.h memory.h route.h monitor.h
route.o : route.c route.h s2io.h
ip_in.o : ip_in.c ip.h memory.h s2io.h route.h monitor.h
icmp.o : icmp.c icmp.h ip.h memory.h route.h
timer.o : timer.c
rdp.o : rdp.c rdp.h s2io.h memory.h ip.h monitor.h
amp.o : amp.c rdp.h amp.h memory.h s2io.h nipc.h
statistics.o : statistics.c statistics.h
monitor.o : monitor.c monitor.h


nipc_pragmas.h :     nipc.fd
#                     fd2pragma nipc.fd nipc_pragmas.h
a35 2
nipc_pragma.h  :     nipc.fd
#                     fd2pragma nipc.fd nipc_pragma.h
d38 1
a38 1
                     lc -ml -cist -v -O libinit.c
d44 1
a44 1
                     lc -d0 -ml -cist -v -O $*.c
d47 1
a47 1
                     genim2 $*.asm -b -l -iinc: -o$*.o
d49 2
a50 2
nipc.library   : $(COBJS) $(AOBJS) endtag.o libinit.o libent.o
                 blink with b.in from libent.o libinit.o $(AOBJS) $(COBJS) to nipc.library lib lib:lcr.lib lib:lc.lib lib:amiga.lib lib:debug.lib endtag.o XREF ram:nipc.xref ND SD SC BATCH VERBOSE MAP ram:nipc.map S X F H
a52 4
#make protos, pragmas, stubs, fd, etc.
sfd:
	v:aug/bin/sfd nipc_lib.sfd

d56 11
a66 9
release: nipc.library sfd
	copy FD/nipc_lib.fd appn:fd
	copy PROTOS/nipc_protos.h appn:include/clib
	copy PROTOS/nipc_protos.h ""
	copy PRAGMAS/nipc_pragmas.h appn:include/pragmas
	copy PRAGMAS/nipc_pragmas.h ""
	copy RAM appn:src/stubs/
	copy nipc.library appn:bin/libs/
	echo "Please post a release note to amiga.release"
d68 4
a71 1
	delete $(COBJS) $(DOBJS) nipc.library FD LVO HDR PROTOS PRAGMAS RAM ROM all
a72 3
#all you need to keep under RCS is the nipc.library_rev.rev, everything else
#is generated automatically
#(BTW, the _rev is the standard naming convention around here)
d74 5
a78 5
         co -l nipc.library.rev
         bumprev 1 nipc.library
         ci -u -m"" nipc.library.rev


@


1.4
log
@Added monitor dependancies.
@
text
@d1 1
d6 2
a7 2
# requirement that command lines have to begin with a TAB character.  I use DME, which
# expands tabs, so f*ck it.
d29 1
d52 22
a75 2
         co -l nipc.library.h
         co -l nipc.library.i
a77 2
         ci -u -m"" nipc.library.i
         ci -u -m"" nipc.library.h
@


1.3
log
@added .h and .i file dependancies
@
text
@d9 1
a9 1
COBJS = center_custom.o memory.o s2io.o arp.o ip_out.o route.o ip_in.o icmp.o timer.o rdp.o amp.o statistics.o
d14 1
a14 1
center_custom.o : center_custom.c s2io.h memory.h ip.h rdp.h
d16 3
a18 3
s2io.o : s2io.c s2io.h memory.h ip.h route.h exchange.h
arp.o : arp.c s2io.h memory.h route.h
ip_out.o : ip_out.c ip.h memory.h route.h
d20 1
a20 1
ip_in.o : ip_in.c ip.h memory.h s2io.h route.h
d23 1
a23 1
rdp.o : rdp.c rdp.h s2io.h memory.h ip.h
d26 1
a27 1

d41 1
a41 1
                     lc -d5 -ml -cist -v -O $*.c
@


1.2
log
@Added #pragma file generation.
@
text
@d14 14
d29 1
a29 1
                     fd2pragma nipc.fd nipc_pragmas.h
d32 1
a32 1
                     fd2pragma nipc.fd nipc_pragma.h
d34 1
a34 1
libinit.o      :     libinit.c
d37 1
a37 1
libent.o       :     libent.asm
d51 3
d55 5
@


1.1
log
@Initial revision
@
text
@d12 7
a18 1
all : nipc.library
@
