home *** CD-ROM | disk | FTP | other *** search
/ ftp.uv.es / 2014.11.ftp.uv.es.tar / ftp.uv.es / pub / unix / pine4.10.tar.gz / pine4.10.tar / pine4.10 / pico / makefile.3b1 < prev    next >
Makefile  |  1998-07-22  |  2KB  |  95 lines

  1. ## $Id: makefile.3b1,v 1.9 1998/07/22 19:37:42 hubert Exp $
  2. #
  3. #   Michael Seibel
  4. #   Networks and Distributed Computing
  5. #   Computing and Communications
  6. #   University of Washington
  7. #   Administration Builiding, AG-44
  8. #   Seattle, Washington, 98195, USA
  9. #   Internet: mikes@cac.washington.edu
  10. #
  11. #   Please address all bugs and comments to "pine-bugs@cac.washington.edu"
  12. #
  13. #
  14. #   Pine and Pico are registered trademarks of the University of Washington.
  15. #   No commercial use of these trademarks may be made without prior written
  16. #   permission of the University of Washington.
  17. #
  18. #   Pine, Pico, and Pilot software and its included text are Copyright
  19. #   1989-1998 by the University of Washington.
  20. #
  21. #   The full text of our legal notices is contained in the file called
  22. #   CPYRIGHT, included with this distribution.
  23. #
  24.  
  25. #
  26. # Makefile for Convergent Technologies made for AT&T 3b1 and 7300 computers
  27. # version of the PINE composer library and stand-alone editor pico.
  28. #
  29. # Port Contributor: Robert Lewis <robertle@sco.com>
  30. #
  31.  
  32. include $(MAKEINC)/Makepre.h
  33.  
  34. RM=    rm -f
  35. LN=    ln -s
  36. MAKE=    make
  37. OPTIMIZE= # -O2
  38. PROFILE=  # -pg
  39. DEBUG=    # -g -DDEBUG
  40.  
  41. STDCFLAGS=    -Dct -DMOUSE
  42. CFLAGS=        $(OPTIMIZE) $(PROFILE) $(DEBUG) $(EXTRACFLAGS) $(STDCFLAGS)
  43.  
  44. # switches for library building
  45. LIBCMD=        ar
  46. LIBARGS=    ru
  47. RANLIB=        :
  48.  
  49. LIBS=        $(EXTRALIBES) -ltermcap
  50.  
  51. OFILES=        attach.o basic.o bind.o browse.o buffer.o \
  52.         composer.o display.o file.o fileio.o line.o pico_os.o \
  53.         pico.o random.o region.o search.o \
  54.         window.o word.o
  55.  
  56. HFILES=        headers.h estruct.h edef.h efunc.h pico.h os.h
  57.  
  58. #
  59. # dependencies for the Unix versions of pico and libpico.a
  60. #
  61. all:        pico pilot
  62. pico pilot:    libpico.a
  63.  
  64. pico:        main.o
  65.         $(LD) $(LDFLAGS) -s libpico.a $(SHAREDLIB) -o pico
  66. #        $(CC) $(CFLAGS) main.o libpico.a $(LIBS) -o pico
  67.  
  68. pilot:        pilot.o
  69.         $(LD) $(LDFLAGS) -s libpico.a $(SHAREDLIB) -o pilot
  70. #        $(CC) $(CFLAGS) pilot.o libpico.a $(LIBS) -o pilot
  71.  
  72. libpico.a:    $(OFILES)
  73.         $(LIBCMD) $(LIBARGS) libpico.a $(OFILES)
  74.         $(RANLIB) libpico.a
  75.  
  76. clean:
  77.         rm -f *.a *.o *~ pico_os.c os.h pico pilot
  78.         cd osdep; $(MAKE) clean; cd ..
  79.  
  80. os.h:        osdep/os-3b1.h
  81.         $(RM) os.h
  82.         $(LN) osdep/os-3b1.h os.h
  83.  
  84. pico_os.c:    osdep/os-3b1.c
  85.         $(RM) pico_os.c
  86.         $(LN) osdep/os-3b1.c pico_os.c
  87.  
  88. $(OFILES) main.o pilot.o:    $(HFILES)
  89. pico.o:                ebind.h
  90.  
  91. osdep/os-3b1.c:    osdep/header osdep/unix osdep/read.sel osdep/raw.io \
  92.         osdep/spell.unx osdep/term.cap \
  93.         osdep/os-3b1.ic
  94.         cd osdep; $(MAKE) includer os-3b1.c; cd ..
  95.