home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume19 / xfig / part02 / Imakefile < prev    next >
Encoding:
Makefile  |  1993-05-27  |  3.2 KB  |  78 lines

  1. #ifdef InstallManPage
  2. #undef InstallManPage
  3. #endif
  4. #define InstallManPage(file,dest)                                       @@\
  5. InstallManPageLong(Doc/file,dest,file)
  6.  
  7. # Uncomment the following if needed for DECstations running older X11R4 
  8. #INCROOT=/usr/include/mit
  9.  
  10. SYS_LIBRARIES=         -lm
  11. DEPLIBS =         XawClientDepLibs
  12. # use the following if NOT using DPS
  13. LOCAL_LIBRARIES =     XawClientLibs
  14. # use the following if using DPS, *** and add -DDPS to the DEFINES line ***
  15. #LOCAL_LIBRARIES =     -ldps XawClientLibs
  16. # use (and change) the following if you want the multi-key data base file
  17. # somewhere other than the standard X11 library directory
  18. #XFIGLIBDIR =        /usr/local/lib/X11/xfig
  19. # use this if you want the multi-key data base file in the standard X11 tree
  20. XFIGLIBDIR =        $(LIBDIR)/xfig
  21. DIR_DEFS=        -DXFIGLIBDIR=\"$(XFIGLIBDIR)\"
  22. #if (defined(VaxArchitecture) && !defined(UltrixArchitecture)) || \
  23.     (defined(RtArchitecture) && !defined(AIXArchitecture)) || \
  24.     defined(titan) || \
  25.     (defined(SunOSPlatform) && (OSMinorVersion==0))
  26. STRSTRDEFINES = -DNOSTRSTR
  27. #endif
  28. # remove -DGSBIT from the DEFINES if you DON'T want to have gs (ghostscript)
  29. # generate a preview bitmap.  If you do use ghostscript you will need 
  30. # version 2.4 or later.
  31. DEFINES =             $(STRSTRDEFINES) -DGSBIT
  32.  
  33. XFIGSRC =    d_arc.c d_arcbox.c d_box.c d_ellipse.c d_epsobj.c \
  34.         d_intspline.c d_line.c d_regpoly.c d_spline.c d_text.c \
  35.         e_addpt.c e_align.c e_arrow.c e_break.c \
  36.         e_convert.c e_copy.c e_delete.c e_deletept.c \
  37.         e_edit.c e_flip.c e_glue.c e_move.c \
  38.         e_movept.c e_rotate.c e_scale.c e_update.c \
  39.         f_load.c f_read.c f_epsobj.c \
  40.         f_readold.c f_save.c f_util.c f_xbitmap.c \
  41.         main.c mode.c object.c resources.c \
  42.         u_bound.c u_create.c u_drag.c u_draw.c \
  43.         u_elastic.c u_error.c u_fonts.c u_free.c u_geom.c \
  44.         u_list.c u_markers.c u_pan.c u_print.c \
  45.         u_redraw.c u_search.c u_translate.c u_undo.c \
  46.         w_canvas.c w_cmdpanel.c w_cursor.c w_dir.c w_drawprim.c \
  47.         w_export.c w_file.c w_fontbits.c w_fontpanel.c w_grid.c \
  48.         w_icons.c w_indpanel.c w_modepanel.c w_mousefun.c w_msgpanel.c \
  49.         w_print.c w_rottext.c w_rulers.c w_setup.c w_util.c w_zoom.c
  50.  
  51. XFIGOBJ =    d_arc.o d_arcbox.o d_box.o d_ellipse.o d_epsobj.o \
  52.         d_intspline.o d_line.o d_regpoly.o d_spline.o d_text.o \
  53.         e_addpt.o e_align.o e_arrow.o e_break.o \
  54.         e_convert.o e_copy.o e_delete.o e_deletept.o \
  55.         e_edit.o e_flip.o e_glue.o e_move.o \
  56.         e_movept.o e_rotate.o e_scale.o e_update.o \
  57.         f_load.o f_read.o f_epsobj.o \
  58.         f_readold.o f_save.o f_util.o f_xbitmap.o \
  59.         main.o mode.o object.o resources.o \
  60.         u_bound.o u_create.o u_drag.o u_draw.o \
  61.         u_elastic.o u_error.o u_fonts.o u_free.o u_geom.o \
  62.         u_list.o u_markers.o u_pan.o u_print.o \
  63.         u_redraw.o u_search.o u_translate.o u_undo.o \
  64.         w_canvas.o w_cmdpanel.o w_cursor.o w_dir.o w_drawprim.o \
  65.         w_export.o w_file.o w_fontbits.o w_fontpanel.o w_grid.o \
  66.         w_icons.o w_indpanel.o w_modepanel.o w_mousefun.o w_msgpanel.o \
  67.         w_print.o w_rottext.o w_rulers.o w_setup.o w_util.o w_zoom.o
  68.  
  69. SRCS = $(XFIGSRC)
  70. OBJS = $(XFIGOBJ)
  71.  
  72. ComplexProgramTarget(xfig)
  73. MakeDirectories(install,$(XFIGLIBDIR))
  74. InstallNonExec(CompKeyDB,$(XFIGLIBDIR))
  75. InstallAppDefaults(Fig)
  76. InstallAppDefaults(Fig-color)
  77. SpecialObjectRule(w_canvas.o, $(ICONFIGFILES), $(DIR_DEFS))
  78.