# Makefile for lib.

# Note: This is not the master Makefile of the lib directory.  It is called
# from lib/$(CC)/mach/minix.$(ARCH)/Makefile that knows all about what is
# needed for the given compiler and architecture.

CC	= false
ARCH	= eniac
MAKE	= exec make -$(MAKEFLAGS) CC=$(CC) ARCH=$(ARCH)

all:
	cd mach/minix.$(ARCH) && $(MAKE)
	cd mach/$(ARCH) && $(MAKE)
	cd ip && $(MAKE)
	cd misc && $(MAKE)
	cd os/minix && $(MAKE)
	cd ieee_float && $(MAKE)
	cd libm && $(MAKE)
	cd libnbio && $(MAKE)
	cd libasyn && $(MAKE)
	cd curses && $(MAKE)
	cd editline && $(MAKE)
	cd dummy && $(MAKE)

soft:
	cd misc && $(MAKE) $@
	cd ieee_float && $(MAKE) $@
	cd libm && $(MAKE) $@

# Gather the few files needed for the i386 bootstrap (8086 code).
bootstrap:
	cd mach/$(ARCH) && $(MAKE)
	cd misc && $(MAKE) bootstrap
	cd os/minix/errno && $(MAKE) bootstrap
	cd os/minix/other && $(MAKE) bootstrap

#
# $PchId: Makefile,v 1.3 1996/02/23 08:34:23 philip Exp $
