*** 1.1	1991/12/12 21:08:48
--- Makefile	1991/12/12 21:49:14
***************
*** 17,23 ****
  
  SHELL = /bin/sh
  
! CC = cc -g
  AR = ar
  RANLIB = ranlib
  
--- 17,23 ----
  
  SHELL = /bin/sh
  
! CC = cc -g -O
  AR = ar
  RANLIB = ranlib
  
***************
*** 46,51 ****
--- 46,54 ----
  # -DSTRSTR_MISSING	If you lack strstr function.
  # -DSTRTOL_MISSING	If you lack strtol function.
  
+ # LINUX
+ DEFS = -DSTPCPY_MISSING -DSTRDUP_MISSING -DUSG -DDIRENT -DSTDC_HEADERS -D_POSIX_SOURCE
+ 
  # SunOS 4.1
  #DEFS = -DDIRENT -DFS_MNTENT -DSTPCPY_MISSING 
  
***************
*** 62,68 ****
  #DEFS = -DDIRENT -DFS_STATFS -DSTPCPY_MISSING
  
  # Ultrix 4.0 and 4.1
! DEFS = -DDIRENT -DFS_GETMNT -DSTPCPY_MISSING -DSTRDUP_MISSING -DUSG
  
  # HP/UX 7.0
  #DEFS = -DVPRINTF_MISSING -DSTPCPY_MISSING -DFS_MNTENT -DUSG
--- 65,71 ----
  #DEFS = -DDIRENT -DFS_STATFS -DSTPCPY_MISSING
  
  # Ultrix 4.0 and 4.1
! #DEFS = -DDIRENT -DFS_GETMNT -DSTPCPY_MISSING -DSTRDUP_MISSING -DUSG
  
  # HP/UX 7.0
  #DEFS = -DVPRINTF_MISSING -DSTPCPY_MISSING -DFS_MNTENT -DUSG
***************
*** 94,106 ****
  DIRINSTALL = install -d
  
  # Directory in which to install `find' and `locate'.
! BINDIR=/usr/sww/bin
  
  # Directory in which to install programs to create the `locate' database.
! LIBDIR=/usr/sww/lib/find-2.1
  
  # Directory in which to install manual pages.
! MANDIR=/usr/sww/man/man1
  
  # Data file for `locate'.
  FCODES=$(LIBDIR)/find.codes
--- 97,109 ----
  DIRINSTALL = install -d
  
  # Directory in which to install `find' and `locate'.
! BINDIR=/usr/local/bin
  
  # Directory in which to install programs to create the `locate' database.
! LIBDIR=/usr/local/lib/find-2.1
  
  # Directory in which to install manual pages.
! MANDIR=/usr/local/man/man1
  
  # Data file for `locate'.
  FCODES=$(LIBDIR)/find.codes
*** 1.1	1991/12/12 21:39:29
--- locate/updatedb.sh	1991/12/12 21:40:32
***************
*** 30,36 ****
  # Directory to hold intermediate files.
  TMPDIR=/usr/tmp
  
! PATH=$LIBDIR:$BINDIR:/usr/ucb:/bin:/usr/bin export PATH
  bigrams=$TMPDIR/f.bigrams$$
  filelist=$TMPDIR/f.list$$
  errs=$TMPDIR/f.errs$$
--- 30,36 ----
  # Directory to hold intermediate files.
  TMPDIR=/usr/tmp
  
! PATH=$LIBDIR:$BINDIR:/usr/ucb:/bin:/usr/bin; export PATH
  bigrams=$TMPDIR/f.bigrams$$
  filelist=$TMPDIR/f.list$$
  errs=$TMPDIR/f.errs$$
