home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / XAP / XFIG / TRANSFIG.2 / TRANSFIG / transfig / fig2dev / Imakefile < prev    next >
Encoding:
Makefile  |  1993-05-24  |  2.5 KB  |  77 lines

  1. #    Fig2dev : General Fig code translation program
  2. #
  3. # TransFig: Facility for Translating Fig code
  4. # Copyright (c) 1985 Supoj Sutantavibul
  5. # Copyright (c) 1991 Micah Beck
  6. #
  7. # Permission to use, copy, modify, distribute, and sell this software and its
  8. # documentation for any purpose is hereby granted without fee, provided that
  9. # the above copyright notice appear in all copies and that both that
  10. # copyright notice and this permission notice appear in supporting
  11. # documentation. The authors make no representations about the suitability 
  12. # of this software for any purpose.  It is provided "as is" without express 
  13. # or implied warranty.
  14. #
  15. # THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  16. # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
  17. # EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  18. # CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  19. # DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  20. # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  21. # PERFORMANCE OF THIS SOFTWARE.
  22. #
  23. #
  24. # to include drivers for the following languages, 
  25. # add the corresponding symbol to the DEFINES list:
  26. #
  27. # -DEPIC -DIBMGL -DLATEX -DPIC -DPICTEX -DPS -DPSTEX -DTEXTYL -DTPIC
  28. #
  29. DEFINES = -DEPIC -DIBMGL -DLATEX -DPIC -DPICTEX -DPS -DPSTEX -DTEXTYL -DTPIC
  30. DEPLIBS =
  31.  
  32. #if (defined(VaxArchitecture) && !defined(UltrixArchitecture)) || \
  33.     (defined(RtArchitecture) && !defined(AIXArchitecture)) || \
  34.     (defined(MipsArchitecture)) || defined(SequentArchitecture) || \
  35.     (defined(SunOSPlatform) && (OSMinorVersion==0))
  36.  
  37. STRSTRC=    strstr.c
  38. STRSTRO=    strstr.o
  39. #endif
  40.  
  41. #define IHaveSubdirs
  42. #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
  43.  
  44. SUBDIRS = dev
  45.  
  46. INCLUDES = -I..
  47.  
  48. SRCS = fig2dev.c getopt.c psfonts.c iso2tex.c \
  49.     arrow.c bound.c free.c read.c read1_3.c latex_line.c $(STRSTRC)
  50. OBJS = fig2dev.o getopt.o psfonts.o iso2tex.o \
  51.     arrow.o bound.o free.o read.o read1_3.o latex_line.o $(STRSTRO) \
  52.     dev/libtransfig.a
  53.  
  54. SYS_LIBRARIES = -lm
  55.  
  56. MakeSubdirs($(SUBDIRS))
  57. DependSubdirs($(SUBDIRS))
  58.  
  59. ComplexProgramTarget(fig2dev)
  60.  
  61. all:: fig2dev.man fig2ps2tex.man pic2tpic.man
  62.  
  63. InstallScript(fig2ps2tex,$(BINDIR))
  64. InstallScript(pic2tpic,$(BINDIR))
  65.  
  66. InstallManPage(fig2ps2tex,$(MANDIR))
  67. InstallManPage(pic2tpic,$(MANDIR))
  68.  
  69. fig2dev.man: ../doc/fig2dev.1
  70.     ln -s ../doc/fig2dev.1 fig2dev.man
  71.  
  72. fig2ps2tex.man: ../doc/fig2ps2tex.1
  73.     ln -s ../doc/fig2ps2tex.1 fig2ps2tex.man
  74.  
  75. pic2tpic.man: ../doc/pic2tpic.1
  76.     ln -s ../doc/pic2tpic.1 pic2tpic.man
  77.