1remove libasync.o and libbif.o from deps
2
3there are no implicit rules to build them and they get wrong CFLAGS
4when compiled with implicit rule.
5
6They are built as part of iozone_linux.o target anyway
7
8Only fixed linux targets for now
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11Upstream-Status: Pending
12
13---
14 current/makefile | 18 +++++++++---------
15 1 file changed, 9 insertions(+), 9 deletions(-)
16
17diff --git current/makefile current/makefile
18index 3a54701..7071427 100644
19--- current/makefile
20+++ current/makefile
21@@ -171,7 +171,7 @@ hpux_no_ansi:	iozone_hpux_no.o  libbif.o
22 #
23 # GNU 'C' compiler Linux build with threads, largefiles, async I/O
24 #
25-linux:	iozone_linux.o libasync.o libbif.o fileop_linux.o pit_server.o
26+linux:	iozone_linux.o fileop_linux.o pit_server.o
27 	$(CC)  -O3 $(CFLAGS) iozone_linux.o libasync.o libbif.o -lpthread \
28 		-lrt -o iozone
29 	$(CC)  -O3 $(CFLAGS) -Dlinux fileop_linux.o -o fileop
30@@ -180,7 +180,7 @@ linux:	iozone_linux.o libasync.o libbif.o fileop_linux.o pit_server.o
31 #
32 # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O
33 #
34-linux-powerpc: iozone_linux-powerpc.o  libbif.o libasync.o fileop_linux-ppc.o pit_server.o
35+linux-powerpc: iozone_linux-powerpc.o fileop_linux-ppc.o pit_server.o
36 	$(CC) -O3 $(LDFLAGS) iozone_linux-powerpc.o libasync.o \
37 		libbif.o -lpthread  -lrt -o iozone
38 	$(CC)  -O3 -Dlinux fileop_linux-ppc.o -o fileop
39@@ -188,7 +188,7 @@ linux-powerpc: iozone_linux-powerpc.o  libbif.o libasync.o fileop_linux-ppc.o pi
40 #
41 # GNU 'C' compiler Linux build for sparc chip with threads, largefiles, async I/O
42 #
43-linux-sparc: iozone_linux-sparc.o  libbif.o libasync.o fileop_linux.o pit_server.o
44+linux-sparc: iozone_linux-sparc.o fileop_linux.o pit_server.o
45 	$(CC) -O3 $(LDFLAGS) iozone_linux-sparc.o libasync.o libbif.o \
46 		-lpthread -lrt -o iozone
47 	$(CC) -O3 -Dlinux fileop_linux.o -o fileop
48@@ -197,7 +197,7 @@ linux-sparc: iozone_linux-sparc.o  libbif.o libasync.o fileop_linux.o pit_server
49 #
50 # GNU 'C' compiler Linux build with threads, largefiles, async I/O
51 #
52-linux-ia64:	iozone_linux-ia64.o  libbif.o libasync.o fileop_linux-ia64.o pit_server.o
53+linux-ia64:	iozone_linux-ia64.o fileop_linux-ia64.o pit_server.o
54 	$(CC) -O3 $(LDFLAGS) iozone_linux-ia64.o libbif.o libasync.o \
55 		-lrt -lpthread -o iozone
56 	$(CC)  -O3 -Dlinux fileop_linux-ia64.o -o fileop
57@@ -206,7 +206,7 @@ linux-ia64:	iozone_linux-ia64.o  libbif.o libasync.o fileop_linux-ia64.o pit_ser
58 #
59 # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O
60 #
61-linux-powerpc64: iozone_linux-powerpc64.o  libbif.o libasync.o fileop_linux-ppc64.o pit_server-linux-powerpc64.o
62+linux-powerpc64: iozone_linux-powerpc64.o fileop_linux-ppc64.o pit_server-linux-powerpc64.o
63 	$(CC) -O3 -Dunix -DHAVE_ANSIC_C -DSHARED_MEM -DASYNC_IO \
64 		-D_LARGEFILE64_SOURCE -Dlinux \
65 		iozone_linux-powerpc64.o libasync.o libbif.o -lpthread \
66@@ -217,7 +217,7 @@ linux-powerpc64: iozone_linux-powerpc64.o  libbif.o libasync.o fileop_linux-ppc6
67 #
68 # GNU 'C' compiler Linux build with threads, largefiles, async I/O
69 #
70-linux-arm:	iozone_linux-arm.o  libbif.o libasync.o fileop_linux-arm.o pit_server.o
71+linux-arm:	iozone_linux-arm.o fileop_linux-arm.o pit_server.o
72 	$(CC) -O3 $(LDFLAGS) iozone_linux-arm.o libbif.o libasync.o \
73 		-lrt -lpthread -o iozone
74 	$(CC) -O3 -Dlinux fileop_linux-arm.o -o fileop
75@@ -249,7 +249,7 @@ endif
76 #
77 # GNU 'C' compiler Linux build with threads, largefiles, async I/O
78 #
79-linux-AMD64:	iozone_linux-AMD64.o  libbif.o libasync.o fileop_linux-AMD64.o pit_server.o
80+linux-AMD64:	iozone_linux-AMD64.o fileop_linux-AMD64.o pit_server.o
81 	$(CC)  -O3 $(LDFLAGS) iozone_linux-AMD64.o libbif.o libasync.o \
82 		-lrt -lpthread -o iozone
83 	$(CC)  -O3 -Dlinux fileop_linux-AMD64.o -o fileop
84@@ -258,7 +258,7 @@ linux-AMD64:	iozone_linux-AMD64.o  libbif.o libasync.o fileop_linux-AMD64.o pit_
85 #
86 # GNU 'C' compiler Linux build with S/390, threads, largfiles, async I/O
87 #
88-linux-S390:	iozone_linux-s390.o libbif.o libasync.o fileop_linux-s390.o pit_server.o
89+linux-S390:	iozone_linux-s390.o fileop_linux-s390.o pit_server.o
90 	$(CC)  -O2 $(LDFLAGS) -lpthread -lrt iozone_linux-s390.o \
91 		libbif.o libasync.o -o iozone
92 	$(CC)  -O3 -Dlinux fileop_linux-s390.o -o fileop
93@@ -267,7 +267,7 @@ linux-S390:	iozone_linux-s390.o libbif.o libasync.o fileop_linux-s390.o pit_serv
94 #
95 # GNU 'C' compiler Linux build with S/390, threads, largfiles, async I/O
96 #
97-linux-S390X:	iozone_linux-s390x.o libbif.o libasync.o fileop_linux-s390x.o pit_server.o
98+linux-S390X:	iozone_linux-s390x.o fileop_linux-s390x.o pit_server.o
99 	$(CC)  -O2 $(LDFLAGS) -lpthread -lrt iozone_linux-s390x.o \
100 		libbif.o libasync.o -o iozone
101 	$(CC)  -O3 -Dlinux fileop_linux-s390x.o -o fileop
102--
1032.25.1
104
105