home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / OPENSTEP / UNIX / Utilities / rsync-1.6.3-MIH / src / Makefile < prev    next >
Encoding:
Makefile  |  1997-09-29  |  1.1 KB  |  51 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile for rsync. This is processed by configure to produce the final
  3. # Makefile
  4.  
  5. INSTALL_BIN=/usr/local/bin
  6. INSTALL_MAN=/usr/local/man
  7.  
  8. CCOPTFLAGS =      -O -arch m68k -arch sparc -arch i386
  9.  
  10. LIBS=
  11. CC=cc $(CCOPTFLAGS)
  12.  
  13. INSTALLCMD=/usr/bin/install -c
  14.  
  15. SRC=.
  16. SHELL=/bin/sh
  17.  
  18.  
  19. .SUFFIXES:
  20. .SUFFIXES: .c .o
  21.  
  22. LIBOBJ=lib/getopt.o lib/fnmatch.o lib/zlib.o
  23. OBJS1=rsync.o exclude.o util.o md4.o main.o checksum.o match.o 
  24. OBJS=$(OBJS1) flist.o io.o compat.o hlink.o token.o $(LIBOBJ)
  25.  
  26. .c.o:
  27.     $(CC) $(CFLAGS) -c $*.c -o $*.o
  28.  
  29. all: rsync
  30.  
  31. install: all
  32.     ${INSTALLCMD} -m 755 rsync ${INSTALL_BIN}
  33.     ${INSTALLCMD} -m 644 rsync.1 ${INSTALL_MAN}/man1
  34.  
  35. rsync: $(OBJS) 
  36.     $(CC) $(CFLAGS) -o rsync $(OBJS) $(LIBS)
  37.  
  38. proto:
  39.     cat *.c | awk -f mkproto.awk > proto.h
  40.  
  41. clean:
  42.     rm -f *~ $(OBJS) rsync config.cache config.log config.status
  43.  
  44. dist: 
  45.     tar --exclude-from .ignore -czf dist.tar.gz .
  46.     -mkdir rsync-$(VERSION)
  47.     (cd rsync-$(VERSION) ; tar xzf ../dist.tar.gz)
  48.     tar -czf rsync-$(VERSION).tar.gz rsync-$(VERSION)
  49.     rm -f dist.tar.gz
  50.     echo rsync-$(VERSION) >> .cvsignore
  51.