mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-27 22:11:24 -04:00
54 lines
1.4 KiB
Plaintext
54 lines
1.4 KiB
Plaintext
$NetBSD: patch-aa,v 1.3 2010/01/29 16:14:29 joerg Exp $
|
|
|
|
--- Makefile.orig Fri Mar 12 01:00:34 1999
|
|
+++ Makefile
|
|
@@ -3,37 +3,36 @@
|
|
# Change the following to the name of your ANSI C compiler
|
|
# (normally gcc).
|
|
|
|
-CC=gcc
|
|
+# CC=gcc
|
|
|
|
# Compile/load options. Add -DNO_STRERROR to CFLAGS if _strerror
|
|
# is undefined
|
|
|
|
-CFLAGS=
|
|
-LDFLAGS=
|
|
+# 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
|
|
-
|
|
-.c.o:
|
|
- $(CC) $(CFLAGS) -c $<
|
|
+BINDIR=${PREFIX}/bin
|
|
+MANDIR=${PREFIX}/man
|
|
+CONFDIR=${PREFIX}/etc
|
|
|
|
all: efax efix
|
|
|
|
efax: efax.o efaxlib.o efaxio.o efaxos.o efaxmsg.o
|
|
$(CC) -o efax $(LDFLAGS) efax.o efaxlib.o efaxio.o efaxos.o efaxmsg.o
|
|
- strip efax
|
|
|
|
efix: efix.o efaxlib.o efaxmsg.o
|
|
$(CC) -o efix $(LDFLAGS) efix.o efaxlib.o efaxmsg.o
|
|
- strip efix
|
|
|
|
install:
|
|
- cp fax efax efix $(BINDIR)
|
|
- cp fax.1 efax.1 efix.1 $(MANDIR)/man1
|
|
+ $(BSD_INSTALL_PROGRAM) efax efix ${DESTDIR}$(BINDIR)
|
|
+ $(BSD_INSTALL_SCRIPT) fax ${DESTDIR}$(BINDIR)
|
|
+ $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(PREFIX)/share/examples/efax
|
|
+ $(BSD_INSTALL_DATA) efax.rc ${DESTDIR}$(PREFIX)/share/examples/efax
|
|
+ $(BSD_INSTALL_MAN) fax.1 efax.1 efix.1 ${DESTDIR}$(MANDIR)/man1
|
|
|
|
clean:
|
|
rm -f efax efix efax.o efix.o efaxlib.o efaxio.o efaxos.o efaxmsg.o
|