home *** CD-ROM | disk | FTP | other *** search
/ vsiftp.vmssoftware.com / VSIPUBLIC@vsiftp.vmssoftware.com.tar / FREEWARE / FREEWARE40.ZIP / pine / pico / makefile.nxt < prev    next >
Encoding:
Makefile  |  1994-04-06  |  3.0 KB  |  93 lines

  1. # $Id: makefile.nxt,v 4.2 1993/04/15 00:27:59 mikes 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. #   Copyright 1991-1993  University of Washington
  14. #
  15. #    Permission to use, copy, modify, and distribute this software and its
  16. #   documentation for any purpose and without fee to the University of
  17. #   Washington is hereby granted, provided that the above copyright notice
  18. #   appears in all copies and that both the above copyright notice and this
  19. #   permission notice appear in supporting documentation, and that the name
  20. #   of the University of Washington not be used in advertising or publicity
  21. #   pertaining to distribution of the software without specific, written
  22. #   prior permission.  This software is made available "as is", and
  23. #   THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
  24. #   WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED
  25. #   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN
  26. #   NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL,
  27. #   INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  28. #   LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT
  29. #   (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION
  30. #   WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  31. #  
  32. #   Pine and Pico are trademarks of the University of Washington.
  33. #   No commercial use of these trademarks may be made without prior
  34. #   written permission of the University of Washington.
  35. #
  36.  
  37. #
  38. # Makefile for NeXT 2.1 version of the PINE composer library and 
  39. # stand-alone editor pico.
  40. #
  41.  
  42. #includes symbol info for debugging 
  43. DASHO=        -g
  44. #for normal build
  45. #DASHO=        -O
  46.  
  47. CFLAGS=        -Dnxt -DJOB_CONTROL -DANSI -DHEBREW
  48.  
  49. # switches for library building
  50. LIBCMD=        ar
  51. LIBARGS=    ru
  52. RANLIB=        ranlib
  53.  
  54. LIBS=        -ltermcap
  55.  
  56. OFILES=        attach.o ansi.o basic.o bind.o browse.o buffer.o \
  57.         composer.o display.o file.o fileio.o line.o osdep.o \
  58.         pico.o random.o region.o search.o spell.o tcap.o window.o word.o
  59.  
  60. CFILES=        attach.c ansi.c basic.c bind.c browse.c buffer.c \
  61.         composer.c display.c file.c fileio.c line.c osdep.c \
  62.         pico.c random.c region.c search.c spell.c tcap.c window.c word.c
  63.  
  64. HFILES=        estruct.h edef.h efunc.h ebind.h pico.h osdep.h
  65.  
  66.  
  67. #
  68. # dependencies for the Unix versions of pico and libpico.a
  69. #
  70. all:        pico
  71.  
  72. osdep.c:    os_unix.c
  73.         rm -f osdep.c
  74.         cp os_unix.c osdep.c
  75.  
  76. osdep.h:    os_unix.h
  77.         rm -f osdep.h
  78.         cp os_unix.h osdep.h
  79.  
  80. libpico.a:    osdep.c osdep.h $(OFILES)
  81.         $(LIBCMD) $(LIBARGS) libpico.a $(OFILES)
  82.         $(RANLIB) libpico.a
  83.  
  84. pico:        main.c libpico.a
  85.         $(CC) $(CFLAGS) $(DASHO) main.c libpico.a $(LIBS) -o pico
  86.  
  87. .c.o:        ; $(CC) -c $(CFLAGS) $(DASHO) $*.c
  88.  
  89. $(OFILES):    $(HFILES)
  90.  
  91. clean:
  92.         rm -f pico *.a *.o *~ osdep.c osdep.h
  93.