home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / XAP / XFM / XFM-1.3 / XFM-1 / xfm-1.3 / Imakefile < prev    next >
Encoding:
Makefile  |  1994-05-17  |  1.4 KB  |  43 lines

  1. /*-----------------------------------------------------------------------------
  2.   Top Level Imakefile for xfm
  3.  
  4.   Created 8/3/93 by Simon Marlow (simonm@dcs.gla.ac.uk)
  5. -----------------------------------------------------------------------------*/
  6.  
  7. /* Uncomment the following line if your system has GCC but it is not used by
  8.    default */
  9. /* CC=gcc */
  10.  
  11. #define PassCDebugFlags 'CC=$(CC)'
  12. #define Subdirs xfm 
  13.  
  14. MakeSubdirs(Subdirs)
  15. MakefileSubdirs(Subdirs)
  16. CleanSubdirs(Subdirs)
  17. DependSubdirs(Subdirs)
  18. InstallSubdirs(Subdirs)
  19. InstallManSubdirs(Subdirs)
  20.  
  21. XFMLIBDIR = $(USRLIBDIR)/xfm
  22.  
  23. CppScriptTarget(xfm.install.script,xfm.install.cpp,-DLIBDIR=$(XFMLIBDIR),)
  24. InstallScript(xfm.install,$(BINDIR))
  25.  
  26. /* CppFileTarget will not work under SunOS 4.1, you might wish to replace
  27.    it by CppScriptTarget or install the appdefaults file by hand. */
  28.  
  29. CppFileTarget(Xfm.ad,Xfm.cpp,-DLIBDIR=$(XFMLIBDIR),)
  30. InstallAppDefaults(Xfm)
  31.  
  32. install::
  33.     MakeDir($(XFMLIBDIR)/dot.xfm)
  34.     $(INSTALL) -c $(INSTDATFLAGS) xfm-apps $(XFMLIBDIR)/dot.xfm
  35.     $(INSTALL) -c $(INSTDATFLAGS) xfm-tools $(XFMLIBDIR)/dot.xfm
  36.     $(INSTALL) -c $(INSTDATFLAGS) xfmrc $(XFMLIBDIR)/dot.xfm
  37.     $(INSTALL) -c $(INSTDATFLAGS) xfmdev $(XFMLIBDIR)/dot.xfm
  38.     MakeDir($(XFMLIBDIR)/bitmaps)
  39.     $(INSTALL) -c $(INSTDATFLAGS) bitmaps/""* $(XFMLIBDIR)/bitmaps
  40.     MakeDir($(XFMLIBDIR)/pixmaps)
  41.     $(INSTALL) -c $(INSTDATFLAGS) pixmaps/""* $(XFMLIBDIR)/pixmaps
  42.     
  43.