head     1.3;
access   ;
symbols  ;
locks    bin:1.3;
comment  @@;


1.3
date     91.05.29.15.08.28;  author bin;  state Exp;
branches ;
next	1.2;

1.2
date     91.05.29.15.03.51;  author bin;  state Exp;
branches ;
next	1.1;

1.1
date     91.05.15.14.44.17;  author bin;  state Exp;
branches ;
next	;


desc
@initial version provided by stevesf 
@


1.3
log
@new makefile by stevesf and mods by bob h (added permissions and destdir)
@
text
@# ld/Makefile 5/14/91
# i8086 loader Makefile.

# Set BREADBOX to maximum size for in-memory load (e.g. 16384).
BREADBOX=16384

CFLAGS=-O -DBREADBOX=$(BREADBOX)
LFLAGS=-i -s

DESTDIR=/interim/bin/

OBJ=	main.o\
	data.o\
	message.o\
	pass1.o\
	pass2.o

# Primary target.
ld:	$(OBJ)
	$(CC) $(LFLAGS) -o $(DESTDIR)$@@ $<
	su root chmog 511 bin bin $(DESTDIR)$@@

# Unlinked objects.
main.o:		main.c data.h
data.o:		data.c 	data.h
message.o:	message.c data.h
pass1.o:	pass1.c	data.h
pass2.o:	pass2.c	data.h

# Etc.
clean:
	rm *.o

# end of ld/Makefile
@


1.2
log
@modified by bob h for use on srcbox
@
text
@d2 1
a2 6
# This is a makefile that creates the loader for the i8086 machine .
#					Angus Telfer (June 11, 1985)
#
# $Log:	/newbits/bin/ld/RCS/Makefile,v $
#Revision 1.1	91/05/15  09:44:17 	bin
#Initial revision
d4 2
a5 3
# Revision 1.1	89/07/21  15:52:06 	src
# Initial revision
# 
a6 4
# set this to maximum size for in memory load (e.g. 16384)
BREADBOX=16384

DESTDIR=/interim/bin/
d10 2
a32 2
install:	ld
	cp -d ld /bin/ld
@


1.1
log
@Initial revision
@
text
@d5 4
a8 1
# $Log:	/usr/src/cmd/ld/RCS/Makefile,v $
d16 1
d28 2
a29 1
	$(CC) $(LFLAGS) -o $@@ $<
@
