1 # $Id: Makefile.linux,v 1.15 2006/06/04 05:07:46 paulus Exp $
3 DESTDIR = $(INSTROOT)@DESTDIR@
4 BINDIR = $(DESTDIR)/sbin
5 MANDIR = $(DESTDIR)/share/man/man8
7 CDEF1= -DTERMIOS # Use the termios structure
8 CDEF2= -DSIGTYPE=void # Standard definition
9 CDEF3= -UNO_SLEEP # Use the usleep function
10 CDEF4= -DFNDELAY=O_NDELAY # Old name value
11 CDEFS= $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4)
14 CFLAGS= $(COPTS) $(CDEFS)
24 $(CC) -c $(CFLAGS) -o chat.o chat.c
27 mkdir -p $(BINDIR) $(MANDIR)
28 $(INSTALL) -s -c chat $(BINDIR)
29 $(INSTALL) -c -m 644 chat.8 $(MANDIR)