summaryrefslogtreecommitdiff
path: root/i386/Makefile.in
blob: d47bcc14cc598537f45a68e436e56e773f587e35 (plain)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Makefile for i386
# Copyright 1999 Free Software Foundation, Inc.
#
# Permission to use, copy, modify and distribute this software and its
# documentation is hereby granted, provided that both the copyright
# notice and this permission notice appear in all copies of the
# software, derivative works or modified versions, and any portions
# thereof, and that both notices appear in supporting documentation.
#
# THE FREE SOFTWARE FOUNDATION ALLOWS FREE USE OF THIS SOFTWARE IN ITS
# "AS IS" CONDITION.  THE FREE SOFTWARE FOUNDATION DISCLAIMS ANY
# LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE
# USE OF THIS SOFTWARE.




# Variables from `configure'.
srcdir=@srcdir@

# Programs found by configure.
LD = @LD@
MAKE = @MAKE@

# Rules. There are few rules because Makefrag does most things in i386.
all: sysdep.o

sysdep.o: linux/linux.o $(srcdir)/configure
	rm -f $@
	$(LD) -r -o $@ linux/linux.o

linux/linux.o: linux
	cd linux && $(MAKE) all

clean:
	rm -f sysdep.o
	cd linux && $(MAKE) clean

distclean: clean
	cd linux && $(MAKE) distclean
	rm -f config.status config.log Makefile

mostlyclean: distclean
	cd linux && $(MAKE) mostlyclean

maintainer-clean: mostlyclean
	rm -f $(srcdir)/configure
	cd linux && $(MAKE) maintainer-clean

install-headers:
install-kernel:




# Autoconf support

$(srcdir)/configure: configure.in
	cd $(srcdir) && autoconf

Makefile: Makefile.in config.status
	./config.status

config.status: configure
	./config.status --recheck

vpath %.in $(srcdir)
vpath configure $(srcdir)