# /usr/src/lib/libc/mac2/Makefile for MacMach

include /usr/src/COPYRIGHTS

DESTDIR=
DEFS=
SUBDIR=	csu sys
TAGSFILE=tags

all:	${SUBDIR}

${SUBDIR}: FRC
	cd $@; make ${MFLAGS} DEFS=${DEFS}

install: FRC
	cd csu; make ${MFLAGS} DESTDIR=${DESTDIR} install

clean:	FRC
	for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done

compress: clean
	find . -type f ! -name Makefile ! -name '*.Z' -exec compress {} \;

uncompress: FRC
	find . -type f ! -name Makefile -name '*.Z' -exec uncompress {} \;

tags:	FRC
	for i in ${SUBDIR}; do \
	  (cd $$i; make ${MFLAGS} TAGSFILE=../${TAGSFILE} tags); \
	done

FRC:
