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


1.2
date     91.02.19.04.01.27;  author jesup;  state Exp;
branches ;
next     1.1;

1.1
date     91.01.10.16.29.57;  author jesup;  state Exp;
branches ;
next     ;


desc
@V37, remove refs to inc:
@


1.2
log
@added doc, release
@
text
@
##########################################################################
#
# $Id: lmkfile,v 1.1 91/01/10 16:29:57 jesup Exp Locker: jesup $
#
# $Locker: jesup $
#
# $Log:	lmkfile,v $
# Revision 1.1  91/01/10  16:29:57  jesup
# Initial revision
# 
# Revision 36.7  90/07/13  15:01:28  jesup
# id
# 
# Revision 36.6  89/09/06  20:48:53  bryce
# *** empty log message ***
# 
# Revision 36.5  89/04/12  15:37:12  jesup
# removed disk_rev.{i,h}
# so makeinternal will work
# 
# Revision 36.4  89/03/08  20:23:38  jesup
# Changed V$(VERSION) to V36, otherwise it couldn't find makemeta
# 
# Revision 36.3  89/02/17  23:03:25  jesup
# removed endcode.asm
# 
# Revision 36.2  88/09/19  15:23:54  neil
# added our favorite: SRCDIRPATH
# 
# Revision 36.1  88/08/19  10:24:48  dale
# added $(VERSION) to allow multiple versions to work
# 
# Revision 32.1  86/01/03  23:03:25  neil
# include file path name made generic
# 
##########################################################################


#
# the name of the subsystem to make
#

SUBSYSNAME=	disk
SRCDIR=		disk
SRCDIRPATH=	kickstart

#
# the include and link lines to use
#
# AFLAGS=	-l $*.lis
# LFLAGS=	map=$*.lmap
AFLAGS = -iinclude: -cqry

MAKEFILE=lmkfile

OBJ=
ASM=	casm

#
# make depend and make print uses the next lines.
# They must be maintained by hand.
# I sugest something like vi's "!!ls *.asm" to generate the lines.
#
AFILES= abs.asm resource.asm

CFILES=

EXTERNIFILES=	disk.i
IFILES=		asmsupp.i messages.i ${EXTERNIFILES}

EXTERNHFILES=	disk.h
HFILES=		${EXTERNHFILES}

SUBSYSGROUP=	resources

LFILES=		$(LIBDIR)/amiga.lib


#
# OFILES are the list of files that are linked in
#
FIRSTO= abs.o
OFILES= resource.o


#
# The main dependency line: everything else follows from this
#
all: ${SUBSYSNAME}.ld.strip

$(SUBSYSNAME).ld.strip: $(SUBSYSNAME).ld
	blink from $(SUBSYSNAME).ld to $(SUBSYSNAME).ld.strip ND

$(SUBSYSNAME).ld: $(FIRSTO) $(OFILES)
	blink with $(SUBSYSNAME).with SC SD map $(SUBSYSNAME).map HLSFX plain \
		verbose addsym to $(SUBSYSNAME).ld
.asm.o:
	$(ASM) -a $*.asm -o$(OBJ)$*.o $(AFLAGS)

abs.o: abs.asm disk_rev.i $(IFILES)

resource.o: resource.asm $(IFILES)

#

doc:	$(AFILES) $(CFILES)
	autodoc >$(SUBSYSNAME).doc -I -a -C -c -FRAM:adoctemp $(CFILES) $(AFILES)
	
bumprev:
	bumprev 37 $(SUBSYSNAME)_rev

release:
	lmk
	copy $(SUBSYSNAME).ld\#? $(SUBSYSNAME).map $(SUBSYSNAME)_rev\#? ks:$(SUBSYSNAME)
	rsh rebma -l jesup "cd /usr/commodore/amiga/V/src/kickstart/$(SUBSYSNAME); co RCS/*"

backup:
	rsh rebma -l jesup chmod u+w $(SUBSYSNAME)/*
	copy "" sun:$(SUBSYSNAME)

localbackup:
	copy "" tmp:$(SUBSYSNAME)

vaxbackup:
	copy "" vax:$(SUBSYSNAME)
@


1.1
log
@Initial revision
@
text
@d4 1
a4 1
# $Id: $
d6 1
a6 1
# $Locker:  $
d8 4
a11 1
# $Log:	Makefile,v $
d107 3
d112 5
@
