X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=chat%2FMakefile.linux;h=1404e0b496464bf75dca6bfcc4da25c6b05d7ca4;hb=ae57a37fb6a716dddff877efde7c82a61f254c98;hp=6568cbb77f4cc4ef8215eb10ba1fa8ceab70a705;hpb=4808373207947dffebef097fe80e4f3cb9b28631;p=ppp.git diff --git a/chat/Makefile.linux b/chat/Makefile.linux index 6568cbb..1404e0b 100644 --- a/chat/Makefile.linux +++ b/chat/Makefile.linux @@ -1,4 +1,8 @@ -# $Id: Makefile.linux,v 1.9 1999/08/13 01:54:32 paulus Exp $ +# $Id: Makefile.linux,v 1.13 2004/11/03 11:51:47 paulus Exp $ + +DESTDIR = @DESTDIR@ +BINDIR = $(DESTDIR)/sbin +MANDIR = $(DESTDIR)/share/man/man8 CDEF1= -DTERMIOS # Use the termios structure CDEF2= -DSIGTYPE=void # Standard definition @@ -6,7 +10,8 @@ CDEF3= -UNO_SLEEP # Use the usleep function CDEF4= -DFNDELAY=O_NDELAY # Old name value CDEFS= $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4) -CFLAGS= -O2 -g -pipe $(CDEFS) +COPTS= -O2 -g -pipe +CFLAGS= $(COPTS) $(CDEFS) INSTALL= install @@ -21,7 +26,7 @@ chat.o: chat.c install: chat mkdir -p $(BINDIR) $(INSTALL) -s -c chat $(BINDIR) - $(INSTALL) -c -m 644 chat.8 $(MANDIR)/man8 + $(INSTALL) -c -m 644 chat.8 $(MANDIR) clean: rm -f chat.o chat *~