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


1.2
date	94.05.22.12.03.54;	author md;	state Exp;
branches;
next	1.1;

1.1
date	88.12.09.21.23.54;	author md;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Convert to 4.4 style obj Makefile
@
text
@#	@@(#)Makefile	5.9 (Berkeley) 6/8/90

LIB=	aed
SRCS=	_clear.c _command.c _console.c _copy.c _cursor.c _faults.c _font.c   \
	_force.c _image.c _init.c _log.c _movdrw.c _msg.c _nfont.c _qstuff.c \
	_read.c _run.c _scroll.c _set.c _setup.c _string.c _tile.c vi_copy.c
CFLAGS+=-DBUS
NOMAN=

.include <bsd.lib.mk>
@


1.1
log
@Initial revision
@
text
@d1 4
a4 9
#
# 5799-WZQ (C) COPYRIGHT IBM CORPORATION 1986
# LICENSED MATERIALS - PROPERTY OF IBM
# REFER TO COPYRIGHT INSTRUCTIONS FORM NUMBER G120-2083
#
#$Header:Makefile 12.0$
#$ACIS:Makefile 12.0$
#$Source: /ibm/acis/usr/src/usr.lib/libaed/RCS/Makefile,v $
WSRC = _clear.c _command.c _console.c _copy.c _cursor.c _faults.c _font.c   \
d7 2
d10 1
a10 38
WOBJ = _clear.o _command.o _console.o _copy.o _cursor.o _faults.o _font.o   \
	_force.o _image.o _init.o _log.o _movdrw.o _msg.o _nfont.o _qstuff.o \
	_read.o _run.o _scroll.o _set.o _setup.o _string.o _tile.o vi_copy.o

#DONE = @@echo $@@ complete

all: libaed.a libaed_p.a

$(WOBJ): whim.h whimdcl.h
	$(CC) -c -DBUS $*.c

libaed_p.a:
	@@echo profiling not enabled yet

libaed.a: $(WOBJ)
	ar rv libaed.a $?
	ranlib libaed.a
	$(DONE)

install: all
	install -m 644 -c libaed.a $(DESTDIR)/usr/lib/libaed.a
	ranlib $(DESTDIR)/usr/lib/libaed.a
#	install -m 644 -c  libaed_p.a $(DESTDIR)/usr/lib/libaed_p.a
#	ranlib $(DESTDIR)/usr/lib/libaed_p.a
	$(DONE)

clean:
	@@touch dummy.o libaed.a libaed_p.a
	@@rm *.o
	@@rm libaed.a libaed_p.a
	

	
aedrunner: aedrunner.o libaed.a
	$(CC) aedrunner.o libaed.a -o aedrunner

aedjournal: aedjournal.o libaed.a
	$(CC) aedjournal.o libaed.a -o aedjournal
@
