look for __sym__ as well as sym
[ppp.git] / chat / Makefile.linux
index d46583fbb05f5445bc5ad595da2e7c3f43550764..ca2531c2e7b46d007c68c27bebbdc39576d05c4c 100644 (file)
@@ -1,14 +1,14 @@
-#      $Id: Makefile.linux,v 1.1 1995/04/28 05:26:48 paulus Exp $
+#      $Id: Makefile.linux,v 1.3 1995/06/30 01:58:21 paulus Exp $
 
-BINDIR=/usr/etc
+BINDIR=/usr/lib/ppp
+MANDIR=/usr/man
 
 CDEF1= -DTERMIOS                       # Use the termios structure
 CDEF2= -DPIDSTRING                     # I like ascii pid values
-CDEF3= -DLOCK_DIR=\"/usr/spool/uucp\"  # Directory for lock file
-CDEF4= -DSIGTYPE=void                  # Standard definition
-CDEF5= -UNO_SLEEP                      # Use the usleep function
-CDEF6= -DFNDELAY=O_NDELAY              # Old name value
-CDEFS= $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4) $(CDEF5) $(CDEF6)
+CDEF3= -DSIGTYPE=void                  # Standard definition
+CDEF4= -UNO_SLEEP                      # Use the usleep function
+CDEF5= -DFNDELAY=O_NDELAY              # Old name value
+CDEFS= $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4) $(CDEF5)
 
 CFLAGS=        -O2 -N $(CDEFS)
 
@@ -21,7 +21,9 @@ chat.o:       chat.c
        $(CC) -c $(CFLAGS) -o chat.o chat.c
 
 install: chat
+       mkdir -p $(BINDIR)
        install -c chat $(BINDIR)
+       install -c chat.8 $(MANDIR)/man8
 
 clean:
        rm -f chat.o chat *~