[607565]: Makefile.in Maximize Restore History

Download this file

Makefile.in    69 lines (52 with data), 1.6 kB

 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
# $Id: Makefile.in,v 1.10 2000/12/06 20:39:47 moz Exp $
KCFLAGS=@KCFLAGS@
MODINSTALLDIR=@MODINSTALLDIR@/oprofile
CC=@CC@
LD=@LD@
.PHONY: all install clean distclean tags
all: oprofile.o
$(MAKE) -C dae
$(MAKE) -C pp
distclean: clean
rm -f Makefile dae/Makefile pp/Makefile tags
# broken
dist:
mkdir tmpdist ; \
cd tmpdist ; \
cvs checkout oprofile ; \
cd oprofile ; \
(find -type d -name CVS | xargs rm -rf) ; \
autoconf ; \
cd .. ; \
mv oprofile oprofile-@VERSION@ ; \
tar cvfz ../oprofile-@VERSION@.tar.gz oprofile-@VERSION@ ; \
rm -rf oprofile-@VERSION@ ; \
cd .. ; \
rm -rf tmpdist \
tags:
ctags -R
install: oprofile.o
mkdir -p $(MODINSTALLDIR)
cp oprofile.o $(MODINSTALLDIR)
depmod -a
$(MAKE) -C dae install
$(MAKE) -C pp install
clean:
rm -f *.o config.status config.log config.cache
$(MAKE) -C dae clean
$(MAKE) -C pp clean
# FIXME: move NMI code into separate to allow -march=ppro for that
KCFLAGS:=-pipe -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -Wunused -O2 -march=i586 -fomit-frame-pointer -fno-strict-aliasing $(KCFLAGS)
ASMFLAGS=-D__ASSEMBLY__ -DMODULE -D__KERNEL__ -traditional
oprofile.o: oprofile_c.o oprofile_nmi.o oprofile_k.o op_events.o
ld -r -o $(G) $@ oprofile_c.o oprofile_nmi.o oprofile_k.o op_events.o
oprofile_c.o: oprofile.c oprofile.h op_ioctl.h
$(CC) $(KCFLAGS) $(G) -c -o $@ $<
oprofile_k.o: oprofile_k.c oprofile.h
$(CC) $(KCFLAGS) $(G) -c -o $@ $<
oprofile.s: oprofile.c oprofile.h
$(CC) $(KCFLAGS) $(G) -S $<
op_events.o: op_events.c
$(CC) $(KCFLAGS) $(G) -c -o $@ $<
oprofile_nmi.o: oprofile_nmi.S
$(CC) $(ASMFLAGS) -c -o $@ $<