*** Makefile.org	Mon Jan 20 21:06:28 2003
--- Makefile	Mon Jan 20 21:07:55 2003
***************
*** 14,20 ****
  #
  # top_builddir = /home/john/pilot/src/pilot-link.0.9.1
  #
! top_builddir = .
  
  ##########
  # Pick your C compiler
--- 14,20 ----
  #
  # top_builddir = /home/john/pilot/src/pilot-link.0.9.1
  #
! top_builddir = @@PREFIX@@
  
  ##########
  # Pick your C compiler
***************
*** 26,32 ****
  ##########
  # Where should I be installed?
  #
! INSTALLTOP = /usr/local
  INSTALLBIN = $(INSTALLTOP)/bin
  INSTALLMAN = $(INSTALLTOP)/man
  
--- 26,32 ----
  ##########
  # Where should I be installed?
  #
! INSTALLTOP = @@PREFIX@@
  INSTALLBIN = $(INSTALLTOP)/bin
  INSTALLMAN = $(INSTALLTOP)/man
  
***************
*** 65,72 ****
  #
  # Unless you're smarter than me, which is entirely possible. [JTL]
  #
! LIBDIR = -L$(top_builddir)
! INCDIR = -I$(top_builddir) -I/usr/include/libpisock
  CFLAGS =  -Wall -w -O -g $(INCDIR) $(DEFINES)
  SYNCAL_OBJS = syncal.o syncal_cat.c syncal_list.o syncal_dates.o\
  	syncal_reconcile.o syncal_gmt.o
--- 65,72 ----
  #
  # Unless you're smarter than me, which is entirely possible. [JTL]
  #
! LIBDIR = -L$(top_builddir)/lib
! INCDIR = -I$(top_builddir)/include
  CFLAGS =  -Wall -w -O -g $(INCDIR) $(DEFINES)
  SYNCAL_OBJS = syncal.o syncal_cat.c syncal_list.o syncal_dates.o\
  	syncal_reconcile.o syncal_gmt.o
***************
*** 90,95 ****
  install:
  	install -d $(INSTALLBIN)
  	install -d $(INSTALLMAN)/man1
! 	install -s -g root -o root -m 755 syncal $(INSTALLBIN)
  
! 	install -g root -o root -m 644 syncal.1 $(INSTALLMAN)/man1
--- 90,95 ----
  install:
  	install -d $(INSTALLBIN)
  	install -d $(INSTALLMAN)/man1
! 	install -c -s -g bin -o bin -m 755 syncal $(INSTALLBIN)
  
! 	install -c -m 644 syncal.1 $(INSTALLMAN)/man1
