1998-12-08 18:43:04 +00:00
|
|
|
--- Makefile.orig Tue Sep 29 04:13:19 1998
|
|
|
|
+++ Makefile Wed Dec 9 01:30:18 1998
|
|
|
|
@@ -26,7 +26,7 @@
|
1995-10-04 17:29:14 +00:00
|
|
|
c = -DHAVEMEMCMP
|
|
|
|
## Define DEFFMTCMD to being how to format the media you use the most
|
|
|
|
## This is the DEFault FoRMat CoManD.
|
1997-01-06 08:56:49 +00:00
|
|
|
-d = -DDEFFMTCMD='"fdformat /dev/fd0H1440"'
|
1998-12-08 18:43:04 +00:00
|
|
|
+d = -DDEFFMTCMD='"/usr/bin/fdformat -f 1440 /dev/fd0.1440"'
|
1995-10-04 17:29:14 +00:00
|
|
|
## Define LONGZFILE if you want .Z to be tagged on the end of a 14 char
|
|
|
|
## file name (or longer for BSD) in the archive when the file is compressed
|
|
|
|
#e = -DLONGZFILE
|
1998-12-08 18:43:04 +00:00
|
|
|
@@ -43,6 +43,11 @@
|
1997-01-06 08:56:49 +00:00
|
|
|
|
|
|
|
g = -DHAVEFNMATCH
|
|
|
|
|
1998-12-08 18:43:04 +00:00
|
|
|
+## Define HAVE_PARAM_H if your system has sys/param.h. This is used for BSD
|
1997-01-06 08:56:49 +00:00
|
|
|
+# detection.
|
|
|
|
+
|
1998-12-08 18:43:04 +00:00
|
|
|
+h = -DHAVE_PARAM_H
|
1997-01-06 08:56:49 +00:00
|
|
|
+
|
|
|
|
# fnmatch() is in the gnu C library, so it is directly available on
|
|
|
|
# Linux. If your system (e.g. SCO) does not have the gnu C library,
|
|
|
|
# unpack the archive gnu.fnmatch.tar.gz and uncomment the following
|
1998-12-08 18:43:04 +00:00
|
|
|
@@ -55,14 +60,15 @@
|
1995-10-04 17:29:14 +00:00
|
|
|
# redistribute afio executables with this library linked in.
|
|
|
|
|
1998-12-08 18:43:04 +00:00
|
|
|
#CFLAGS1 = -ggdb
|
|
|
|
-CFLAGS1 = -Wformat -g -O2 -fomit-frame-pointer
|
|
|
|
+#FLAGS1 = -Wformat -g -O2 -fomit-frame-pointer
|
|
|
|
#CFLAGS1 = -Wformat -g -fomit-frame-pointer
|
|
|
|
+CFLAGS1 = -fomit-frame-pointer -fno-strength-reduce
|
|
|
|
|
1995-10-04 17:29:14 +00:00
|
|
|
|
|
|
|
CC=gcc
|
|
|
|
|
|
|
|
|
1997-01-06 08:56:49 +00:00
|
|
|
-CFLAGS = ${CFLAGS1} $1 $2 $3 $4 $5 $6 $7 $8 $9 $a $b $c $d $e $f $g $I
|
1998-12-08 18:43:04 +00:00
|
|
|
+CFLAGS += ${CFLAGS1} $1 $2 $3 $4 $5 $6 $7 $8 $9 $a $b $c $d $e $f $g $h $I
|
|
|
|
LDFLAGS = -s
|
1995-10-04 17:29:14 +00:00
|
|
|
|
|
|
|
afio : afio.o compfile.o exten.o match.o $M
|
1998-12-08 18:43:04 +00:00
|
|
|
@@ -72,8 +78,8 @@
|
1995-10-04 17:29:14 +00:00
|
|
|
rm -f *.o afio
|
|
|
|
|
|
|
|
install: afio
|
|
|
|
- cp afio /usr/bin
|
|
|
|
- cp afio.1 /usr/man/man1
|
1998-12-08 18:43:04 +00:00
|
|
|
+ install -cs -o root -g wheel afio ${PREFIX}/bin
|
|
|
|
+ install -c -o root -g wheel afio.1 ${PREFIX}/man/man1
|
|
|
|
|
1995-10-04 17:29:14 +00:00
|
|
|
|
1998-12-08 18:43:04 +00:00
|
|
|
afio.o : afio.h patchlevel.h
|