File: Makefile

package info (click to toggle)
ibcs 981105-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,804 kB
  • ctags: 4,033
  • sloc: ansic: 27,727; makefile: 482; sh: 199; perl: 18; pascal: 2
file content (47 lines) | stat: -rw-r--r-- 959 bytes parent folder | download | duplicates (2)
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
#
# Makefile for the iBCS emulator files
#
# $Id: Makefile,v 1.43 1997/03/07 21:08:29 jaggy Exp $
# $Source: /u/CVS/ibcs/Makefile,v $
#

######## You should not need to change anything in this file ########

CONFIG = CONFIG
include $(CONFIG)

SUBDIRS=	iBCSemul Tools

ifeq ($(EMU_X286),yes)
SUBDIRS	:= $(SUBDIRS) x286emul
endif


all:	$(CONFIG)
	set -e; for i in $(SUBDIRS); do \
	  test ! -d $$i || \
	    { $(MAKE) -C $$i; }; done

install: $(CONFIG) devices
	set -e; for i in $(SUBDIRS); do \
	  test ! -d $$i || \
	    { $(MAKE) -C $$i install; }; done

devices:
	cp MAKEDEV.ibcs /dev/MAKEDEV.ibcs
	cd /dev; ./MAKEDEV.ibcs

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