1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
#
# Makefile for the iBCS emulator files
#
# $Id: Makefile,v 1.43 1997/03/07 21:08:29 jaggy Exp $
# $Source: /usr/CVS/ibcs/Makefile,v $
#
######## You should not need to change anything in this file ########
srcdir=.
VPATH=$(srcdir)
CONFIG=CONFIG
include $(srcdir)/$(CONFIG)
SUBDIRS= iBCSemul Tools
ifeq ($(EMU_X286),yes)
SUBDIRS := $(SUBDIRS) x286emul
endif
all: $(CONFIG)
set -e; for i in $(SUBDIRS); do \
test ! -d $(srcdir)/$$i || \
{ $(MAKE) -C $$i; }; done
install: $(CONFIG) # devices
set -e; for i in $(SUBDIRS); do \
test ! -d $$i || \
{ $(MAKE) -C $$i install DEST=$(DEST); }; done
devices:
cp MAKEDEV.ibcs $(DEST)/dev/MAKEDEV.ibcs
cd $(DEST)/dev; sh ../../MAKEDEV.debian
clean: $(CONFIG)
set -e; for i in $(SUBDIRS); do \
test ! -d $$i || \
{ $(MAKE) -C $$i clean; }; done
dep: $(CONFIG)
set -e; for i in $(SUBDIRS); do \
test ! -d $$i || \
{ $(MAKE) -C $$i dep; }; done
CONFIG:
@echo "Copy or link one of CONFIG.i386, CONFIG.sparc to CONFIG first"
@echo "Then EDIT IT!"
@exit 1
|