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


3.0
date     85.10.09.08.53.51;  author nkm;  state Exp;
branches ;
next     2.0;

2.0
date     85.10.01.11.58.58;  author nkm;  state Exp;
branches ;
next     ;


desc
@@


3.0
log
@CadMac Port to AFWS Development Machine -- Release 3.0.
@
text
@# Master makefile for the CadMac software.

# "make" or "make all" will compile all tools, libraries, and utilities
# "make default" will compile the default library (libmac.a) and utilities
# "make clean" will remove all executables, *.o, and excess stuff
# "make depend" will rebuild makefiles
# "make install DESTPATH=path" will install the libraries and utilities
#	in ${DESTPATH}
# "make love" is equivalent to "make depend clean all"

SHELL =	/bin/sh
DIRS =	mytools maclib util

all:
	cd mytools;	make all
	cd maclib;	make all
	cd util;	make all

default:
	cd maclib;	make
	cd util;	make all

install:
	@@if test "${DESTPATH}" = ""; then \
	    echo error: no DESTPATH specified; \
	    exit 1; \
	fi
	if test ! -d ${DESTPATH}/usr; then \
	    mkdir ${DESTPATH}/usr; \
	fi
	cd maclib;	make install "DESTPATH=${DESTPATH}"
	cd util;	make install "DESTPATH=${DESTPATH}"
	cd data;	make install "DESTPATH=${DESTPATH}"

clean:
	rm `find . \( -name core -o -name a.out \) -print`
	for i in ${DIRS}; do \
	    cd $$i; \
	    make clean; \
	    cd ..; \
	done

depend:
	for i in ${DIRS}; do \
	    cd $$i; \
	    make depend; \
	    cd ..; \
	done

love:	depend clean all

@


2.0
log
@Initial 3.8 Release
@
text
@@
