head     1.4;
branch   ;
access   ;
symbols  ;
locks    dlarson:1.4; strict;
comment  @# @;


1.4
date     92.06.24.13.30.49;  author dlarson;  state Exp;
branches ;
next     1.3;

1.3
date     92.04.09.11.59.01;  author dlarson;  state Exp;
branches ;
next     1.2;

1.2
date     92.04.06.11.45.45;  author dlarson;  state Exp;
branches ;
next     1.1;

1.1
date     92.04.03.10.15.05;  author dlarson;  state Exp;
branches ;
next     ;


desc
@@


1.4
log
@y
@
text
@# ! "ci -l" #?.c authlib_internal.h #?.asm lmkfile #?.sfd authentication.library_rev.rev

INCLUDES = -iv:include -ienvoy:include

SRCS = libent.asm libinit.c custom.c authentication.c docmd.c dolist.c stubs.c
OBJS = libent.o   libinit.o custom.o authentication.o docmd.o dolist.o stubs.o
PRAG = envoy:include/pragmas/authentication_pragmas.h
PROT = envoy:include/clib/authentication_protos.h
FD   = envoy:fd/authentication_lib.fd
HEADERS = authlib_internal.h
DEBUG	= -d0

all: authentication.library test test2

authentication.library : $(FD) $(OBJS) $(HEADERS)
    @@blink with <<
    FROM $(OBJS)
    LIB lib:debug.lib lib:lcr.lib lib:small.lib
    LIBFD $(FD)
    SMALLCODE
    SMALLDATA
    VERBOSE
    ADDSYM
    BATCH
    TO $@@
    MAP authentication.library.map HSFLX
    SWIDTH 20 PLAIN
<
###    LIBPREFIX @@auth_

test: test.c
	lc -v -O -cfsuq $(INCLUDES) $*.c
	blink FROM lib:c.o $@@.o TO $@@ LIB lib:lc.lib
test2: test2.c
	lc -v -O -cfsuq $(INCLUDES) $*.c
	blink FROM lib:c.o $@@.o TO $@@ LIB lib:lc.lib lib:amiga.lib lib:debug.lib
doc:
	v:aug/bin/autodoc $(SRCS) >envoy:doc/authentication.doc
bump:
	bumprev 1 authentication.library_rev
clean:
	delete $(OBJS) authentication.library.map authentication.library test test.o FD LVO HDR PROTOS PRAGMAS RAM ROM all
release: authentication.library $(FD)
        copy authentication.library envoy:bin/libs/ CLONE NOPRO
        copy $(SRCS) $(HEADERS) envoy:src/authentication/libs CLONE NOPRO
        copy test.c authentication.library_rev.rev authentication.library lmkfile envoy:src/authentication/libs CLONE NOPRO
	copy /auth_internal.h envoy:src/authentication
libent.o: libent.asm authentication.library_rev.i
	casm -A libent.asm -Cqvy -Iv:include -Olibent.o
# No stack checking	(-v)
# Global Optimizer	(-O)
# registerized parameters 	(-rr)
# prototypes, single string constants, char is unsigned, structure equiv (-cfsuq)
# don't touch a6, optimize for space rather than time (-mls)
.c.o:
	lc $(INCLUDES)  $(DEBUG) -rr -O -v -cfsuq $*
$(FD): authentication_lib.sfd
	sfd authentication_lib.sfd
	copy FD envoy:fd
	copy protos envoy:include/clib
	copy pragmas envoy:include/pragmas
@


1.3
log
@y
@
text
@@


1.2
log
@y
@
text
@d5 2
a6 2
SRCS = libent.asm libinit.c custom.c authentication.c docmd.c stubs.c
OBJS = libent.o   libinit.o custom.o authentication.o docmd.o stubs.o
d13 1
a13 1
all: authentication.library test
d34 3
@


1.1
log
@Initial revision
@
text
@d40 5
a44 10
release:
	copy authentication.library envoy:bin/libs/authentication.library clone

#release: authentication.library $(FD)
#        copy FD/authentication_lib.fd envoy:fd CLONE NOPRO
#        copy PROTOS/authentication_protos.h envoy:include/clib CLONE NOPRO
#        copy PRAGMAS/authentication_pragmas.h envoy:include/pragmas CLONE NOPRO
#        copy authentication.library envoy:bin/libs/ CLONE NOPRO
#        copy #?.c #?.asm #?.h #?.rev nipc.library lmkfile envoy:src/authentication/libs CLONE NOPRO

@
