505
|
1 |
diff -r 5294849045d2 Makefile
|
|
2 |
--- a/Makefile Sun Aug 12 02:00:50 2007 +0530
|
|
3 |
+++ b/Makefile Sun Aug 12 02:08:39 2007 +0530
|
|
4 |
@@ -71,7 +71,7 @@ MW=
|
|
5 |
MW=
|
|
6 |
#MW=-Wtraditional -Wcast-qual -Wcast-align -Wconversion -pedantic -Wlong-long -Wimplicit -Wuninitialized -W -Wshadow -Wsign-compare -Wstrict-prototypes -Wmissing-declarations
|
|
7 |
|
|
8 |
-CFLAGS1 = -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer ${LARGEFILEFLAGS} ${MW}
|
|
9 |
+CFLAGS1 = -Wall -Wstrict-prototypes -s -O3 -fomit-frame-pointer ${LARGEFILEFLAGS} ${MW}
|
|
10 |
|
|
11 |
CC=gcc
|
|
12 |
|
|
13 |
@@ -88,8 +88,10 @@ clean:
|
|
14 |
cd regtest; /bin/sh regtest.clean
|
|
15 |
|
|
16 |
install: afio
|
|
17 |
- cp afio /usr/local/bin
|
|
18 |
- cp afio.1 /usr/share/man/man1
|
|
19 |
+ mkdir -p $(DESTDIR)/$(PREFIX)/bin
|
|
20 |
+ mkdir -p $(DESTDIR)/$(PREFIX)/share/man/man1
|
|
21 |
+ /usr/sbin/install -c $(DESTDIR)/$(PREFIX)/bin -m 0755 -u root -g bin afio
|
|
22 |
+ /usr/sbin/install -c $(DESTDIR)/$(PREFIX)/share/man/man1 -m 0644 -u root -g bin afio.1
|
|
23 |
|
|
24 |
# generate default list of -E extensions from manpage
|
|
25 |
# note: on sun, I had to change awk command below to nawk or gawk
|