81ca4f3918
chown)
41 lines
1 KiB
Text
41 lines
1 KiB
Text
--- Makefile.orig Wed Jun 28 19:01:22 2000
|
|
+++ Makefile Sun Oct 20 03:06:13 2002
|
|
@@ -3,20 +3,17 @@
|
|
# Change the following to the name of your ANSI C compiler
|
|
# (normally gcc).
|
|
|
|
-CC=gcc
|
|
+CC?=cc
|
|
|
|
# Compile/load options. Add -DNO_STRERROR to CFLAGS if _strerror
|
|
# is undefined
|
|
|
|
-CFLAGS=
|
|
-LDFLAGS=
|
|
-
|
|
# Change the following to the destination directories for
|
|
# binaries and man pages. Probably /usr/bin and /usr/man on
|
|
# Linux, /usr/local/{bin,man} on other systems.
|
|
|
|
-BINDIR=/usr/bin
|
|
-MANDIR=/usr/man
|
|
+BINDIR=$(PREFIX)/bin
|
|
+MANDIR=$(PREFIX)/man
|
|
|
|
.c.o:
|
|
$(CC) $(CFLAGS) -c $<
|
|
@@ -32,11 +29,9 @@
|
|
strip efix
|
|
|
|
install:
|
|
- cp fax efax efix $(BINDIR)
|
|
- chmod 755 $(BINDIR)/fax $(BINDIR)/efax $(BINDIR)/efix
|
|
- cp fax.1 efax.1 efix.1 $(MANDIR)/man1
|
|
- chmod 644 $(MANDIR)/man1/fax.1 $(MANDIR)/man1/efax.1 \
|
|
- $(MANDIR)/man1/efix.1
|
|
+ $(INSTALL_PROGRAM) efax efix $(BINDIR)
|
|
+ $(INSTALL_SCRIPT) fax $(BINDIR)
|
|
+ $(INSTALL_DATA) fax.1 efax.1 efix.1 $(MANDIR)/man1
|
|
|
|
clean:
|
|
rm -f efax efix efax.o efix.o efaxlib.o efaxio.o efaxos.o efaxmsg.o
|